@extends('layouts.backend.app') @section('content')
@foreach($orders as $key => $row ) @endforeach
{{ __('Order ID') }} {{ __('Order Type') }} {{ __('Amount') }} {{ __('Discount') }} {{ __('Commission') }} {{ __('Status') }} {{ __('Payment Status') }} {{ __('Time') }} {{ __('Action') }}
#{{ $row->id }} @if($row->order_type == 1) {{ __('Home Delivery') }} @else {{ __('Pickup') }} @endif {{ $row->total }} {{ $row->discount }} {{ $row->commission }} @if($row->status == 1) {{ __('Completed') }} @elseif($row->status == 2) {{ __('Pending') }} @elseif($row->status == 3) {{ __('Accepted') }} @elseif($row->status == 0) {{ __('Cancelled') }} @endif @if($row->payment_status == 1) {{ __('Completed') }} @elseif($row->payment_status == 0) {{ __('Pending') }} @endif {{ $row->created_at->diffforHumans() }}
{{ __('Order ID') }} {{ __('Order Type') }} {{ __('Amount') }} {{ __('Discount') }} {{ __('Commission') }} {{ __('Status') }} {{ __('Payment Status') }} {{ __('Time') }} {{ __('Action') }}
{{ $orders->links() }}
@endsection @section('script') @endsection