HOTEL RESTAURANT

Jl. Contoh No. 123, Jakarta

Telp: (021) 1234-5678

Email: info@hotelrestaurant.com

No. Transaksi: {{ $transaction->transaction_number }}

Meja: {{ $transaction->restaurantTable->table_number }}

Tanggal: {{ $transaction->created_at->format('d/m/Y H:i') }}

Kasir: {{ $transaction->cashier->name }}

@foreach($transaction->orders as $order)
{{ Str::limit($order->restaurantMenu->name, 20) }}
{{ $order->quantity }}
Rp {{ number_format($order->total_price, 0, ',', '.') }}
@if($order->notes)
Note: {{ Str::limit($order->notes, 30) }}
@endif @endforeach
Subtotal: Rp {{ number_format($transaction->subtotal, 0, ',', '.') }}
Pajak ({{ \App\Models\Setting::getTaxPercentage() }}%): Rp {{ number_format($transaction->tax_amount, 0, ',', '.') }}
Service ({{ \App\Models\Setting::getServiceChargePercentage() }}%): Rp {{ number_format($transaction->service_charge, 0, ',', '.') }}
TOTAL: Rp {{ number_format($transaction->total_amount, 0, ',', '.') }}
Bayar: Rp {{ number_format($transaction->paid_amount, 0, ',', '.') }}
Kembalian: Rp {{ number_format($transaction->change_amount, 0, ',', '.') }}
Metode: {{ ucfirst(str_replace('_', ' ', $transaction->payment_method)) }}