report page done

This commit is contained in:
franknstayn
2020-01-07 20:01:07 +08:00
parent a929b8192a
commit 82385d57da
10 changed files with 633 additions and 56 deletions

View File

@@ -23,7 +23,8 @@
</div>
<div class="box-body">
<div class="row">
<div class="col-md-3">
{{-- <div class="col-md-3">
<div class="form-group">
<label class="control-label">Select Date From: <span class="required">*</span></label>
<input type="text" name="min" class="form-control datepicker-reports" id="min" placeholder="Select Date" required autocomplete="off"/>
@@ -35,36 +36,38 @@
<input type="text" name="max" class="form-control datepicker-reports" id="max" placeholder="Select Date" required autocomplete="off"/>
</div>
</div>
</div>
<div class="table-responsive">
<table id="orders_table" class="table table-bordered table-hover">
<thead>
<tr>
<th>Store</th>
<th>Invoice #</th>
<th>Currency</th>
<th>Tax</th>
<th>Subtotal</th>
<th>Total</th>
<th>Date</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
@foreach($array_payment_details as $pd_row)
</div> --}}
<div class="col-md-12">
<div class="table-responsive">
<table id="orders_table" class="table table-bordered table-hover">
<thead>
<tr>
<td>{{ $pd_row->StoreName }}</td>
<td>{{ $pd_row->InvoiceNumber }}</td>
<td>{{ $pd_row->Currency }}</td>
<td>{{ $pd_row->Tax }}</td>
<td>{{ $pd_row->SubTotal }}</td>
<td>{{ $pd_row->Total }}</td>
<td>{{ date("F j, Y g:i a", strtotime($pd_row->DateCreated)) }}</td>
<td class="text-center"><a href="{{ url('admin/orders/view') . '/' . $pd_row->CartKey }}" class="btn btn-link btn-xs">View Details</a></td>
<th>Store</th>
<th>Invoice #</th>
<th>Currency</th>
<th>Tax</th>
<th>Subtotal</th>
<th>Total</th>
<th>Date</th>
<th class="text-center">Action</th>
</tr>
@endforeach
</tbody>
</table>
</thead>
<tbody>
@foreach($array_payment_details as $pd_row)
<tr>
<td>{{ $pd_row->StoreName }}</td>
<td>{{ $pd_row->InvoiceNumber }}</td>
<td>{{ $pd_row->Currency }}</td>
<td>{{ $pd_row->Tax }}</td>
<td>{{ $pd_row->SubTotal }}</td>
<td>{{ $pd_row->Total }}</td>
<td>{{ date("F j, Y g:i a", strtotime($pd_row->DateCreated)) }}</td>
<td class="text-center"><a href="{{ url('admin/orders/view') . '/' . $pd_row->CartKey }}" class="btn btn-link btn-xs">View Details</a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>