mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for invoice transformer
This commit is contained in:
parent
6c1bf7534a
commit
ef3d1cb966
@ -133,7 +133,7 @@ class InvoiceTransformer extends EntityTransformer
|
|||||||
'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(),
|
'filename' => $invoice->getFileName(),
|
||||||
'invoice_design_id' => $invoice->invoice_design_id,
|
'invoice_design_id' => (int) $invoice->invoice_design_id,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user