@extends('backend.invoice.master') @section('title') {{ bengaliString(dateFormat($data->from,'d/m/Y')).' থেকে'.bengaliString(dateFormat($data->to,'d/m/Y')).' পর্যন্ত লাভ-ক্ষতির রিপোর্ট' }} @endsection @section('body') @php($totalCashSale = $cashSales->sum('total')) @php($totalCreditSale = $creditSales->sum('total')) @php($totalPurchase = $purchase->sum('total')) @php($income = $totalCashSale+$totalCreditSale+$totalStockPrice-$totalPurchase) @php($totalOtherIncome = $otherIncomes->sum('amount')) @php($grossIncome = $totalOtherIncome+$income) @php($expense = $otherExpenses->sum('amount')) @php($totalLabourCost = $cashSales->sum('labour_cost') + $creditSales->sum('labour_cost')) @php($totalTransportCost = $cashSales->sum('transport_cost') + $creditSales->sum('transport_cost')) @php($totalVat = $cashSales->sum('vat') + $creditSales->sum('vat')) @php($totalSaleCost = $totalLabourCost+$totalTransportCost+$totalVat) @php($netExpense = $totalSaleCost + $expense) @php($netIncome = $grossIncome - $netExpense)
বিবরণ পরিমাণ পরিমাণ পরিমাণ
মোট নগদ বিক্রয়{{ bengaliNumber($totalCashSale,2) }}
মোট ক্রেডিট বিক্রয়{{ bengaliNumber($totalCreditSale,2) }}
মোট মজুদ {{ bengaliNumber($totalStockPrice,2) }}
{{ bengaliNumber($totalCashSale+$totalCreditSale+$totalStockPrice,2) }}
মোট ক্রয় মূল্য {{ bengaliNumber($totalPurchase,2) }}
{{ bengaliNumber($income,2) }}
বিবিধ আয়{{ bengaliNumber($totalOtherIncome,2) }}
মোট লাভ {{ bengaliNumber($grossIncome,2) }}
খরচ{{ bengaliNumber($expense,2) }}
লেবার খরচ{{ bengaliNumber($totalLabourCost,2) }}
পরিবহণ খরচ{{ bengaliNumber($totalTransportCost,2) }}
মোট ভ্যাট{{ bengaliNumber($totalVat,2) }}
নিট খরচ {{ bengaliNumber($netExpense,2) }}
নিট লাভ {{ bengaliNumber($netIncome,2) }}
@endsection