@extends('layouts.app') @php $moduleName = ' Payment Voucher'; $ModelName = 'App\Models\PaymentVoucher'; $ParentRouteName = 'land'; // Donot Delete these variables if not necessary $formActionRoute = ""; $submitBtnTxt = ""; $voucher_attachments = []; if($action=='create'){ $formActionRoute = route('land.rebate_payment.store'); $breadcrumbCurrentName = __('lang.create'); $submitBtnTxt = 'Save'; $land_id = $land_rebate_schedule->land_id; } else if($action=='edit'){ $formActionRoute = route('land.rebate_payment.store',['id' => $payment_voucher->id]); $breadcrumbCurrentName = __('lang.edit'); $submitBtnTxt = 'Update'; $land_id = $payment_voucher->land_rebate_items->first()->land_id; $voucher_attachments = $payment_voucher->voucher_attachments; $voucher_reference = $payment_voucher->references; } $createItemName = $breadcrumbCurrentName . $moduleName; $breadcrumbCurrentIcon = 'add_box'; $breadcrumbMainName = $moduleName; $breadcrumbMainIcon = 'fas fa-receipt'; @endphp @section('title') {{ $moduleName }}->{{ $createItemName }} @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @section('content')

{{ $createItemName }}


@csrf
{{--
--}}
@include('admin.partials.bank',[ 'data'=>[ 'made_of_payment' => $payment_voucher->mode_of_payment ?? null , 'bank_id' => $payment_voucher->bank_id ?? null ] ]) @include('layouts.components.input_field', [ 'col' => 6, 'name' => 'cheque_no', 'label' => __('lang.instrument_no'), 'value' => $payment_voucher->cheque_no, 'labelClass' => 'required', 'parent_class' => 'cheque_field', ]) @include('layouts.components.date_field', [ 'col' => 6, "name" => "cheque_date", "label" => __('lang.instrument_date'), 'value' => $payment_voucher->cheque_date, 'labelClass' => 'required', 'parent_class' => 'cheque_field', 'focused' => true, ]) @include('layouts.components.date_field', [ 'col' => 12, "name" => "voucher_date", "label" => __('lang.voucher_date'), 'value' => $payment_voucher->voucher_date, 'labelClass' => 'required', ])
@include('admin.partials.reference',['voucher_reference' => $voucher_reference])
@include('layouts.components.input_field', [ 'col' => '12', 'name' => 'particulars', 'id' => 'particulars', 'label' => __('lang.particulars'), 'value' => $payment_voucher->particulars ])
@include('includes.multiple-images')

Voucher Details
@include('layouts.components.input_field', [ 'col' => '6', 'type' => 'number', 'parent_class' => 'pull-right', 'name' => 'pv_total_amount', 'label' => __('lang.total_amount'), 'readonly' => true, 'value' => "0" ])
{{__('lang.back')}}
@stop @push('include-css') @endpush @push('include-js') @endpush