1
0
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:
Hillel Coren 2018-05-07 22:55:26 +03:00
parent 671f2c0fc9
commit 7459d516cf

View File

@ -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(),
]);
}
}