@extends('layouts.master') @section('title') {{ __('sales.products_waste_report') }} @stop @section('css') @endsection @section('page-header')
@endsection @section('content')| {{ __('home.serial_no') }} | {{ __('home.product') }} | {{ __('home.invoice_number') }} | {{ __('home.tailor') }} | {{ __('home.consumed_quantity') }} | {{ __('home.unit_price') }} | {{ __('home.total_value') }} | {{ __('home.date') }} |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->product->product_name }} | #{{ $item->edit->invoice_id }} | {{ $item->edit->tailor->name_ar }} | {{ $item->quantity }} | {{ number_format($item->price, 2) }} | {{ number_format($item->subtotal, 2) }} | {{ $item->created_at->format('Y-m-d') }} |
| {{ __('home.no_data_found') }} | |||||||
| {{ __('home.total_waste_for_item') }} | {{ $wasteItems->sum('quantity') }} | --- | {{ number_format($wasteItems->sum('subtotal'), 2) }} | --- | |||