@extends('layouts.app') @section('title','Detail Penjualan') @section('page-title','Detail Penjualan') @section('content')
{{ $sale->created_at->format('d F Y, H:i') }}
{{ $sale->customer?->name ?? 'Pelanggan Umum' }}
{{ $sale->payment_method_label }}
{{ $sale->notes }}
| Produk | Qty | Harga | Subtotal |
|---|---|---|---|
| {{ $item->product?->name }} | {{ $item->quantity }} | Rp {{ number_format($item->unit_price,0,',','.') }} | Rp {{ number_format($item->subtotal,0,',','.') }} |
| Diskon | - Rp {{ number_format($sale->discount,0,',','.') }} | ||
| Pajak | Rp {{ number_format($sale->tax,0,',','.') }} | ||
| Total | Rp {{ number_format($sale->total,0,',','.') }} | ||