@extends('admin.layouts') @section('title', 'Orders History') @section('header') @endsection @section('content')

Orders History

@foreach($order as $orders) @endforeach
S/N ORDER DATE ORDER ID USER DETAILS PRODUCT DETAILS AMOUNT ADDRESS ACTION
{{$loop->iteration}} {{\Carbon\Carbon::parse($orders->order_date)->format('Y-m-d')}} {{$orders->order_rand_id}}
User ID:{{$orders->user->user_id}}
{{$orders->user_name}}
{{$orders->user->mobile_number}}
View {{ $orders->amount + $orders->total_amount }} {{ $orders->address}} {{ $orders->land_mark }} {{$orders->pincode }} Accepted
@foreach($reject as $rejects) @endforeach
S/N ORDER DATE ORDER ID USER DETAILS PRODUCT DETAILS AMOUNT ADDRESS ACTION
{{$loop->iteration}} {{\Carbon\Carbon::parse($rejects->order_date)->format('Y-m-d')}} {{$rejects->order_rand_id}}
User ID:{{$rejects->user->user_id}}
{{$rejects->user_name}}
{{$rejects->user->mobile_number}}
View {{ $rejects->amount + $rejects->total_amount }} {{ $rejects->address}} {{ $rejects->land_mark }} {{$rejects->pincode }} Rejected
@endsection @section('footer') @endsection