@extends('layouts.admin-simple') @section('title', 'Incoming Operations') @section('breadcrumb') @endsection @section('page-title')

Incoming Operations

Enhanced construction materials receiving system

@can('warehouse.incoming.create')
add New Operation
@endcan
@endsection @section('content') @if(session('success')) @endif @if(session('error')) @endif
filter_list Filters
list Operations List ({{ $operations->total() }} total operations)
Loading...
Loading operations data...
@forelse($operations as $operation) @empty @endforelse
Operation # Type Date Supplier/Source Status Total (AED) Actions
input
{{ $operation->operation_number }}
ID: {{ $operation->id }}
@php $typeColors = [ 'supplier_delivery' => 'primary', 'site_return' => 'warning', 'transfer_in' => 'info' ]; $typeColor = $typeColors[$operation->operation_type] ?? 'secondary'; @endphp {{ ucfirst(str_replace('_', ' ', $operation->operation_type)) }} {{ \Carbon\Carbon::parse($operation->operation_date)->format('d M Y') }}
@if($operation->supplier)
{{ $operation->supplier->name }}
@if($operation->supplier->supplier_code) Code: {{ $operation->supplier->supplier_code }} @endif @else - @endif
@php $statusColors = [ 'completed' => 'success', 'pending_inspection' => 'warning', 'approved' => 'info', 'rejected' => 'danger' ]; $statusColor = $statusColors[$operation->status] ?? 'secondary'; @endphp {{ ucfirst(str_replace('_', ' ', $operation->status)) }} {{ number_format($operation->total_amount_aed ?? 0, 2) }}
inbox
No Operations Found

There are no incoming operations to display.

@can('warehouse.incoming.create') add Create First Operation @endcan
@if($operations->hasPages()) @endif
@endsection @push('styles') @endpush @push('scripts') @endpush