pos-gis/resources/views/export/csv_order.blade.php

37 lines
1.1 KiB
PHP
Raw Normal View History

2024-10-07 06:13:42 +00:00
@php
$data = $param['data'];
@endphp
<table style="width:100%;">
<tr>
2024-10-08 06:24:47 +00:00
<th>Company</th>
2024-10-07 06:13:42 +00:00
<th>Time</th>
<th>Staff</th>
<th>Order Type</th>
<th>Pay Date</th>
<th>Order Code</th>
<th>Billing Type</th>
<th>Customer Alias</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->order_type_nm}}</td>
<td>{{date('d/m/Y H:i:s',strtotime($v->paydt))}}</td>
<td>{{$v->order_code}}</td>
<td>{{$v->bill_type_nm}}</td>
<td>{{$v->customer_alias}}</td>
<td>{{$v->payment_status_nm}}</td>
</tr>
@endforeach
</table>