mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
bug fixes for taxes (#3235)
This commit is contained in:
parent
8c7f4ab09f
commit
67da87b94f
@ -35,7 +35,7 @@ class TaskTransformer extends EntityTransformer
|
|||||||
return [
|
return [
|
||||||
'id' => (string) $this->encodePrimaryKey($task->id),
|
'id' => (string) $this->encodePrimaryKey($task->id),
|
||||||
'description' => $task->description ?: '',
|
'description' => $task->description ?: '',
|
||||||
// 'duration' => $task->getDuration() ?: 0,
|
'duration' => 0,
|
||||||
'updated_at' => (int)$task->updated_at,
|
'updated_at' => (int)$task->updated_at,
|
||||||
'archived_at' => (int)$task->deleted_at,
|
'archived_at' => (int)$task->deleted_at,
|
||||||
'invoice_id' => $this->encodePrimaryKey($task->invoice_id),
|
'invoice_id' => $this->encodePrimaryKey($task->invoice_id),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user