Add invoice filename to tranformer
This commit is contained in:
parent
258431bba4
commit
5fad8fea90
1 changed files with 1 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ class InvoiceTransformer extends EntityTransformer
|
|||
'custom_text_value2' => $invoice->custom_text_value2,
|
||||
'is_quote' => (bool) $invoice->isType(INVOICE_TYPE_QUOTE), // Temp to support mobile app
|
||||
'is_public' => (bool) $invoice->is_public,
|
||||
'filename' => $invoice->getFileName(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue