From ac9b5ffc1f5ddf147f7b74706971448295748dbb Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Tue, 24 Jan 2023 06:20:34 +0800 Subject: [PATCH] customer support interface --- resources/views/pages/customer_support.blade.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/views/pages/customer_support.blade.php b/resources/views/pages/customer_support.blade.php index 31c870dd..aae23994 100644 --- a/resources/views/pages/customer_support.blade.php +++ b/resources/views/pages/customer_support.blade.php @@ -66,7 +66,8 @@

Amount: {{$booking->fix_amount.' '.$booking->fixedCurrency->short_code}}

Status: {{$booking->status === 3 ? 'Complete' : 'In Progress'}}

Purchase Order Status: {{$purchaseOrder ? ($purchaseOrder->status === 3 ? 'Approved' : ($purchaseOrder->status === 1 ? 'Pending Approval' : 'Incomplete Submission')) : 'Pending Submission'}}

- @if($payments)

Payment History:

@endif + @if($payments)

Payment History:

@endif + @php $i = 0; @endphp @foreach($payments as $payment) @php $bill = $payment->transactions()->where('type', \App\Classes\ValueObjects\Constants\TransactionType::BILL)->first(); @@ -98,6 +99,7 @@ @endphp
+

{{$i++}}.

Amount: {{$payment->original_amount.' '.$payment->original_currency->short_code}}

Status: {{$status}}

Payment Date: {{$payment->created_at->format('d-m-Y')}}

@@ -124,7 +126,8 @@

Amount: {{$booking->fix_amount.' '.$booking->fixedCurrency->short_code}}

Status: {{$booking->status === 3 ? 'Complete' : 'In Progress'}}

Purchase Order Status: {{$purchaseOrder ? ($purchaseOrder->status === 3 ? 'Approved' : ($purchaseOrder->status === 1 ? 'Pending Approval' : 'Incomplete Submission')) : 'Pending Submission'}}

- @if($payments)

Payment History:

@endif + @if($payments)

Payment History:

@endif + @php $i = 0; @endphp @foreach($payments as $payment) @php $bill = $payment->transactions()->where('type', \App\Classes\ValueObjects\Constants\TransactionType::BILL)->first(); @@ -157,6 +160,7 @@ @endphp
+

{{$i++}}.

Amount: {{$payment->original_amount.' '.$payment->original_currency->short_code}}

Status: {{$status}}

Payment Date: {{$payment->created_at->format('d-m-Y')}}