pos-gis/resources/views/export/csv_transaction.blade.php
2024-10-07 13:13:42 +07:00

37 lines
1.1 KiB
PHP

@php
$data = $param['data'];
@endphp
<table style="width:100%;">
<tr>
<th>Merchant</th>
<th>Time</th>
<th>Staff</th>
<th>Pay Amount</th>
<th>Payment Type</th>
<th>Card Number</th>
<th>Customer</th>
<th>Change Amount</th>
<th>Total Amount</th>
<th>Payment Status</th>
</tr>
@foreach ($data as $v)
<tr>
<td>{{$v->merchant_nm}}</td>
<td>{{date('d/m/Y H:i:s',strtotime($v->crtdt))}}</td>
<td>{{$v->user_nm}}</td>
<td>{{$v->pay_amount}}</td>
<td>{{$v->payment_type_nm}}</td>
<td>{{$v->card_no}}</td>
<td>{{$v->customer_nm}}</td>
<td>{{$v->change_amount}}</td>
<td>{{$v->total_amount}}</td>
<td>{{$v->payment_status_nm}}</td>
</tr>
@endforeach
</table>