@extends('layouts.admin-master') @section('title', 'Voucher Delivery Timeline') @section('css') @endsection @section('content')
| # | Order | Voucher | Customer | Qty×Rate | Amount | Shipping Address | Notes | Created | Status | Invoice |
|---|---|---|---|---|---|---|---|---|---|---|
| {{$index+1}} | {{$voucherTimeline->invoice_id}} {{\Carbon\Carbon::parse($voucherTimeline->invoice_date)->format(Config::get('siteSetting.date_format'))}} |
@if(count($voucherTimeline->order->order_details)>0)
|
{{ $voucherTimeline->shipping_name }}
{{ $voucherTimeline->shipping_phone }} |
{{$voucherTimeline->voucher_qty.'×'.$voucherTimeline->voucher_rate}} | {{$voucherTimeline->order->currency_sign. $voucherTimeline->voucher_qty * $voucherTimeline->voucher_rate}} | {{ $voucherTimeline->shipping_address }}, {{ $voucherTimeline->shipping_area }}, {{ $voucherTimeline->shipping_city }}, {{ $voucherTimeline->shipping_region }} | {{ $voucherTimeline->notes }} | {{ $voucherTimeline->createdBy->name }} |
@foreach($voucherTimeline->voucherNotify as $notifyNo => $statusNotify)
@if($statusNotify->notify)
{{$notifyNo+1}}. By {{($statusNotify->staff) ? $statusNotify->staff->name : 'Customer' }} => {{ucwords($statusNotify->notify)}} |
@if($voucherTimeline->order->order_status != 'closed' && $voucherTimeline->order->order_status != 'cancel') Invoice @else Voucher {{$voucherTimeline->order->order_status}} @endif |
| There was no delivery found. | ||||||||||