@extends('admin.layout.app') @section('title','Payment Voucher') @push('headerscript') @endpush @section('content')

Payment Voucher

logo_image)}}" alt="logo" width="150">

{{Helper::getBusinessData()->business_name}}

{{Helper::getBusinessData()->address}}



PAYMENT VOUCHER


Voucher No : {{ $payment_voucher->voucher_no}} Account Name : {{$payment_voucher->accountLedger->account_name}}
Date : {{date('d-m-Y', strtotime($payment_voucher->payment_date))}} Cheque No : {{$payment_voucher->cheque_no}}
Payment Type : {{$payment_voucher->payment_type}} Cheque Date : {{$payment_voucher->cheque_date ? date('d-m-Y', strtotime($payment_voucher->cheque_date)): ''}}
Paid To : {{$payment_voucher->voucher_type == 'supplier_payment' ? $payment_voucher->paidTo->name : $payment_voucher->paidTo->account_name}} Remarks : {{$payment_voucher->remarks}}
@foreach($payment_voucher->paymentVoucherDetails as $payment_voucher_detail) @endforeach
Invoice No. Amount
{{$payment_voucher_detail->invoice_no}} {{$payment_voucher_detail->amount}}
Total Amount AED : {{$payment_voucher->paid_amount}}
@php $t_amount = new NumberFormatter("en", NumberFormatter::SPELLOUT); $num = explode('.', $payment_voucher->paid_amount); @endphp Amount in Words AED : {{$t_amount->format($num[0]).' Dirhams'}} {{isset($num[1]) ? 'And '.$t_amount->format($num[1]).' Fils Only': 'Only'}}
@include('admin.advisor.models.sendMail') @include('admin.advisor.models.whatsapp') @endsection @push('footerscript') @endpush