@extends('layouts.app') @section('title', 'Vouchers') @section('content')
| Voucher ID | Booking | Type | Date | Method | Amount (SAR) | BDT Amount | Actions |
|---|---|---|---|---|---|---|---|
| {{ $voucher->voucher_id }} | #{{ $voucher->booking->id ?? 'N/A' }} | @if($voucher->transactionType) @if($voucher->transactionType->type === 'debit') {{ $voucher->transactionType->name }} @else {{ $voucher->transactionType->name }} @endif @else N/A @endif | {{ $voucher->payment_date }} | @if($voucher->payment_method === 'cash') Cash @else Bank @endif | {{ number_format($voucher->amount, 2) }} | {{ number_format($voucher->bdt_amount, 2) }} | |
| No vouchers yet. Click "Add Voucher" to create a new one. | |||||||