@extends('layouts.app') @section('content')
| {{ app()->getLocale() == 'ar' ? 'رقم السند' : 'Voucher #' }} | {{ app()->getLocale() == 'ar' ? 'التاريخ' : 'Date' }} | {{ app()->getLocale() == 'ar' ? 'العميل' : 'Customer' }} | {{ app()->getLocale() == 'ar' ? 'المبلغ' : 'Amount' }} | {{ app()->getLocale() == 'ar' ? 'السبب' : 'Reason' }} | {{ app()->getLocale() == 'ar' ? 'الحالة' : 'Status' }} | {{ app()->getLocale() == 'ar' ? 'الإجراءات' : 'Actions' }} |
|---|---|---|---|---|---|---|
| {{ $voucher->voucher_number }} | {{ $voucher->voucher_date->format('Y-m-d') }} | {{ $voucher->customer->name ?? '-' }} | {{ number_format($voucher->amount, 2) }} SAR | {{ $voucher->reason }} | {{ strtoupper($voucher->status) }} |