@extends('admin.layouts.master') @section('title', 'Recieve') @section('content')
| Order Id | Price | Return | Discount | total Epay | total cash | total payment | outstanding amount | Deliveryboy | Status | Delivered Date | payment logs | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $val->orderId}} @php echo date('h:i A, d M', strtotime($val->created_at)) @endphp |
Rs {{ $val->totalPrice}} @php $totalreceive+=$val->totalPrice; @endphp | Rs {{ $val->return_price}} @php $totalreturn_price+=$val->return_price; @endphp | Rs {{ $val->discount}} | Rs {{ number_format(floatval($val->payment_mode['Epay'] ?? 0), 2) }} | Rs {{ number_format(floatval($val->payment_mode['ByCash'] ?? 0), 2) }} | Rs {{ number_format(($val->totalPrice ?? 0) - ($val->return_price ?? 0) - ($val->discount ?? 0) - ($val->outstandingamount ?? 0), 2) }} | Rs {{ $val->outstandingamount}} @if(empty($Orderreceivepayments[0])) @endif | {{ $val->deliveryboy}} | {{ $val->orderStatus}} | {{ $val->delivered_date}} |
Details
|
@if(empty($Orderreceivepayments[0])) @if($val->outstandingamount!=0) Recieve @else Received @endif @else N/A @endif |
| {{ $order[0]->orderId}} | Rs {{ $valo->order_initial_amount}} | N/A | Rs {{ $valo->discount}} | Rs {{ number_format(floatval($valo->payment_mode['Epay'] ?? 0), 2) }} | Rs {{ number_format(floatval($valo->payment_mode['ByCash'] ?? 0), 2) }} | Rs {{ number_format($valo->total_collected_amount, 2) }} | Rs {{ $valo->outstanding_amount}} @if(($key+1) == count($Orderreceivepayments)) @endif | N/A | N/A | {{ $valo->payment_received_date}} |
Details
|
@if(($key+1) == count($Orderreceivepayments)) @if($valo->outstanding_amount!=0) Recieve @else Received @endif @else N/A @endif |