Add fill_products to API
This commit is contained in:
parent
e8142a9067
commit
84f7d6d765
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ class UserAccountTransformer extends EntityTransformer
|
|||
* @SWG\Property(property="invoice_labels", type="string", example="Labels")
|
||||
* @SWG\Property(property="show_item_taxes", type="boolean", example=false)
|
||||
* @SWG\Property(property="military_time", type="boolean", example=false)
|
||||
* @SWG\Property(property="fill_products", type="boolean", example=false)
|
||||
* @SWG\Property(property="tax_name1", type="string", example="VAT")
|
||||
* @SWG\Property(property="tax_name2", type="string", example="Upkeep")
|
||||
* @SWG\Property(property="tax_rate1", type="number", format="float", example="17.5")
|
||||
|
|
@ -168,6 +169,7 @@ class UserAccountTransformer extends EntityTransformer
|
|||
'invoice_labels' => $account->invoice_labels ?: '',
|
||||
'show_item_taxes' => (bool) $account->show_item_taxes,
|
||||
'military_time' => (bool) $account->military_time,
|
||||
'fill_products' => (bool) $account->fill_products,
|
||||
'tax_name1' => $account->tax_name1 ?: '',
|
||||
'tax_rate1' => (float) $account->tax_rate1,
|
||||
'tax_name2' => $account->tax_name2 ?: '',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue