@extends('layouts.page') @section('title') IT Requisitions Edit @endsection @section('navs') Back @endsection @section('content')
{!! Form::open(array('route' => array('it_requisition.update', $itr->id))) !!} {!! EasyForm::setErrors($errors) !!} {!! EasyForm::setColSizes(2, 8) !!} {!! EasyForm::viewInput('name', $itr->label('name'),$itr->name)!!} {!! EasyForm::viewInput('mobile', $itr->label('mobile'),$itr->mobile)!!} {!! EasyForm::viewInput('designation', $itr->label('designation'), AppHelper::dropdown($itr->designation,'employee_designations'))!!} {!! EasyForm::viewInput('date_of_joining', $itr->label('date_of_joining'), AppHelper::date( $itr->date_of_joining),['disabled'])!!} {!! EasyForm::viewInput('entity', $itr->label('entity'),AppHelper::dropdown($itr->entity,'entities'))!!} {!! EasyForm::viewInput('user_department', $itr->label('user_department'), AppHelper::dropdown($itr->user_department,'departments'))!!} IT Requisition: (Tick/Select relevant option)
{!! EasyForm::viewInput('new_system', $itr->label('new_system'),$itr->new_system,['Desktop'=>'Desktop','Laptop'=>'Laptop','Not needed'=> 'Not needed'])!!}
{!! Form::label('dongle',' Dongle ' ) !!} {!! Form::hidden('dongle',false ) !!} {!! Form::checkbox('dongle', true,$itr->dongle, ['disabled']) !!}
{!! Form::label('system_authorization',' Authorization to system ' ) !!} {!! Form::hidden('system_authorization',false ) !!} {!! Form::checkbox('system_authorization', true,$itr->system_authorization, ['disabled']) !!}
{!! Form::label('azure',' Azure ' ) !!} {!! Form::hidden('azure',false ) !!} {!! Form::checkbox('azure', true,$itr->azure,['disabled']) !!}
{!! Form::label('official_mail_id',' Official Mail Id ' ) !!} {!! Form::hidden('official_mail_id',false ) !!} {!! Form::checkbox('official_mail_id', true,$itr->official_mail_id,['disabled']) !!}
{!! Form::label('pb_access',' Konverra :' ) !!} {!! Form::hidden('pb_access',false ) !!} {!! Form::checkbox('pb_access', true,$itr->pb_access,['disabled']) !!}
{!! EasyForm::viewInput('other', $itr->label('other'),$itr->other)!!} {!! EasyForm::input('email', $itr->label('email'), old('email', $itr->email), ['type'=>'email'])!!} @if ($itr->dongle== true) {!! EasyForm::input('dongle_num', $itr->label('dongle_num'), old('dongle_num', $itr->dongle_num), ['type'=>'mobile'])!!} @endif {!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection