{{ $reference }}
{{ isset($requestContext['final_total']) ? number_format((float) $requestContext['final_total'], 2) : '-' }}
{{ isset($requestContext['product_count']) ? number_format((float) $requestContext['product_count'], 2) : '-' }}
{{ optional($approvalRequest->expires_at)->format('M d, Y h:i A') ?: '-' }}
@foreach($requestActions as $action) {{ $actionLabels[$action] ?? ucfirst(str_replace('_', ' ', $action)) }} @endforeach
| Product | SKU | Quantity | Unit price | Line discount | Line total |
|---|---|---|---|---|---|
| {{ $product['name'] ?? 'Product' }} | {{ !empty($product['sku']) ? $product['sku'] : '-' }} | {{ number_format((float) ($product['quantity'] ?? 0), 2) }} | {{ number_format((float) ($product['unit_price'] ?? 0), 2) }} | @if($lineDiscount > 0) {{ number_format($lineDiscount, 2) }}{{ $lineDiscountType === 'percentage' ? '%' : '' }} @else - @endif | {{ number_format((float) ($product['line_total'] ?? 0), 2) }} |
| Items subtotal | {{ number_format((float) ($salePreview['subtotal'] ?? 0), 2) }} |
|---|---|
| Invoice discount | @php $invoiceDiscount = (float) ($salePreview['invoice_discount_amount'] ?? 0); $invoiceDiscountType = $salePreview['invoice_discount_type'] ?? 'fixed'; @endphp @if($invoiceDiscount > 0) {{ number_format($invoiceDiscount, 2) }}{{ $invoiceDiscountType === 'percentage' ? '%' : '' }} @else - @endif |
| Final total | {{ isset($salePreview['final_total']) ? number_format((float) $salePreview['final_total'], 2) : '-' }} |
No POS requests are waiting for approval.
History filters
Decision history
| Time | Status | Action | Transaction | Branch | Requested by | Decision by | Reference |
|---|---|---|---|---|---|---|---|
| {{ optional($decisionTime)->format('M d, Y h:i A') }} | {{ strtoupper($log->status) }} | {{ $actionLabels[$log->action_type] ?? ucfirst(str_replace('_', ' ', $log->action_type)) }} | @if(!empty($log->transaction)) {{ $log->transaction->invoice_no ?: '#'.$log->transaction_id }} @else {{ $log->transaction_id ? '#'.$log->transaction_id : '-' }} @endif | {{ $log->location->name ?? 'Not assigned' }} | {{ optional($log->requester)->user_full_name ?: 'Unknown user' }} | {{ optional($decisionUser)->user_full_name ?: '-' }} | {{ $log->approval_reference }} |
| No manager approval history matches the selected filters. | |||||||