mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 04:02:15 +01:00
Added is_imported flag to time entries
This commit is contained in:
committed by
Constantin Graf
parent
802d9558a3
commit
20f9b344f6
@@ -79,6 +79,7 @@ class ClockifyTimeEntriesImporter extends DefaultImporter
|
||||
], [
|
||||
'client_id' => $clientId,
|
||||
'color' => $this->colorService->getRandomColor(),
|
||||
'is_billable' => false,
|
||||
]);
|
||||
}
|
||||
$taskId = null;
|
||||
@@ -105,6 +106,7 @@ class ClockifyTimeEntriesImporter extends DefaultImporter
|
||||
}
|
||||
$timeEntry->billable = $record['Billable'] === 'Yes';
|
||||
$timeEntry->tags = $this->getTags($record['Tags']);
|
||||
$timeEntry->is_imported = true;
|
||||
|
||||
// Start
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user