@extends('layouts.app') @section('title', 'إذن إضافة مخزني ' . $stockIn->document_number . ' - '.config('app.name')) @section('breadcrumb') الرئيسية › المخزون › تفاصيل الإذن @endsection @push('styles') @endpush @section('content')
{{ $stockIn->document_number }}
التاريخ
{{ $stockIn->date?->format('Y-m-d') }}
{{ $stockIn->supplier?->name ?? '—' }}
{{ ($stockIn->settlement_type ?? 'on_account') === 'cash' ? 'دفع نقدي (1010)' : 'على ذمة المورد (2010)' }}
{{ $stockIn->reference }}
{{ $stockIn->notes }}
| {{ $line->item?->display_name ?? $line->item?->name_ar ?? '—' }} | {{ $line->warehouse?->name_ar ?? '—' }} | {{ erp_qty($line->quantity) }} | SAR {{ number_format((float) $line->purchase_price, 2) }} | SAR {{ number_format((float) $line->quantity * (float) $line->purchase_price, 2) }} |
| الإجمالي | SAR {{ number_format((float) $stockIn->line_value_total, 2) }} | |||