@extends('admin.layouts.app') @section('page-title', 'POS invoice') @section('body-class', 'inventory-preview pos-invoice-page') @push('styles') @endpush @push('scripts') @endpush @section('content')
| Product / SKU | Colour / Size | Quantity | Unit price (BDT) | Total (BDT) |
|---|---|---|---|---|
| {{ $line->product_name }}{{ $line->product_code }} · {{ $line->sku }} | {{ $line->colour !== '' ? $line->colour : 'Default' }} / {{ $line->size !== '' ? $line->size : 'Default' }} | {{ $line->quantity }} | {{ number_format($line->unit_price / 100, 2) }} | {{ number_format($line->line_total / 100, 2) }} |
Payment recorded · {{ $sale->units }} units sold
@if($sale->returns->isNotEmpty())| Receipt | Date | Type | Units | Refund (BDT) |
|---|---|---|---|---|
| RT{{ str_pad((string) $record->id, 6, '0', STR_PAD_LEFT) }} | {{ $record->created_at->timezone('Asia/Dhaka')->format('d M Y, h:i A') }} | {{ $record->kind === 'cancel' ? 'Cancellation' : 'Return' }} | {{ $record->units }} | {{ number_format($record->refund_amount / 100, 2) }} |