@extends('admin.admin_dashboard') @section('admin')
Payment Voucher Decision

📌 Voucher ID: {{ $voucher->grn_id }}

@php $formattedAmount = number_format($voucher->net_pay, 0); // Formats as 1,250.00 $formatter = new NumberFormatter("en", NumberFormatter::SPELLOUT); $amountInWords = ucfirst($formatter->format($voucher->net_pay)); @endphp

💵 Payment Amount: UGX{{ $formattedAmount }} ({{ $amountInWords }} only)

@csrf
@csrf

@endsection