mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04: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,
|
'custom_text_value2' => $invoice->custom_text_value2,
|
||||||
'is_quote' => (bool) $invoice->isType(INVOICE_TYPE_QUOTE), // Temp to support mobile app
|
'is_quote' => (bool) $invoice->isType(INVOICE_TYPE_QUOTE), // Temp to support mobile app
|
||||||
'is_public' => (bool) $invoice->is_public,
|
'is_public' => (bool) $invoice->is_public,
|
||||||
|
'filename' => $invoice->getFileName(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user