@extends('layouts.master') @section('title') {{ __('home.costly_adjustments_report') }} @endsection @section('css') @endsection @section('page-header')
@endsection @section('content')| {{ __('home.serial_no') }} | {{ __('home.invoice_number') }} | {{ __('home.responsible_tailor') }} | {{ __('home.adjustment_date') }} | {{ __('home.consumed_items_details') }} | {{ __('home.total_shop_loss') }} | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | #{{ $edit->invoice_id }} | {{ $edit->tailor->name_ar }} | {{ $edit->created_at->format('Y-m-d') }} |
{{-- عرض تفصيلي للأصناف التي خرجت من المخزون --}}
|
{{-- الإجمالي النهائي لعملية التعديل الواحدة --}} @php $total_edit_cost = $edit->items->sum(fn($i) => $i->subtotal); @endphp {{ number_format($total_edit_cost, 2) }} | ||||||||
| {{ __('home.no_costly_adjustments') }} | |||||||||||||
| {{ __('home.total_waste_and_losses') }} | {{ __('home.total_quantities') }}: {{ $edits->sum(fn($e) => $e->items->sum('quantity')) }} {{ __('home.piece') }} | {{-- إجمالي الفلوس النهائي --}} {{ number_format($edits->sum(fn($e) => $e->items->sum('subtotal')), 2) }} | |||||||||||