@extends('layouts.master') @section('title', 'Daily Sales Report') @section('content')
| Date | Reference | User | Sales ({{ $currencyCode }}) | Units Sold | Returns | Discount | Gross Profit | Gross Profit% |
|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($invoice['date'])->format('d-m-Y') }} | {{ $invoice['reference'] }} | {{ $invoice['added_by'] }} | {{ number_format($invoice['total_amount'], 2) }} | {{ $invoice['confirmed_units'] }} | {{ $totalUnitsReturned > 0 ? $totalUnitsReturned : '0' }} | {{ number_format($invoice['discount'], 2) }} | {{ number_format($invoice['gross_profit'], 2) }} | {{ number_format($invoice['gross_profit_percent'], 2) }}% |
| Grand Total: | {{ $currencyCode }} {{ number_format($grandSales, 2) }} | {{ $grandUnitsSold }} | {{ $grandUnitsReturned }} | {{ $grandDiscount }} | {{ number_format($grandGP, 2) }} | {{ number_format($grossProfitPercent, 2) }}% | ||
| Date | Reference | User | Sales ({{ $currencyCode }}) | Units Sold | Returns | Units Returned | Discount | Gross Profit | Gross Profit% |
|---|---|---|---|---|---|---|---|---|---|
| {{($t['date'])->format('d-m-Y')}} | {{ $invoice['reference'] }} | {{ $invoice['added_by'] }} | {{ number_format($t['total_amount'], 2) }} | {{ $t['total_units'] }} | {{ $t['confirmed_units'] }} | {{ number_format($t['discount'], 2) }} | {{ number_format($t['gross_profit'], 2) }} | {{ number_format($t['gross_profit_percent'], 2) }}% | |
| Grand Balance: | {{ number_format($grandBalance, 2) }} | ||||||||
Copyright © Melsoft (Private) Limited