mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Update DocumentTransformer.php
This commit is contained in:
parent
671b3ba02a
commit
7073343756
@ -14,6 +14,7 @@ class DocumentTransformer extends EntityTransformer
|
||||
'type' => $document->type,
|
||||
'invoice_id' => isset($document->invoice->public_id) ? (int) $document->invoice->public_id : null,
|
||||
'expense_id' => isset($document->expense->public_id) ? (int) $document->expense->public_id : null,
|
||||
'updated_at' => $this->getTimestamp($account->updated_at),
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user