@extends('layouts.admin') @section('title', 'Payments') @section('breadcrumb-item')
Payments
| # | Order ID | Shop | Area | Amount | Received Cash | Cheque Amount | WHT Amount | Balance | Status | Comments | Received By | Received On | Actions | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $payments->firstItem() + $index }} | @else{{ $loop->iteration }} | @endif{{ $payment->order->id }} | {{ isset($payment->order->shop) ? $payment->order->shop->name : '' }} | {{ isset($payment->order->shop->area) ? $payment->order->shop->area->name : '' }} | @if($payment->order->status == 2 || $payment->amount == null) {{ $payment->order->amount }} @else {{ isset($payment->amount) ? $payment->amount : '0' }} @endif | {{ isset($payment->received_amount) && $payment->cheque_amount == null ? $payment->received_amount : '0' }} | {{ $payment->cheque_amount == null ? '0' : $payment->cheque_amount }} | {{ $payment->wht_amount == null ? '0' : $payment->wht_amount }} | {{ isset($payment->balance) ? $payment->balance : '0' }} | {{ isset($payment->order->status_string) ? $payment->order->status_string : '0' }} | {{ isset($payment->comment) ? $payment->comment : 'No comment' }} | {{ isset($payment->employee) ? $payment->employee->name : '' }} | {{ $payment->created_at->format('d-M-Y') }} | |
| No Payments Yet | ||||||||||||||