Kanban / timesheet update
This commit is contained in:
@@ -34,7 +34,7 @@ class InMemoryTimeEntryRepository implements TimeEntryRepository
|
||||
public function save(TimeEntry $entry): TimeEntry
|
||||
{
|
||||
$id = $entry->id() ?? $this->nextId++;
|
||||
$this->entries[$id] = TimeEntry::reconstitute($id, $entry->userId(), $entry->taskId(), $entry->jobId(), $entry->workTypeId(), $entry->workedOn(), $entry->hours(), $entry->note(), $entry->approvedBy(), $entry->approvedAt(), $entry->billingExportId());
|
||||
$this->entries[$id] = TimeEntry::reconstitute($id, $entry->userId(), $entry->taskId(), $entry->jobId(), $entry->workTypeId(), $entry->workedOn(), $entry->hours(), $entry->note(), $entry->approvedBy(), $entry->approvedAt(), $entry->billingExportId(), $entry->billingModel(), $entry->internalComment());
|
||||
|
||||
return clone $this->entries[$id];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user