akaunting 3.0 (the last dance)
This commit is contained in:
19
resources/views/components/widgets/last_payment.blade.php
Normal file
19
resources/views/components/widgets/last_payment.blade.php
Normal file
@ -0,0 +1,19 @@
|
||||
<div class="flex flex-col text-sm text-black-400">
|
||||
<div class="font-medium text-black mb-1">
|
||||
{{ trans('portal.last_payment.title') }}
|
||||
</div>
|
||||
|
||||
@if (! empty($payment))
|
||||
<span class="text-xs">
|
||||
{{ trans('portal.last_payment.description', ['date' => company_date($payment->created_at)]) }}
|
||||
</span>
|
||||
|
||||
<span class="text-xl text-black my-3">
|
||||
<x-money :amount="$payment->amount" :currency="$payment->currency_code" convert />
|
||||
</span>
|
||||
@else
|
||||
<span class="text-xs">
|
||||
{{ trans('portal.last_payment.not_payment') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
Reference in New Issue
Block a user