@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")

{{__("obs.date")}}: {{$invoice->date}}

{{__("obs.equals")}}:

{{ get_voucher_type($invoice->type)}} {{__("obs.voucher")}} {{-- {{$invoice->type == 5 ? __("obs.refund").' '.__("obs.voucher") : ($invoice->type == 1 ? __("obs.advance").' '.__("obs.voucher") : __("obs.receipt").' '.__("obs.voucher"))}} --}}

{{__("obs.vat")}} {{__("obs.registration")}} {{__("obs.no")}}: 310495922800003

{{__("obs.voucher")}} {{__("obs.no")}}: {{$invoice->invoice_no}}

{{--

Booking Number: {{$invoice->journals->first()->reservation->checkin_code ?? $invoice->journals->first()->reservation->resv_code ?? ''}}

--}}
{{__("obs.received_from")}} {{__("obs.mr")}}
{{party_name($invoice->journals->first()->party_id)}}
{{__("obs.amount")}} {{__("obs.equal")}}
{{getNumberInWords($total_amount)." (".$total_amount.")"}} {{__("obs.sar")}}
{{__("obs.payment_type")}}
{{ $invoice->journals->where('type',0)->first()->cash_bank ? $invoice->journals->where('type',0)->first()->cash_bank->name_eng : null}}
{{__("obs.and_this_for")}}
{{-- Rental Amount - Room - 221 --}}
{{__("obs.comments")}}
{{$invoice->note}}
@foreach ($invoice_details as $data) @endforeach
{{__("obs.hotel")}} {{__("obs.date")}} {{__("obs.reservation")}} {{__("obs.no")}} {{__("obs.checkin")}} {{__("obs.no")}} {{__("obs.commission")}} {{__("obs.discount")}} {{__("obs.amount")}}
{{$data['hotel_name']}} {{$data['date']}} {{$data['reservation_no']}} {{$data['checkin_code']}} {{$data['commission']}} {{$data['discount']}} {{$data['amount']}}
{{__("obs.total")}} {{$total_amount}}
{{__("obs.receiver_name")}}
{{user_name($invoice->created_by)}}

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

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

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

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

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

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