@extends('layouts.common') @section('title') Laiqa | Admin | Dashboard @endsection @section('content')

User Order Details

@php // print_r($_SESSION); @endphp
@foreach ($list as $key => $lists) @php //echo "Ïd : " . $lists->id; $user = DB::table('users')->where('id',$lists->user_id)->first('user_name'); // print_r($user); @endphp @endforeach
S.No Order Id Order Code User Name Order Total Ordered Date Action Status
{{ $loop->iteration }} {{ $lists->id }} {{ 'myl-pp-'.$lists->id }}@if($user->user_name !=''){{$user->user_name}}@endif {{ ($lists->ord_amt - $lists->usr_coupon_amount) + ( int )$lists->shipping_amt }} {{ $lists->ord_date }} @if($lists->payment_txn_status == 1)Created @elseif($lists->payment_txn_status == 2 && $lists->payment_id != '0') Success @elseif($lists->payment_txn_status == 3) Failed @else Created @endif
@endsection @section('scripts') @endsection