@extends('layouts.page')
@section('title')
@endsection
@section('navs')
Back
@endsection
@section('content')
{!! Form::open(['url' => route('mof.breakup_save',[$mof_project->id, $mof_breakup->id]), 'id' => 'idForm']) !!}
{!! EasyForm::setErrors($errors) !!}
Warning: Undefined variable $mof in /var/www/html/pruthvi/resources/views/mof/breakup_create.blade.php on line 23
Warning: Attempt to read property "books" on null in /var/www/html/pruthvi/resources/views/mof/breakup_create.blade.php on line 23
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/html/pruthvi/resources/views/mof/breakup_create.blade.php on line 23
@if((Auth::user()->hasAnyRole(['admin','zoe','am','aam','sc','spc','dc']) && in_array($mof->status, ['created','need_clarifications'])) || Auth::user()->hasAnyRole(['Second Inline','Exe']) && Auth::user()->hasAnyDepartment(['logs']) )
{!! EasyForm::select('name', $mof_breakup->label('name'), old('name', $mof_breakup->id ? $mof_breakup->name : null),$booknames,['class' => 'field'])!!}
{!! EasyForm::input('quantity', $mof_breakup->label('quantity'), old('quantity', $mof_breakup->quantity),['class' => 'field'])!!}
@else
{!! EasyForm::select('name', $mof_breakup->label('name'), old('name', $mof_breakup->id ? $mof_breakup->name : null),$booknames,['class' => 'field','readonly' => true])!!}
{!! EasyForm::input('quantity', $mof_breakup->label('quantity'), old('quantity', $mof_breakup->quantity),['class' => 'field', 'readonly'=> true])!!}
@endif
{!! EasyForm::select('language', $mof_breakup->label('language'), old('language', $mof_breakup->language), AppHelper::options('our_languages'))!!}
{!! EasyForm::submit('Submit') !!}
{!! Form::close() !!}
@endsection