@extends('admin.layout.app') @section('more-head') @endsection @section('main-content')

OPERATIONS MANAGEMENT SYSTEM

WIP REPORT @if ($_SESSION['consignee'] != 'all') ({{ App\Model\consignee::find($_SESSION['consignee'])->name }}) @endif

@if ($_SESSION['consignee'] == 'all') @endif @foreach ($wips as $wip) @if ($_SESSION['consignee'] == 'all') @endif @endforeach
No.FactoryDate of Entry Date Type of Product WIP(Tonnes)
{{ $count++ }}.{{ strtoupper($wip->consignee->name) }}{{ $wip->created_at ? Carbon\Carbon::parse($wip->created_at)->format('j M Y g:i a') : null }} {{ $wip->date ? Carbon\Carbon::parse($wip->date)->format('jS F, Y') : null }} {{ optional($wip->type_of_product)->type_of_product }} {{ $wip->wip }}
{!! $wips->render() !!}
@endsection @section('more-scripts') @endsection