@extends('layouts.dashboard') @section('content')
| SL. | Invoice ID | Customer Info | Products | Total | Courier | Date | Status | Note | Actions | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $sl+1 }} | {{ $order->order_id }} |
{{ $order->rel_to_billing ? $order->rel_to_billing->customer_name : 'No Billing Details' }} {{ $order->rel_to_billing ? $order->rel_to_billing->customer_phone : 'No Billing Details' }} {{ $order->rel_to_billing ? $order->rel_to_billing->customer_address : 'No Billing Details' }} |
@foreach ($order->rel_to_orderpro as $OrderProduct)
@if ($OrderProduct->rel_to_product != null)
{{ $OrderProduct->quantity }} x {{ $OrderProduct->rel_to_product->product_name }} @else {{ $OrderProduct->quantity }} x {{ $OrderProduct->product_id }} @endif @endforeach |
৳ {{ $order->total }} | @if ($order->courier_id != null){{ $order->rel_to_courier->name }} | @elseNull | @endif{{$order->order_date}} |
@if ($order->status == 0)
Processing
@elseif ($order->status == 1)
On Hold
@elseif ($order->status == 2)
Completed
@elseif ($order->status == 3)
Pending Payment
@elseif ($order->status == 5)
On Delivary
@elseif ($order->status == 6)
Pending Invoice
@else
Canceled
@endif
|
@if ($order->color != null)
Color: {{ $order->color }} @endif @if ($order->size != null) Size: {{ $order->size }} @endif {{ $order->order_note }} |
{{-- Mr. Employee | --}}{{-- --}} |