Change currency money group issue solved.
This commit is contained in:
		@@ -79,7 +79,7 @@
 | 
			
		||||
                                                <strong>{{ trans('bills.sub_total') }}</strong>
 | 
			
		||||
                                            </td>
 | 
			
		||||
                                            <td class="text-right border-bottom-0 long-texts">
 | 
			
		||||
                                                {{ Form::moneyGroup('sub_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.sub', 'currency' => $currency, 'dynamic-currency' => 'currency', 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                {{ Form::moneyGroup('sub_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.sub', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                <span id="sub-total" v-if="totals.sub" v-html="totals.sub"></span>
 | 
			
		||||
                                                <span v-else>@money(0, $currency->code, true)</span>
 | 
			
		||||
                                            </td>
 | 
			
		||||
@@ -130,7 +130,7 @@
 | 
			
		||||
                                                </el-popover>
 | 
			
		||||
                                            </td>
 | 
			
		||||
                                            <td class="text-right border-bottom-0">
 | 
			
		||||
                                                {{ Form::moneyGroup('discount_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.discount', 'currency' => $currency, 'dynamic-currency' => 'currency', 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                {{ Form::moneyGroup('discount_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.discount', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                <span id="discount-total" v-if="totals.discount" v-html="totals.discount"></span>
 | 
			
		||||
                                                <span v-else>@money(0, $currency->code, true)</span>
 | 
			
		||||
                                                {!! Form::hidden('discount', null, ['id' => 'discount', 'class' => 'form-control text-right', 'v-model' => 'form.discount']) !!}
 | 
			
		||||
@@ -144,7 +144,7 @@
 | 
			
		||||
                                                <strong>{{ trans_choice('general.taxes', 1) }}</strong>
 | 
			
		||||
                                            </td>
 | 
			
		||||
                                            <td class="text-right border-bottom-0 long-texts">
 | 
			
		||||
                                                {{ Form::moneyGroup('tax_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.tax', 'currency' => $currency, 'dynamic-currency' => 'currency', 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                {{ Form::moneyGroup('tax_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.tax', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                <span id="tax-total" v-if="totals.tax" v-html="totals.tax"></span>
 | 
			
		||||
                                                <span v-else>@money(0, $currency->code, true)</span>
 | 
			
		||||
                                            </td>
 | 
			
		||||
@@ -157,7 +157,7 @@
 | 
			
		||||
                                                <strong>{{ trans('bills.total') }}</strong>
 | 
			
		||||
                                            </td>
 | 
			
		||||
                                            <td class="text-right long-texts">
 | 
			
		||||
                                                {{ Form::moneyGroup('grand_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.total', 'currency' => $currency, 'dynamic-currency' => 'currency', 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                {{ Form::moneyGroup('grand_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.total', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                <span id="grand-total" v-if="totals.total" v-html="totals.total"></span>
 | 
			
		||||
                                                <span v-else>@money(0, $currency->code, true)</span>
 | 
			
		||||
                                            </td>
 | 
			
		||||
 
 | 
			
		||||
@@ -80,7 +80,7 @@
 | 
			
		||||
                                                <strong>{{ trans('bills.sub_total') }}</strong>
 | 
			
		||||
                                            </td>
 | 
			
		||||
                                            <td class="text-right border-bottom-0 long-texts">
 | 
			
		||||
                                                {{ Form::moneyGroup('sub_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.sub', 'currency' => $currency, 'dynamic-currency' => 'currency', 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                {{ Form::moneyGroup('sub_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.sub', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                <span id="sub-total" v-if="totals.sub" v-html="totals.sub"></span>
 | 
			
		||||
                                                <span v-else>@money(0, $currency->code, true)</span>
 | 
			
		||||
                                            </td>
 | 
			
		||||
@@ -131,7 +131,7 @@
 | 
			
		||||
                                                </el-popover>
 | 
			
		||||
                                            </td>
 | 
			
		||||
                                            <td class="text-right border-bottom-0">
 | 
			
		||||
                                                {{ Form::moneyGroup('discount_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.discount', 'currency' => $currency, 'dynamic-currency' => 'currency', 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                {{ Form::moneyGroup('discount_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.discount', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                <span id="discount-total" v-if="totals.discount" v-html="totals.discount"></span>
 | 
			
		||||
                                                <span v-else>@money(0, $currency->code, true)</span>
 | 
			
		||||
                                                {!! Form::hidden('discount', null, ['id' => 'discount', 'class' => 'form-control text-right', 'v-model' => 'form.discount']) !!}
 | 
			
		||||
@@ -145,7 +145,7 @@
 | 
			
		||||
                                                <strong>{{ trans_choice('general.taxes', 1) }}</strong>
 | 
			
		||||
                                            </td>
 | 
			
		||||
                                            <td class="text-right border-bottom-0 long-texts">
 | 
			
		||||
                                                {{ Form::moneyGroup('tax_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.tax', 'currency' => $currency, 'dynamic-currency' => 'currency', 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                {{ Form::moneyGroup('tax_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.tax', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                <span id="tax-total" v-if="totals.tax" v-html="totals.tax"></span>
 | 
			
		||||
                                                <span v-else>@money(0, $currency->code, true)</span>
 | 
			
		||||
                                            </td>
 | 
			
		||||
@@ -158,7 +158,7 @@
 | 
			
		||||
                                                <strong>{{ trans('bills.total') }}</strong>
 | 
			
		||||
                                            </td>
 | 
			
		||||
                                            <td class="text-right long-texts">
 | 
			
		||||
                                                {{ Form::moneyGroup('grand_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.total', 'currency' => $currency, 'dynamic-currency' => 'currency', 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                {{ Form::moneyGroup('grand_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.total', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }}
 | 
			
		||||
                                                <span id="grand-total" v-if="totals.total" v-html="totals.total"></span>
 | 
			
		||||
                                                <span v-else>@money(0, $currency->code, true)</span>
 | 
			
		||||
                                            </td>
 | 
			
		||||
 
 | 
			
		||||
@@ -69,7 +69,7 @@
 | 
			
		||||
    @stack('price_td_start')
 | 
			
		||||
        <td class="border-right-0 border-bottom-0 pb-0">
 | 
			
		||||
            @stack('price_input_start')
 | 
			
		||||
                {{ Form::moneyGroup('name', '', '', ['required' => 'required', 'v-model' => 'row.price', 'data-item' => 'price', 'currency' => $currency, 'dynamic-currency' => 'currency', 'change' => 'row.price = $event; onCalculateTotal'], 0.00, 'text-right input-price') }}
 | 
			
		||||
                {{ Form::moneyGroup('name', '', '', ['required' => 'required', 'v-model' => 'row.price', 'data-item' => 'price', 'currency' => $currency, 'change' => 'row.price = $event; onCalculateTotal'], 0.00, 'text-right input-price') }}
 | 
			
		||||
                <input name="items[][currency]"
 | 
			
		||||
                       data-item="currency"
 | 
			
		||||
                       v-model="row.currency"
 | 
			
		||||
 
 | 
			
		||||
@@ -22,7 +22,7 @@
 | 
			
		||||
                    {!! Form::hidden('currency_code', $account_currency_code, ['id' => 'currency_code', 'class' => 'form-control', 'required' => 'required']) !!}
 | 
			
		||||
                    {!! Form::hidden('currency_rate', '1', ['id' => 'currency_rate']) !!}
 | 
			
		||||
 | 
			
		||||
                    {{ Form::moneyGroup('amount', trans('general.amount'), 'money-bill-alt', ['required' => 'required', 'currency' => $currency, 'dynamic-currency' => 'currency'], 0.00) }}
 | 
			
		||||
                    {{ Form::moneyGroup('amount', trans('general.amount'), 'money-bill-alt', ['required' => 'required', 'currency' => $currency], 0.00) }}
 | 
			
		||||
 | 
			
		||||
                    {{ Form::selectGroup('account_id', trans_choice('general.accounts', 1), 'university', $accounts, setting('default.account'), ['required' => 'required', 'change' => 'onChangeAccount']) }}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user