@extends('layouts.admin-simple') @section('title', 'Material Issue Report') @section('breadcrumb') @endsection @section('page-title')

Material Issue Report

Material issues dispatched against material requests

@endsection @section('content')
filter_list Filters
receipt_long Material Issue History ({{ $transactions->total() }} records)
Loading...
Loading issue data...
@forelse($transactions as $fulfillment) @php $tx = $fulfillment->outgoingTransaction; $divisionName = $tx?->division?->division_name ?? $tx?->project?->projectDivision?->division_name ?? '-'; $projectDisplay = $tx?->project ? ($tx->project->project_number . ' - ' . $tx->project->project_name) : 'N/A'; @endphp @empty @endforelse
MR Number Issue Date Project Division Item Code Description Qty Issued Issue Type Actions
{{ $tx?->material_request_number ?? '-' }} {{ $fulfillment->created_at->format('d M Y') }} {{ Str::limit($projectDisplay, 30) }} {{ $divisionName }} {{ $fulfillment->item?->item_code ?? '-' }} {{ Str::limit($fulfillment->item?->item_description ?? '-', 35) }} {{ number_format($fulfillment->quantity_fulfilled, 2) }} @if(in_array($fulfillment->fulfillment_type, ['inventory', 'inventory_dispatch'])) Inventory Dispatch @elseif($fulfillment->fulfillment_type === 'direct_delivery') Direct Delivery @elseif(in_array($fulfillment->fulfillment_type, ['project_transfer', 'transfer', 'material_transfer'])) Project Transfer @else {{ ucfirst(str_replace('_', ' ', $fulfillment->fulfillment_type)) }} @endif @if($tx) visibility @else - @endif
receipt_long
No Material Issues Found

No material issues match your current filters.

@if($transactions->hasPages()) @endif
@endsection @push('styles') @endpush @push('scripts') @endpush