@extends('admin.layout.master') @section('title','Frontdesk Report || '.$report_title) @section('content') @if($invoice)
@section('page_title', "Receipt Voucher") @include('admin.layout.page_title_header_with_print')
@include("frontdesk.report.report_header",['invoice_warehouse'=>$invoice])

Date: {{$invoice->date}}

Equals:

{{ get_voucher_type($invoice->voucher_type)}} {{__("obs.voucher")}}

VAT Registration No: 310495922800003

Voucher Number: {{$invoice->fd_invoice->invoice_no}}

Booking Number: {{$invoice->reservation->checkin_code ?? $invoice->reservation->resv_code ?? ''}}

Received From Mr.
{{party_name($invoice->party_id)}}
Amount Equal
@php $discount = $invoice->child_invoice->where('reservation_id',$invoice->reservation_id)->where('ledger_id',getInitDataWithKeyWord('discount')->ledger_id)->sum('amount'); $commission = $invoice->child_invoice->where('reservation_id',$invoice->reservation_id)->where('ledger_id',getInitDataWithKeyWord('commission')->ledger_id)->sum('amount'); $amount = $invoice->amount - ( $discount + $commission); @endphp {{getNumberInWords($amount)." (".$amount.")"}} SAR
Payment type
@if($invoice->voucher_type != 5) {{cash_bank_name($invoice->fd_invoice->journals->where('type',0)->first()->ledger_id)}} @else {{cash_bank_name($invoice->ledger_id)}} {{-- {{ $invoice->fd_invoice->journals->where('type',0)->first()->cash_bank->name_eng ?? $invoice->fd_invoice->journals->where('type',0)->first()->cash_bank->name_eng }} --}} @endif
And This For
{{-- Rental Amount - Room - 221 --}}
Comments
{{$invoice->fd_invoice->note}}
{{__("obs.receiver_name")}}
{{user_name($invoice->created_by)}}

....................

{{__("obs.Cashier")}}

....................

{{__("obs.manager")}}

....................

@endif @endsection @section('script') @endsection