{{ Form::number('amount',null,['class'=>'form-control ','id'=>'advance_amount','required'] )}}
@error('amount')
{{ $message }}
@enderror
{{-- @dd(isset($advance)) --}}
get_invoice_other_info)) null @else style="display: none" @endif>
@if(isset($advance->get_invoice_other_info))
{{ Form::text('check_date', $advance->get_invoice_other_info ? carbon()->parse($advance->get_invoice_other_info->check_date)->format('d-m-Y') : null, ['class' => 'form-control fd_bs_datepicker cheque_date', 'id' => 'cheque_date']) }}
@else
{{ Form::text('check_date',null, ['class' => 'form-control fd_bs_datepicker cheque_date', 'id' => 'cheque_date']) }}
@endif
@error('check_date')
{{ $message }}
@enderror
get_invoice_other_info)) null @else style="display: none" @endif>
@if(isset($advance->get_invoice_other_info))
{{ Form::text('cheque_or_transaction_number',$advance->get_invoice_other_info ? $advance->get_invoice_other_info->cheque_or_transaction_number: null , ['class' => 'form-control cheque_number', 'id' => 'cheque_number']) }}
@else
{{ Form::text('cheque_or_transaction_number',null , ['class' => 'form-control cheque_number', 'id' => 'cheque_number']) }}
@endif
@error('cheque_or_transaction_number')
{{ $message }}
@enderror