@if($user_type=='provider') @include('partials._provider') @endif
{{ $pageTitle ?? trans('messages.list') }}
@if($auth_user->can('bank list')) {{ __('messages.back') }} @endif
{{ Form::model($bankdata ?? '',['method' => 'POST','route'=>'bank.store', 'enctype'=>'multipart/form-data', 'data-toggle'=>"validator" ,'id'=>'bank'] ) }} {{ Form::hidden('id') }} {{ Form::hidden('type',$type) }}
@if(auth()->user()->hasAnyRole(['admin','demo_admin']))
{{ Form::label('name', __('messages.select_name',[ 'select' => __('messages.user') ]).' *',['class'=>'form-control-label'],false) }}
{{ Form::select('provider_id', [$providerdata->id => $providerdata->display_name],$providerdata->id, [ 'class' => 'select2js form-group', 'id' => 'provider_id', 'required', 'data-placeholder' => __('messages.select_name',[ 'select' => __('messages.user') ]), 'data-ajax--url' => route('ajax-list', ['type' => 'all_user']), 'readonly' => 'readonly' ]) }}
@endif
{{ Form::label('bank_name',trans('messages.bank_name').' *',['class'=>'form-control-label'], false ) }} {{ Form::text('bank_name',old('bank_name'),['placeholder' => trans('messages.bank_name'),'class' =>'form-control','required']) }}
{{ Form::label('branch_name',trans('messages.branch_name').' *',['class'=>'form-control-label'], false ) }} {{ Form::text('branch_name',old('branch_name'),['placeholder' => trans('messages.branch_name'),'class' =>'form-control','required']) }}
{{ Form::label('account_no',trans('messages.account_no').' *',['class'=>'form-control-label'], false ) }} {{ Form::text('account_no',old('account_no'),['placeholder' => trans('messages.account_no'),'class' =>'form-control','required']) }}
{{ Form::label('ifsc_no',trans('messages.ifsc_no').' *',['class'=>'form-control-label'], false ) }} {{ Form::text('ifsc_no',old('ifsc_no'),['placeholder' => trans('messages.ifsc_no'),'class' =>'form-control','required']) }}
{{ Form::label('mobile_no',trans('messages.mobile_no'),['class'=>'form-control-label'], false ) }} {{ Form::text('mobile_no',old('mobile_no'),['placeholder' => trans('messages.mobile_no'),'class' =>'form-control']) }}
{{ Form::label('aadhar_no',trans('messages.aadhar_no').' *',['class'=>'form-control-label'], false ) }} {{ Form::text('aadhar_no',old('aadhar_no'),['placeholder' => trans('messages.aadhar_no'),'class' =>'form-control','required']) }}
{{ Form::label('pan_no',trans('messages.pan_no').' *',['class'=>'form-control-label'], false ) }} {{ Form::text('pan_no',old('pan_no'),['placeholder' => trans('messages.pan_no'),'class' =>'form-control','required']) }}
{{ Form::label('status',trans('messages.status').' *',['class'=>'form-control-label'],false) }} {{ Form::select('status',['1' => __('messages.active') , '0' => __('messages.inactive') ],old('status'),[ 'id' => 'role' ,'class' =>'form-control select2js','required']) }}
@if(getMediaFileExit($bankdata, 'bank_attachment')) @php $attchments = $bankdata->getMedia('bank_attachment'); $file_extention = config('constant.IMAGE_EXTENTIONS'); @endphp

{{ __('messages.attached_files') }}

@foreach($attchments as $attchment )