@extends('admin.layouts') @section('title', 'Orders') @section('header') @endsection @section('content')
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 }} | @if($orders->status === 'Pending') @elseif($orders->status === 'accepted') Accepted @elseif($orders->status === 'Rejected') Rejected @endif |