@extends('layouts.app') @section('title') All MIR List @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

Material Issue Request List @permission(['mir'])
@endpermission

@if(Session::has('success')) @endif @if( $material_issue_requests->count() > 0 ) @foreach( $material_issue_requests as $list ) @endforeach @endif
MIR # PR # Department Request By Request date Release Status Action
MIR-{{$list->id }} @if($list->pr_id > 0 ) PR-{{$list->pr_id}} @else {{'Without Pr'}}   ( @if($cancelCount[$list->id] > 0 ) Cancel @elseif($approvalCount[$list->id] > 0 ) Approval pending @else Approved @endif ) @endif {{$list->department? $list->department->department_name : 'NULL' }} {{ $list->request_person_name }} {{ date('d-F-Y' , strtotime($list->request_date)) }} {{ucfirst($list->status)}} @if($list->status == 'pending') @endif
@stop @section('js') @stop