1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix to support mobile app

This commit is contained in:
Hillel Coren 2016-05-29 14:22:25 +03:00
parent c254544b19
commit 59d0a1cb80
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ sudo: true
php:
- 5.5.9
- 5.6
# - 5.6
# - 5.6
# - 7.0
# - hhvm

View File

@ -119,6 +119,7 @@ class InvoiceTransformer extends EntityTransformer
'quote_invoice_id' => (int) $invoice->quote_invoice_id,
'custom_text_value1' => $invoice->custom_text_value1,
'custom_text_value2' => $invoice->custom_text_value2,
'is_quote' => (bool) $invoice->isType(INVOICE_TYPE_QUOTE), // Temp to support mobile app
]);
}
}