mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Add invoice filename to tranformer
This commit is contained in:
parent
671f2c0fc9
commit
7459d516cf
@ -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…
Reference in New Issue
Block a user