mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix product custom fields/default tax auto-complete with quotes
This commit is contained in:
parent
e617e92603
commit
3d953b3904
@ -98,7 +98,7 @@ class QuoteController extends BaseController
|
|||||||
return [
|
return [
|
||||||
'entityType' => ENTITY_QUOTE,
|
'entityType' => ENTITY_QUOTE,
|
||||||
'account' => $account,
|
'account' => $account,
|
||||||
'products' => Product::scope()->orderBy('id')->get(['product_key', 'notes', 'cost', 'qty']),
|
'products' => Product::scope()->with('default_tax_rate')->orderBy('product_key')->get(),
|
||||||
'taxRateOptions' => $account->present()->taxRateOptions,
|
'taxRateOptions' => $account->present()->taxRateOptions,
|
||||||
'defaultTax' => $account->default_tax_rate,
|
'defaultTax' => $account->default_tax_rate,
|
||||||
'countries' => Cache::get('countries'),
|
'countries' => Cache::get('countries'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user