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

Receipt Voucher

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

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

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



RECEIPT VOUCHER


Voucher No : {{ $receipt_voucher->voucher_no}} Account Name : {{$receipt_voucher->accountLedger->account_name}}
Date : {{date('d-m-Y', strtotime($receipt_voucher->receipt_date))}} Cheque No : {{$receipt_voucher->cheque_no}}
receipt Type : {{$receipt_voucher->receipt_type}} Cheque Date : {{$receipt_voucher->cheque_date ? date('d-m-Y', strtotime($receipt_voucher->cheque_date)): ''}}
Receipt To : {{$receipt_voucher->voucher_type == 'sales receipt' ? $receipt_voucher->receiptTo->name : $receipt_voucher->receiptTo->account_name}} Remarks : {{$receipt_voucher->remarks}}
@foreach($receipt_voucher->receiptVoucherDetails as $receipt_voucher_detail) @endforeach
Bill No. Amount
{{$receipt_voucher_detail->bill_no}} {{$receipt_voucher_detail->received_amount}}
Total Amount AED : {{$receipt_voucher->total_amount}}
@php $t_amount = new NumberFormatter("en", NumberFormatter::SPELLOUT); $num = explode('.', $receipt_voucher->total_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