@extends('layouts.page') @section('title') Material Order Edit @endsection @section('navs') @endsection @section('content')
{!! Form::open(['url' => route('cdp_material_order.update', [$cdp_material_order->id])]) !!} @csrf {!! EasyForm::setErrors($errors) !!}
CDP Material Order Details {!! EasyForm::select('project_year', $cdp_material_order->label('project_year'), old('project_year', $cdp_material_order->project_year), AppHelper::options('cdp_ttp_project_years')) !!} @if (Auth::user()->zone()) {!! EasyForm::viewSelect('zone', $cdp_material_order->label('zone'), $cdp_material_order->zone, AppHelper::options('it_zones')) !!} @else {!! EasyForm::select('zone', $cdp_material_order->label('zone'), old('zone', $cdp_material_order->zone), AppHelper::options('it_zones')) !!} @endif
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection