@extends('backend.layouts.master') @section('section-title', 'Report') @section('page-title', 'Profit Loss Report') @push('css') @endpush @section('content')
| Month | Sales | Cost of Goods Sold | Gross Profit | Expenses | Net Profit | ||||
|---|---|---|---|---|---|---|---|---|---|
| {{ date('F Y', strtotime($key)) }} | {{ number_format($sale_amount, 2) }} {{ empty(get_setting('com_currency')) ? : get_setting('com_currency') }} | {{ number_format($purchase_amount, 2) }} {{ empty(get_setting('com_currency')) ? : get_setting('com_currency') }} | {{ number_format($profit, 2) }} {{ empty(get_setting('com_currency')) ? : get_setting('com_currency') }} | {{ number_format($expense, 2) }} {{ empty(get_setting('com_currency')) ? : get_setting('com_currency') }} | {{ $net_profit >= 0 ? number_format($net_profit, 2) : '(' . number_format(abs($net_profit), 2) . ')' }} {{ empty(get_setting('com_currency')) ? : get_setting('com_currency') }} | ||||
| No Data Found | |||||||||