@extends('layouts.page') @section('title') (Non) Program Indent Create New @endsection @section('navs') @endsection @section('content')
{!! Form::open(['url' => route('admin_indent.save_from_request', [$purchase_request->id ,$type])]) !!} @csrf {!! EasyForm::setErrors($errors) !!} {!! EasyForm::setColSizes(2, 10) !!} {!! EasyForm::select('entity', $admin_indent->label('entity'), old('entity', ''), $entities) !!} {!! EasyForm::select('comparison_id', $admin_indent->label('comparison_id'), old('comparison_id', ''), $purchase_request->comparisonOptions()) !!} @if (Auth::user()->isAdmin() || Auth::user()->hasAnyDepartment(['acc'])) {!! EasyForm::select('type', $admin_indent->label('type'), old('type', ''), AppHelper::options('admin_indent_types')) !!} @endif {!! EasyForm::submit('Create New Indent') !!} {!! Form::close() !!}
@endsection