@extends('layouts.app') @section('title', 'تفاصيل الجرد ' . $audit->audit_number . ' - '.config('app.name')) @section('breadcrumb') الرئيسية › المخزون › جرد المخزون › تفاصيل الجرد @endsection @push('styles') @endpush @section('content')
{{ $audit->audit_number }}
{{ $audit->audit_date?->format('Y-m-d') }}
{{ $audit->warehouse?->name_ar ?? '—' }}
{{ $audit->type === 'full' ? 'كلي' : 'جزئي' }}
{{ $audit->progress ?? 0 }}%
+{{ erp_money($tv) }} SAR
@elseif($tv < 0){{ erp_money($tv) }} SAR
@else0.00 SAR
@endif{{ $audit->notes }}
| {{ $i + 1 }} | {{ $line->item?->code ?? '—' }} | {{ $line->item?->name_ar ?? $line->item?->name_en ?? '—' }} | {{ erp_qty($line->book_quantity) }} | {{ $line->actual_quantity !== null ? erp_qty($line->actual_quantity) : '—' }} | @if($diff > 0) +{{ erp_qty($diff) }} @elseif($diff < 0) {{ erp_qty($diff) }} @else 0 @endif | @if($val > 0) +{{ erp_money($val) }} SAR @elseif($val < 0) {{ erp_money($val) }} SAR @else 0.00 SAR @endif |