@extends('backend.layouts.master') @section('section-title', 'Report') @section('page-title', 'Product Sale Report') @push('css') @endpush @section('content')
| SL. | Date | Invoice No | Product | Quantity | Unit Price | Sub Total | Discount | Total |
|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ date('m-d-Y', strtotime($data->date)) }} | {{ $data->invoice_no }} |
@foreach ($items as $item)
|
@foreach ($items as $item)
@php
$main_qty = $item->main_qty - $item->rtn_main;
$sub_qty = $item->sub_qty - $item->rtn_sub;
@endphp
@if ($item->product->unit?->related_unit == null)
|
@foreach ($items as $item)
|
@foreach ($items as $item)
|
{{ number_format($data->discount_amount, 2) }} {{ empty(get_setting('com_currency')) ?: get_setting('com_currency') }} | {{ number_format($data->total_amount, 2) }} {{ empty(get_setting('com_currency')) ?: get_setting('com_currency') }} |
| No Data Found | ||||||||
| Total: | {{ number_format($total_amount, 2) }} {{ empty(get_setting('com_currency')) ?: get_setting('com_currency') }} | |||||||