@extends('tenant.layouts.master') @section('breadcrumb') @if (Route::currentRouteName() === 'tenant.warehouses.stocktaking-bonds.minus_out_batches') {{-- جرد --}} @include('tenant.layouts.breadcrumb', [ 'items' => [ __('breadcrumb.warehouses') => route('tenant.warehouses.branches.index'), __('breadcrumb.stocktaking_bonds') => route('tenant.warehouses.stocktaking-bonds.index'), 'تسوية المبيعات بالسالب' => '#', ], ]) @else (Route::currentRouteName() === 'tenant.settings.general.fiscal-years.minus_out_batches') {{-- سنوات مالية --}} @include('tenant.layouts.breadcrumb', [ 'items' => [ __('breadcrumb.general_settings') => route('tenant.settings.general.show-page', ['type' => 'company-information']), __('breadcrumb.fiscal_years') => '#', ], ]) @endif @endsection @section('sidebar') @include('tenant.layouts.sidebar', ['activeItem' => 'settings.general.fiscal-years']) @endsection @section('content')

تسوية المبيعات بالسالب

رجوع

@if (count($batches_list) > 0)
@csrf @php $routeName = Route::currentRouteName(); $date = null; if ($routeName === 'minus_out_batches') { $date = request('from'); } elseif ($routeName === 'stocktaking-bonds.minus_out_batches') { $date = request('from_date'); } $year = \Carbon\Carbon::parse($date)->year ?? ''; @endphp @foreach ($batches_list as $month => $batches_by_month)

شهر {{ $month }}

@foreach ($batches_by_month as $barcode_id => $batches_by_barcode) @foreach ($batches_by_barcode as $branch_id => $batch) @endforeach @endforeach
# إسم المادة الفرع إجمالي الكمية الكلفة المقترحة
{{ $loop->iteration }} {{ $batch['barcode_name'] }} {{ $batch['branch_name'] }} {{ dn($batch['total_quantity']) }}
@endforeach
@else لا يوجد مبيعات بالسالب ضمن هذه الفترة ! @endif
@endsection @push('script') @endpush