mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Fix to support mobile app
This commit is contained in:
parent
c254544b19
commit
59d0a1cb80
@ -4,7 +4,7 @@ sudo: true
|
||||
|
||||
php:
|
||||
- 5.5.9
|
||||
- 5.6
|
||||
# - 5.6
|
||||
# - 5.6
|
||||
# - 7.0
|
||||
# - hhvm
|
||||
|
@ -34,7 +34,7 @@ class InvoiceTransformer extends EntityTransformer
|
||||
public function __construct($account = null, $serializer = null, $client = null)
|
||||
{
|
||||
parent::__construct($account, $serializer);
|
||||
|
||||
|
||||
$this->client = $client;
|
||||
}
|
||||
|
||||
@ -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
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user