update tracking

This commit is contained in:
franknstayn
2022-01-22 22:30:45 +08:00
parent e54f9e7db6
commit 65123a7ccf
7 changed files with 655 additions and 320 deletions

View File

@@ -40,6 +40,13 @@
<div id="store_filter"></div>
</div>
</div> --}}
<form action="{{ route('import') }}" method="POST" enctype="multipart/form-data">
{{ csrf_field() }}
Choose your xls/csv File : <input type="file" name="file" class="form-control">
<input type="submit" class="btn btn-primary btn-lg" style="margin-top: 3%">
</form>
<div class="col-md-12" style="margin-bottom: 20px">
<form action="{{ url('admin/tracking') }}">
<div class="input-group">
@@ -70,7 +77,15 @@
@foreach ($tracking as $track)
<tr>
<td>{{ $track->InvoiceNumber }}</td>
@if ($track->StepId == 10)
<td>{{ $track->StepLabel }} via {{ $track->Carrier }}
<a href="{{ $track->Link . $track->TrackingNumber }}" target="_blank">Click here.</a>
</td>
@else
<td>{{ $track->StepLabel }}</td>
@endif
<td>{{ $track->Name }}</td>
<td>{{ $track->DateCreated }}</td>