applied new features of money package
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
<x-date :date="$transaction->paid_at" />
|
||||
</x-link>
|
||||
- {!! trans('documents.transaction', [
|
||||
'amount' => '<span class="font-medium">' . money($transaction->amount, $transaction->currency_code, true) . '</span>',
|
||||
'amount' => '<span class="font-medium">' . money($transaction->amount, $transaction->currency_code) . '</span>',
|
||||
'account' => '<span class="font-medium">' . $transaction->account->name . '</span>',
|
||||
]) !!}
|
||||
</span>
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<x-date :date="$transaction->paid_at" />
|
||||
</x-link>
|
||||
- {!! trans('documents.transaction', [
|
||||
'amount' => '<span class="font-medium">' . money($transaction->amount, $transaction->currency_code, true) . '</span>',
|
||||
'amount' => '<span class="font-medium">' . money($transaction->amount, $transaction->currency_code) . '</span>',
|
||||
'account' => '<span class="font-medium">' . $transaction->account->name . '</span>',
|
||||
]) !!}
|
||||
</span>
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
<x-date :date="$transaction->paid_at" />
|
||||
</x-link>
|
||||
- {!! trans('documents.transaction', [
|
||||
'amount' => '<span class="font-medium">' . money($transaction->amount, $transaction->currency_code, true) . '</span>',
|
||||
'amount' => '<span class="font-medium">' . money($transaction->amount, $transaction->currency_code) . '</span>',
|
||||
'account' => '<span class="font-medium">' . $transaction->account->name . '</span>',
|
||||
]) !!}
|
||||
</span>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</div>
|
||||
|
||||
<span class="text-sm">
|
||||
{{ trans('portal.payment_detail.description', ['date' => date($payment->paid_at), 'amount' => money($payment->amount, $payment->currency_code, true)]) }}
|
||||
{{ trans('portal.payment_detail.description', ['date' => date($payment->paid_at), 'amount' => money($payment->amount, $payment->currency_code)]) }}
|
||||
</span>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
</div>
|
||||
|
||||
<span class="text-sm">
|
||||
{{ trans('portal.payment_detail.description', ['date' => date($payment->paid_at), 'amount' => money($payment->amount, $payment->currency_code, true)]) }}
|
||||
{{ trans('portal.payment_detail.description', ['date' => date($payment->paid_at), 'amount' => money($payment->amount, $payment->currency_code)]) }}
|
||||
</span>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</x-link>
|
||||
@stack('button_print_end')
|
||||
|
||||
|
||||
|
||||
@stack('button_dashboard_start')
|
||||
@if (! user())
|
||||
<x-link href="{{ route('portal.dashboard') }}" class="px-3 py-1.5 mb-3 sm:mb-0 bg-gray-100 hover:bg-gray-200 rounded-lg text-sm font-medium leading-6">
|
||||
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
|
||||
<span class="text-sm">
|
||||
{{ trans('portal.payment_detail.description', ['date' => date($payment->paid_at), 'amount' => money($payment->amount, $payment->currency_code, true)]) }}
|
||||
{{ trans('portal.payment_detail.description', ['date' => date($payment->paid_at), 'amount' => money($payment->amount, $payment->currency_code)]) }}
|
||||
</span>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user