@php $hasOtherText = $transactions->pluck('other_text')->filter()->isNotEmpty(); @endphp

香港信義人力資源有限公司

外勞收支表

銀行:012-898-2-0494387
{{ $periodLabel }}
@if($hasOtherText) @endif @forelse($transactions as $t) @if($hasOtherText) @endif @empty @endforelse @if($transactions->isNotEmpty()) @if($hasOtherText) @endif @endif
日期 專案 收入 HK$ 支出 HK$ 支出 - 人民幣其它備注
{{ $t->transacted_on?->format('Y-m-d') }} {{ $t->project }}({{ $t->typeLabel() }}) @if($t->type === 'income'){{ number_format($t->amount, 2) }}@endif @if($t->type === 'expense' && $t->currency !== 'CNY'){{ number_format($t->amount, 2) }}@endif @if($t->type === 'expense' && $t->currency === 'CNY')¥{{ number_format($t->amount, 2) }}@endif {{ $t->other_text }}{{ $t->note }}
沒有交易記錄
總計 {{ number_format($totals['income'], 2) }} {{ number_format($totals['expense_hkd'], 2) }} ¥{{ number_format($totals['expense_cny'], 2) }}
簽署:____________________ 日期:____________________