@extends('layouts.page') @section('title') (Non) Program Indents Pay To ({{ $type == 'person' ? 'Beneficiary' : ucfirst($type) }}) @endsection @section('navs') @endsection @section('content') @include ('admin_indent.js')
{!! Form::open(['url' => route('admin_indent_record.save', [$admin_indent->id, $type]),'files' => true, 'id' => 'idForm', 'autocomplete' => 'off']) !!} @csrf {!! EasyForm::setErrors($errors) !!} {!! EasyForm::dynamic('payment_to', 'Payment To', old('payment_to', ''), url('bank_account/query/'.$type.'/'), BankAccountHelper::search($type, null, old('payment_to')))!!} @if ($type == 'vendor' || $type == 'person' || $type == 'trustee')
If {{ ucfirst($type) }} not found click here to add
@endif @include('admin_indent_record.link_project') @if ($admin_indent->paytoBeneficiary || $admin_indent->canAddProjectCode()) {!! EasyForm::input('project_code', 'Project/Center Code (If any)', old('project_code', ''))!!} @endif {!! EasyForm::select('vendor_type', $admin_indent_record->label('vendor_type'), old('vendor_type', $type == 'employee' ? 'individual' : ''), AppHelper::options('vendor_types'), ['readonly' => ($type == 'employee'), 'onchange' => 'updateTds(this)'])!!} {!! EasyForm::select('type', $admin_indent_record->label('type'), old('type', ''), AppHelper::options('admin_indent_payment_types'), ['onchange' => 'toggleAdminRecordType(this)'])!!} @if ($admin_indent->type != 'imprest') @include ('admin_indent_record.category_entry') @endif @if ($admin_indent->type == 'imprest')
Warning: Undefined variable $admin_indent in /var/www/html/pruthvi/resources/views/admin_indent_record/create.blade.php on line 45

Warning: Attempt to read property "consolidated" on null in /var/www/html/pruthvi/resources/views/admin_indent_record/create.blade.php on line 45
{!! EasyForm::input('indent_amount[]', $admin_indent_record->label('indent_amount'), old('indent_amount', $amount))!!} @endif {!! EasyForm::textarea('comments', $admin_indent_record->label('comments'), old('comments', ''), ['rows' => 6])!!}
{{ $admin_indent_record->label('attachment') }}
Only Image/PDF with Max. 5MB
{!! Form::file('attachment[]', ['class' => 'form-control smallfile', 'accept' => 'image/jpg,image/jpeg,image/png,application/pdf'])!!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection