@extends('layouts.master') @section('css') @section('title') {{ __('supprocesses.stockadjustment') }}@stop @endsection @section('page-header')
@endsection @section('content') @if (count($errors) > 0)
خطا
@endif @if (session()->has('productupdated')) @endif
{{ __('home.download_template') }}
{{ app()->getLocale() == 'ar' ? 'القيد بمتوسط التكلفة — الزيادة: مدين المخزون / دائن فائض فروقات الجرد، والنقص: مدين فروقات جرد المخزون / دائن المخزون.' : 'Posted at average cost — Increase: Dr Inventory / Cr Stock count surplus; Decrease: Dr Stock count shortage / Cr Inventory.' }} {{ app()->getLocale() == 'ar' ? 'ملف الإكسيل: عمودين product_code و quantity (الكمية الفعلية بعد الجرد) — حد أقصى 100 صنف. البرنامج يحسب الفرق ونوع التعديل تلقائياً.' : 'Excel file: product_code and quantity (physical count) columns — max 100 rows. The difference and type are calculated automatically.' }}
{{ csrf_field() }}
{{ __('home.productNo') }} {{ __('home.productname') }} {{ __('home.adjustment_type') }} {{ __('supprocesses.current_quantity') }} {{ __('home.adjusted_quantity') }} {{ app()->getLocale() == 'ar' ? 'الكمية بعد التعديل' : 'Quantity after' }} {{ __('home.notesClient') }} {{ __('home.delete') }}

{{ app()->getLocale() == 'ar' ? 'اختر منتج (F9) أو ارفع ملف الجرد من الإكسيل' : 'Choose a product (F9) or upload a stock count Excel file' }}
{{ app()->getLocale() == 'ar' ? 'عدد الأصناف' : 'Items' }}0
{{ app()->getLocale() == 'ar' ? 'إجمالي الزيادة (+)' : 'Total increase (+)' }}0
{{ app()->getLocale() == 'ar' ? 'إجمالي النقص (−)' : 'Total decrease (−)' }}0
@if (isset($itemsRequest))

{{ __('home.movement_details') }}

@foreach ($itemsRequest as $index => $product) @endforeach
# {{ __('home.productNo') }} {{ __('home.product') }} {{ __('home.adjustment_type') }} {{ __('home.quantity') }}
{{ $index + 1 }} {{ $product->productData->Product_Code }} {{ $product->productData->product_name }}
@endif
@endsection @section('js') @endsection