@extends((( Request::ajax()) ? 'layouts.model' : 'layouts.app' )) @section('include_css') @endsection @section('content') @if($page=='cheque') @endif

{{$header}} {{$cheque->cheque_code ?? ''}}

@csrf

Cheque Details

{{formDate('Create Date', 'date', $cheque->date ?? \Carbon\Carbon::today(), array( 'class' => 'form-control' , 'id' => 'date'))}}
{{formDropdown('Bank', 'bank',getConfig('BANKS'),isset($cheque->bank) ? $cheque->bank : getConfigValue('BANKS'), array('class' => 'form-control', 'id' => 'bank'))}}
{{ formText('Cheque #', 'cheque_no', $cheque->cheque_no ?? '', array( 'class' => 'form-control validate[required]' , 'id' => 'cheque_no'))}}
{{formDropdown('Payer Name', 'payer',[], '', array('data-loading_value' => $cheque->payer ?? '' ,'class' => 'common_auto_load_data form-control select2 validate[required]', 'data-element_type' => 'payer', 'id' => 'payer','placeholder'=> 'Payer'))}}

cash_cheque=='1') checked @endif value="1"/>

crossed=='1') checked @endif value="1"/>
crossed=='0') checked @endif value="0"/>
{{formDate('cheque_date', 'cheque_date', $cheque->cheque_date ?? '', array( 'class' => 'form-control' , 'id' => 'cheque_date'))}}
{{formText('Amount', 'amount', $cheque->amount ?? '', array( 'class' => 'form-control' , 'id' => 'amount'))}}
{{ formText('Remarks', 'remarks', $cheque->remarks ?? '', array( 'class' => 'form-control' , 'id' => 'remarks'))}}
@endsection @section('include_js') @endsection @section('custom_script') @endsection