@php
				// print_r($_SESSION);
				@endphp
				
				
					
						
							
								
									
										| S.No | Order Id | Order Code | User Name | Order Total | Ordered Date | Action | Status | 
								
								
									 @foreach ($list as $key => $lists)
									 
										| {{ $loop->iteration }} | {{ $lists->id }} | {{ 'myl-pp-'.$lists->id }}@php
										//echo "Ïd : " . $lists->id;
										$user = DB::table('users')->where('id',$lists->user_id)->first('user_name');
										// print_r($user);
										@endphp | @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 | 
									 
									 @endforeach