Last three price currency show of Reconciliation Page

This commit is contained in:
Burak Civan 2021-06-14 12:17:27 +03:00
parent 562b1437f7
commit db4dfc6e10
3 changed files with 33 additions and 24 deletions

View File

@ -969,6 +969,15 @@ table .align-items-center td span.badge {
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }
.difference-money .disabled-money {
background-color: transparent !important;
border: none;
}
.banking-price-text {
color: #525f7f;
}
.disabled-money, .disabled-money,
.disabled-money input { .disabled-money input {
border:none !important; border:none !important;

View File

@ -109,26 +109,26 @@
</tr> </tr>
<tr class="row"> <tr class="row">
<th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('reconciliations.closing_balance') }}:</th> <th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('reconciliations.closing_balance') }}:</th>
<td id="closing-balance" class="col-md-3 col-lg-1 text-right d-none d-md-block"> <td id="closing-balance" class="col-md-3 col-lg-1 text-right d-none d-md-block pt-0">
{{ Form::moneyGroup('closing_balance_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.closing_balance', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} <div class="mt-1">
<span id="closing-balance-total" v-if="totals.closing_balance" v-html="totals.closing_balance"></span> {{ Form::moneyGroup('closing_balance_total', '', '', ['disabled' => true, 'row-input' => 'true', 'v-model' => 'totals.closing_balance', 'currency' => $currency, 'dynamic-currency' => 'currency', 'money-class' => 'text-right disabled-money banking-price-text'], 0.00, 'text-right disabled-money') }}
<span v-else>@money(0, $account->currency_code, true)</span> </div>
</td> </td>
</tr> </tr>
<tr class="row"> <tr class="row">
<th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('reconciliations.cleared_amount') }}:</th> <th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('reconciliations.cleared_amount') }}:</th>
<td id="cleared-amount" class="col-md-3 col-lg-1 text-right d-none d-md-block"> <td id="cleared-amount" class="col-md-3 col-lg-1 text-right d-none d-md-block pt-0">
{{ Form::moneyGroup('cleared_amount_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.cleared_amount', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} <div class="mt-1">
<span id="cleared-amount-total" v-if="totals.cleared_amount" v-html="totals.cleared_amount"></span> {{ Form::moneyGroup('cleared_amount_total', '', '', ['disabled' => true, 'row-input' => 'true', 'v-model' => 'totals.cleared_amount', 'currency' => $currency, 'dynamic-currency' => 'currency', 'money-class' => 'text-right disabled-money banking-price-text'], 0.00, 'text-right disabled-money') }}
<span v-else>@money(0, $account->currency_code, true)</span> </div>
</td> </td>
</tr> </tr>
<tr :class="difference" class="row"> <tr :class="difference" class="row">
<th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('general.difference') }}:</th> <th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('general.difference') }}:</th>
<td id="difference" class="col-md-3 col-lg-1 text-right d-none d-md-block"> <td id="difference" class="col-md-3 col-lg-1 text-right d-none d-md-block pt-0">
{{ Form::moneyGroup('difference_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.difference', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} <div class="mt-1 difference-money">
<span id="difference-total" v-if="totals.difference" v-html="totals.difference"></span> {{ Form::moneyGroup('difference_total', '', '', ['disabled' => true, 'row-input' => 'true', 'v-model' => 'totals.difference', 'currency' => $currency, 'dynamic-currency' => 'currency', 'money-class' => 'text-right disabled-money banking-price-text'], 0.00, 'text-right disabled-money') }}
<span v-else>@money(0, $account->currency_code, true)</span> </div>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -81,26 +81,26 @@
</tr> </tr>
<tr class="row"> <tr class="row">
<th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('reconciliations.closing_balance') }}:</th> <th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('reconciliations.closing_balance') }}:</th>
<td id="closing-balance" class="col-md-3 col-lg-1 text-right d-none d-md-block"> <td id="closing-balance" class="col-md-3 col-lg-1 text-right d-none d-md-block pt-0">
{{ Form::moneyGroup('closing_balance_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.closing_balance', 'currency' => $currency, 'masked' => 'true'], $reconciliation->closing_balance, 'text-right d-none') }} <div class="mt-1">
<span id="closing-balance-total" v-if="totals.closing_balance" v-html="totals.closing_balance"></span> {{ Form::moneyGroup('closing_balance_total', '', '', ['disabled' => true, 'row-input' => 'true', 'v-model' => 'totals.closing_balance', 'currency' => $currency, 'dynamic-currency' => 'currency', 'money-class' => 'text-right disabled-money banking-price-text'], 0.00, 'text-right disabled-money') }}
<span v-else>@money($reconciliation->closing_balance, $account->currency_code, true)</span> </div>
</td> </td>
</tr> </tr>
<tr class="row"> <tr class="row">
<th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('reconciliations.cleared_amount') }}:</th> <th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('reconciliations.cleared_amount') }}:</th>
<td id="cleared-amount" class="col-md-3 col-lg-1 text-right d-none d-md-block"> <td id="cleared-amount" class="col-md-3 col-lg-1 text-right d-none d-md-block pt-0">
{{ Form::moneyGroup('cleared_amount_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.cleared_amount', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} <div class="mt-1">
<span id="cleared-amount-total" v-if="totals.cleared_amount" v-html="totals.cleared_amount"></span> {{ Form::moneyGroup('cleared_amount_total', '', '', ['disabled' => true, 'row-input' => 'true', 'v-model' => 'totals.cleared_amount', 'currency' => $currency, 'dynamic-currency' => 'currency', 'money-class' => 'text-right disabled-money banking-price-text'], 0.00, 'text-right disabled-money') }}
<span v-else>@money(0, $account->currency_code, true)</span> </div>
</td> </td>
</tr> </tr>
<tr :class="difference" class="row"> <tr :class="difference" class="row">
<th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('general.difference') }}:</th> <th class="col-md-9 col-lg-11 text-right d-none d-md-block">{{ trans('general.difference') }}:</th>
<td id="difference" class="col-md-3 col-lg-1 text-right d-none d-md-block"> <td id="difference" class="col-md-3 col-lg-1 text-right d-none d-md-block pt-0">
{{ Form::moneyGroup('difference_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.difference', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} <div class="mt-1 difference-money">
<span id="difference-total" v-if="totals.difference" v-html="totals.difference"></span> {{ Form::moneyGroup('difference_total', '', '', ['disabled' => true, 'row-input' => 'true', 'v-model' => 'totals.difference', 'currency' => $currency, 'dynamic-currency' => 'currency', 'money-class' => 'text-right disabled-money banking-price-text'], 0.00, 'text-right disabled-money') }}
<span v-else>@money(0, $account->currency_code, true)</span> </div>
</td> </td>
</tr> </tr>
</tbody> </tbody>