@if(($signed!==1 && $signed!==true) || $transaction->transaction_type_value !== 2) @endif @if(isset($transaction->admin) && $signed!==1 && $signed!==true) @endif @php $allName = ''; @endphp @foreach ($names as $name) @php $allName .= ($loop->first ? '' : ', ') . $name; @endphp @endforeach @foreach ($transaction->bills as $bill) @php $billString = $bill->bill_type->name.' '.$months[$bill->month_value].' '.$bill->year_value; @endphp @endforeach @if(in_array($transaction->transaction_type_value,[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17])) @endif @if(isset($transaction->additionalInfo) && trim($transaction->additionalInfo)!=='') @endif @if($transaction->transaction_type_value===2) @endif @if(count($outstandings)>0) @foreach ($outstandings as $outstanding) @endforeach @endif @if($transaction->transaction_type_value===2 && ($signed===1 || $signed===true)) @endif
BUKTI TRANSAKSI
#{{$transaction->number}} {{$transactionTypes[$transaction->transaction_type_value]}}  -  {{$mode}}
Tanggal transaksi {{date('d-m-Y', strtotime($transaction->transactionDate))}}
Admin {{$transaction->admin->name}}
Nama {{$allName}}
Detail transaksi Jumlah
{{ substr($billString,0,50) }} {{number_format($bill->pivot->pay, 0, '', '.')}}
{{$transaction->description}} {{number_format($transaction->amount, 0, '', '.')}}
Total transaksi {{number_format($transaction->amount, 0, '', '.')}}

Informasi : {{$transaction->additionalInfo}}

{{$note}}

Tagihan belum dibayar Jumlah
{{ $outstanding->bill_type->name.' '.$months[$outstanding->month_value].' '.$outstanding->year_value }} - @if(isset($outstanding->student)) {{ $outstanding->student->name }} @elseif(isset($outstanding->new_student)) {{ $outstanding->new_student->name }} @endif {{number_format($outstanding->amount-$outstanding->paidAmount, 0, '', '.')}}
{{$city}}, {{date('d-m-Y', strtotime($transaction->transactionDate))}}
{{$transaction->admin->name??'Admin'}}