diff --git a/resources/views/finance/dashboard.blade.php b/resources/views/finance/dashboard.blade.php index c278fc5a..b6953e33 100644 --- a/resources/views/finance/dashboard.blade.php +++ b/resources/views/finance/dashboard.blade.php @@ -291,49 +291,50 @@ class="inline-flex items-center gap-2 px-4 py-2 bg-blue-600 hover:bg-blue-700 te
- +
- - - - - - - + + + + + + + @forelse($recentCardTransactions as $card) @php $useDate = \Carbon\Carbon::createFromFormat('Ymd', $card->use_date); + $useTime = $card->use_time ? substr($card->use_time, 0, 2) . ':' . substr($card->use_time, 2, 2) : ''; $isCancel = $card->approval_type === '취소'; $isDeductible = $card->deduction_type === 'deductible'; $cardLast4 = substr($card->card_num, -4); @endphp - - - - - - - @empty
사용일카드번호공제가맹점내역금액계정과목사용일시카드번호공제가맹점내역금액계정과목
- {{ $useDate->format('m/d') }} + + {{ $useDate->format('m/d') }} {{ $useTime }} + ****-{{ $cardLast4 }} + {{ $isDeductible ? '공제' : '불공' }} - {{ Str::limit($card->merchant_name, 6) }} + + {{ Str::limit($card->merchant_name, 10) }} - {{ Str::limit($card->description ?: '-', 6) }} + + {{ Str::limit($card->description ?: '-', 10) }} + {{ $isCancel ? '+' : '-' }}{{ number_format($card->approval_amount) }} - {{ Str::limit($card->account_name ?: '-', 6) }} + + {{ Str::limit($card->account_name ?: '-', 10) }}