@extends('layouts.master') @section('css') @endsection @section('title') {{ __('report.product_sales') }} @endsection @section('page-header')
@endsection @section('content') {{-- عرض الأخطاء --}} @if ($errors->any())| # | {{ __('report.invoiceNo') }} | {{ __('home.productNo') }} | {{ __('home.product') }} | {{ __('report.date') }} | {{ __('home.quantity') }} | {{ __('home.price') }} | {{ __('home.discount') }} | {{ __('home.priceafterDiscount') }} | {{ __('home.addedValue') }} | {{ __('home.total') }} |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i }} | {{ $invoice->invoice_id }} | {{ optional($invoice->productData)->Product_Code }} | {{ optional($invoice->productData)->product_name }} | {{ $invoice->created_at }} | {{ $invoice->quantity }} | {{ $invoice->Unit_Price * $invoice->quantity }} | {{ $invoice->Discount_Value }} | {{ $subTotal }} | {{ round($addedVal, 2) }} | {{ round($subTotal + $addedVal, 2) }} |