@extends('layouts.admin-simple') @section('title', 'Incoming Operation Details') @section('breadcrumb')
{{ $operation->operation_type_label }} - {{ $operation->status }}
| Operation Number: | {{ $operation->operation_number }} |
| Operation Type: | {{ $operation->operation_type_label }} |
| Operation Date: | {{ $operation->operation_date->format('d M, Y') }} |
| Status: | {{ ucfirst($operation->status) }} |
| Supplier: | {{ $operation->supplier->name }} |
| MR Reference: | {{ $operation->materialRequest->material_request_number ?: 'MR-' . str_pad($operation->material_request_id, 6, '0', STR_PAD_LEFT) }} |
| Division: | {{ $operation->division }} |
| Delivery Document: | attachment View Uploaded File |
{{ $operation->notes }}
| Item | Quantity | Batch | Production Date | Expiry Date | Quality Status |
|---|---|---|---|---|---|
|
{{ $item->item->item_description ?? 'Unknown Item' }} {{ $item->item->item_code ?? 'NO-CODE' }} |
{{ number_format($item->quantity_delivered, 2) }} {{ $item->item->unit_of_measure ?? 'units' }} | {{ $item->batch_number ?: '-' }} | {{ $item->production_date ? $item->production_date->format('d M, Y') : '-' }} | {{ $item->expiry_date ? $item->expiry_date->format('d M, Y') : '-' }} | {{ ucfirst($item->quality_status) }} |
| No items found | |||||
| Received By: | {{ $operation->receiver->name ?? 'Unknown' }} |
| Received By Name: | {{ $operation->received_by_name ?: '-' }} |
| Created At: | {{ $operation->created_at->format('d M, Y H:i') }} |
| Total Amount: |
{{ number_format($operation->total_amount_aed ?? 0, 2) }}
@if($operation->currency !== 'AED')
{{ $operation->currency }} {{ number_format($operation->total_amount ?? 0, 2) }} @endif |
| LPO Number: | {{ $operation->lpo_number }} |
| Currency: | {{ $operation->currency }} (Rate: {{ number_format($operation->exchange_rate, 4) }}) |
| LPO Number: | {{ $operation->lpo_number }} |
| Delivery Note: | {{ $operation->delivery_note_number }} |