CaiWuXiTong/resources/views/components/widgets/last_payment.blade.php
WuYongJie 9595267ee7
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 导入 Akaunting 初始源码与团队协作规则
2026-07-20 18:20:25 +08:00

20 lines
625 B
PHP

<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" />
</span>
@else
<span class="text-xs">
{{ trans('portal.last_payment.not_payment') }}
</span>
@endif
</div>