@extends('AdminLte.template')
@section('title')
{{'Material Request'}}
@endsection
@section('ExternalCss')
@parent
@endsection
@section('Content')
{{ Form::open(['action' => 'StoreMrController@create','autocomplete'=>'off']) }}
@if(isset($mrHeader))
@else
@endif
@if(isset($fromDate))
@endif
@php
if(isset($mrHeader)){
$departmentId = $mrHeader->department_id;
$departmentName = $mrHeader->department_name;
$mrNumber = $mrHeader->mr_id;
$mrDate = $mrHeader->mr_date;
$remarks = $mrHeader->remarks;
$readOnlyClass = "readOnlyBackground";
$readOnly = "readOnly";
}else{
$departmentId = "";
$departmentName = "";
$mrNumber = "";
$mrDate = date('Y-m-d');
$remarks = "";
$readOnlyClass = "";
$readOnly = "";
}
@endphp
@if($accessType == 'E')
+ Add
- Remove
@endif
@php
if(session()->get('messageType') == 'success'){
$class = "alert-success";
}else if(session()->get('messageType') == 'error'){
$class = "alert-danger";
}
@endphp
@if(session()->has('message'))
×
{{"Material Request (#" . session()->get('trnType').session()->get('trnId'). ")"}} {{session()->get('message')}}
@endif
Remark :
Note :
✱ - Required fields.
✱ - Required either fields.
@if($accessType == 'E')
@if($mrUserType == 'S')
@if(isset($mrHeader))
@else
@endif
@else
@if(isset($mrHeader))
@else
@endif
@endif
@if(isset($mrHeader))
@else
@endif
@endif
{{ Form::close() }}
@endsection
@section('BootstrapModals')
@endsection
@section('ExternalJs')
@endsection