diff --git a/app/Ninja/Transformers/UserAccountTransformer.php b/app/Ninja/Transformers/UserAccountTransformer.php index aed350f22..3db2e14f9 100644 --- a/app/Ninja/Transformers/UserAccountTransformer.php +++ b/app/Ninja/Transformers/UserAccountTransformer.php @@ -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 ?: '',