Order details
Payment{{ ucfirst(str_replace('_',' ',$order->payment_status)) }}
Fulfillment{{ ucfirst(str_replace('_',' ',$order->fulfillment_method)) }}
@if($order->pickupLocation)
Pickup branch{{ $order->pickupLocation->name }}
@endif
@if($order->delivery_tracking_code)
Tracking{{ $order->delivery_tracking_code }}
@endif
Subtotal₱{{ number_format($order->subtotal, 2) }}
Discounts−₱{{ number_format($order->discount_total, 2) }}
Delivery₱{{ number_format($order->shipping_total, 2) }}
Total₱{{ number_format($order->final_total, 2) }}
@if($order->status === 'pending_payment' && \App\Utils\IntegratedPaymentService::isOnlineCheckoutMethod($order->payment_method))
Manual payment verification
@if($order->status === 'cancelled')
This order is cancelled. If you already sent payment, contact the store and provide your order number so staff can resolve it safely.
@elseif($order->payment_status === 'paid')
Your payment proof was approved. The order can now be processed.
Reference ending in {{ $manualSubmission->reference_last4 }}.
@elseif($pendingManualSubmission)
Payment proof received and awaiting staff review. Fulfillment will not begin until it is approved.
Submitted {{ $manualSubmission->created_at->format('M d, Y h:i A') }} · reference ending in {{ $manualSubmission->reference_last4 }}.
@else
@if((float)$order->manual_payment_received_total > 0)
Approved payments: ₱{{ number_format($order->manual_payment_received_total,2) }}. Remaining amount: ₱{{ number_format($remainingManualAmount,2) }}.
@endif
@if($manualSubmission && $manualSubmission->status === 'rejected')
The previous payment proof was rejected.
@if($manualSubmission->review_notes)
Reason: {{ $manualSubmission->review_notes }}
@endif
@endif
@if($order->status === 'pending_payment' && (!$order->expires_at || $order->expires_at->isFuture()) && $manualPaymentDetails)
Pay the remaining amount of ₱{{ number_format($remainingManualAmount, 2) }} using one receiving account below.
@foreach($manualPaymentDetails['accounts'] as $account)
{{ $account['label'] }}
@if(!empty($account['bank_name']))
Bank/provider
{{ $account['bank_name'] }}
@endif
@if(!empty($account['account_name']))
Account name
{{ $account['account_name'] }}
@endif
@if(!empty($account['account_number']))
Account/mobile number
{{ $account['account_number'] }}
@endif
@if($account['daily_remaining'] !== null)
Remaining receiving capacity today: ₱{{ number_format($account['daily_remaining'],2) }}
@endif
@if(!empty($account['qr_images']))
@foreach($account['qr_images'] as $qrIndex => $qrImage)
@php
$qrUrl = str_starts_with($account['id'],'legacy-')
? route('ecommerce.payment.manual-qr',['store'=>$business->ecommerce_store_slug,'method'=>$order->payment_method,'qr'=>$qrImage['id']])
: route('ecommerce.payment.account-qr',['store'=>$business->ecommerce_store_slug,'account'=>$account['id'],'qr'=>$qrImage['id']]);
@endphp
{{ $qrImage['label'] ?? ('Payment QR '.($qrIndex+1)) }}
@endforeach
@endif
@if(!empty($account['instructions']))
{{ $account['instructions'] }}
@endif
@endforeach
@if($order->expires_at)
Upload proof before {{ $order->expires_at->format('M d, Y h:i A') }}. Once submitted, the reservation remains open while staff review it.
@endif
@elseif($order->status === 'pending_payment' && $order->expires_at && $order->expires_at->isPast())
This payment reservation has expired. Please place a new order.
@elseif(!$manualPaymentDetails && $order->status === 'pending_payment')
This manual payment method is temporarily unavailable. Contact the store before sending payment.
@endif
@endif
@if($order->manualPaymentRefunds->isNotEmpty())
Refunds
@foreach($order->manualPaymentRefunds as $refund)
₱{{ number_format($refund->amount,2) }} refunded · reference ending {{ $refund->reference_last4 }}
{{ $refund->processed_at->format('M d, Y h:i A') }} · {{ $refund->reason }}
@if(!$refund->acknowledged_at)
@else
Refund receipt acknowledged.
@endif
@endforeach
@endif
@endif
@if(in_array($order->status, ['pending_payment','confirmed'], true)
&& !(\App\Utils\EcommerceManualPaymentService::isManualMethod($order->payment_method) && in_array($order->payment_status,['submitted','partial','paid'],true)))
Delivery address
{{ data_get($order->delivery_address,'address_line_1') }}
{{ data_get($order->delivery_address,'address_line_2') }}
{{ data_get($order->delivery_address,'barangay') }} {{ data_get($order->delivery_address,'city') }}
{{ data_get($order->delivery_address,'province') }} {{ data_get($order->delivery_address,'postal_code') }}
@endif