@extends('layouts.app') @section('main')
Total Sales
Complete Profit
Total Expenses
Main Profit
| Date | Total Sales | Total Profit | Total Direct Sales | Total Direct Profit | Total Expenses | Main Profit |
|---|---|---|---|---|---|---|
| {{ $data['date'] }} | {{ number_format($data['total_sales'], 2) }} | {{ number_format($data['total_profit'], 2) }} | {{ number_format($data['total_direct_sales'], 2) }} | {{ number_format($data['total_direct_profit'], 2) }} | {{ number_format($data['total_expenses'], 2) }} | {{ number_format($data['total_profit'] + $data['total_direct_profit'] - $data['total_expenses'], 2) }} |
| Total | {{ number_format($totalSalesSum, 2) }} | {{ number_format($totalProfitSum, 2) }} | {{ number_format($totalDirectSalesSum, 2) }} | {{ number_format($totalDirectProfitSum, 2) }} | {{ number_format($totalExpensesSum, 2) }} | {{ number_format($mainProfitSum, 2) }} |