Document form currency sort..
This commit is contained in:
parent
9493c426d0
commit
c4ec9a867b
@ -289,9 +289,11 @@ abstract class Form extends Component
|
|||||||
|
|
||||||
$this->model = ! empty($model) ? $model : $document;
|
$this->model = ! empty($model) ? $model : $document;
|
||||||
$this->document = $this->model;
|
$this->document = $this->model;
|
||||||
$this->currencies = $this->getCurrencies($currencies);
|
|
||||||
$this->currency = $this->getCurrency($document, $currency, $currency_code);
|
|
||||||
$this->currency_code = ! empty($this->currency) ? $this->currency->code : default_currency();
|
$this->currency_code = ! empty($this->currency) ? $this->currency->code : default_currency();
|
||||||
|
$this->currency = $this->getCurrency($document, $currency, $currency_code);
|
||||||
|
$this->currencies = $this->getCurrencies($currencies);
|
||||||
|
|
||||||
$this->taxes = Tax::enabled()->orderBy('name')->get()->pluck('title', 'id');
|
$this->taxes = Tax::enabled()->orderBy('name')->get()->pluck('title', 'id');
|
||||||
|
|
||||||
/* -- Content Start -- */
|
/* -- Content Start -- */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user