Fix for invoice transformer

This commit is contained in:
Hillel Coren 2019-02-28 09:27:19 +02:00
parent 6c1bf7534a
commit ef3d1cb966

View File

@ -133,7 +133,7 @@ class InvoiceTransformer extends EntityTransformer
'is_quote' => (bool) $invoice->isType(INVOICE_TYPE_QUOTE), // Temp to support mobile app
'is_public' => (bool) $invoice->is_public,
'filename' => $invoice->getFileName(),
'invoice_design_id' => $invoice->invoice_design_id,
'invoice_design_id' => (int) $invoice->invoice_design_id,
]);
}
}