@extends('layouts.app') @section('title', 'تفاصيل أذن الصرف') @section('content')
رقم الأذن: {{ $document->document_number }}
رقم الأذن
{{ $document->document_number }}
التاريخ
{{ $document->document_date->format('Y-m-d') }}
المخزن
{{ $document->fromWarehouse->name ?? '-' }}
موقع الإنتاج
@if($document->recipient instanceof \App\Models\ProductionSiteOrLine) {{ $document->recipient->name ?? '-' }} @else - @endif
إجمالي الكمية
{{ number_format($document->getTotalQuantity(), 2) }}
إجمالي التكلفة
{{ number_format($document->getTotalCost(), 2) }}
الحالة
| # | الصنف | الوحدة | الكمية | سعر الوحدة | الإجمالي |
|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->item->name ?? '-' }} | {{ $item->unit->name ?? '-' }} | {{ number_format($item->quantity, 2) }} | {{ number_format($item->unit_cost, 2) }} | {{ number_format($item->quantity * $item->unit_cost, 2) }} |
| لا توجد أصناف | |||||
{{ $document->description }}