{{ trans('cruds.pump.fields.pump') }} | {{ trans('cruds.drivewaySheet.fields.opening') }} | {{ trans('cruds.drivewaySheet.fields.closing') }} | @foreach($fuels as $key => $fuel){{ $fuel }} | @endforeach{{ trans('global.total') }} | {{ trans('cruds.report.fuelSale') }} |
---|---|---|---|---|---|
{{$data->pump->pump}} | {{number_format($data->opening_balance,2)}} | {{number_format($data->closing_balance,2)}} | @foreach($fuels as $id => $fuel)@if($data->fuel_id == $id) {{number_format($data->stock,2)}} @endif | @endforeach{{number_format($data->stock_value,2)}} | |
{{ trans('cruds.report.computerSale') }} | @foreach($fuels as $id => $fuel) @php $sale[$id] = count($fuelstock) > 0 && !empty($fuelstock->where('fuel_type',$id)->first()) ? $fuelstock->where('fuel_type',$id)->first()->sale : 0; @endphp{{number_format($sale[$id],2)}} | @endforeach{{number_format(array_sum($sale),2)}} | {{number_format($drivesale,2)}} | ||
{{ trans('cruds.report.mechanicalSale') }} {{ trans('cruds.report.inLtr') }} | @foreach($fuels as $id => $fuel) @php $sum[$id] = $drivesheet->where('fuel_id',$id)->sum('stock'); @endphp{{number_format($sum[$id],2)}} | @endforeach{{number_format(array_sum($sum),2)}} | |||
{{ trans('cruds.report.mechanicalValue') }} | @foreach($fuels as $id => $fuel) @php $selling_price = $fuelprices->where('fuel_id',$id)->first(); $price = $selling_price ? $selling_price->selling_price : '0'; $mechanical[$id] = $sum[$id] * (float) $price; @endphp{{number_format($mechanical[$id],2)}} | @endforeach{{number_format(array_sum($mechanical),2)}} | |||
{{ trans('cruds.report.difference') }} {{ trans('cruds.report.inLtr') }} | @foreach($fuels as $id => $fuel) @php $diff[$id] = $sum[$id] - $sale[$id]; @endphp{{number_format($diff[$id],2)}} | @endforeach{{number_format(array_sum($sum) - array_sum($sale),2)}} |
Fuel | {{ trans('cruds.fuelStock.fields.opening_stock') }} | {{ trans('cruds.fuelStock.fields.purchase') }} | {{ trans('cruds.fuelStock.fields.calculated_stock') }} | {{ trans('cruds.report.lessSale') }} | {{ trans('cruds.fuelStock.fields.closing_stock') }} | {{ trans('cruds.fuelStock.fields.closing_dips') }} | {{ trans('cruds.report.difference') }} |
---|---|---|---|---|---|---|---|
{{$data->fuel->fuel_name}} | {{number_format($data->opening_stock,2)}} | {{number_format($data->purchase,2)}} | {{number_format($data->stock,2)}} | {{number_format($l_sale,2)}} | {{number_format($clos_stock,2)}} | {{number_format($data->closing_dips,2)}} | {{number_format($data->closing_dips - $clos_stock,2)}} |
Total | {{number_format($opening_stock,2)}} | {{number_format($purchase,2)}} | {{number_format($cal_stock,2)}} | {{number_format($less_sale,2)}} | {{number_format($closing_stock,2)}} | {{number_format($closing_dips,2)}} | {{number_format($closing_dips - $closing_stock,2)}} |
{{ trans('cruds.report.computer_sale') }} | {{ trans('cruds.report.total_sale') }} | {{ trans('cruds.report.variance') }} | |
---|---|---|---|
{{ trans('cruds.report.fuel_sale') }} | {{ number_format($cashier_fuel_sale,2)}} | {{ number_format($fuel_total,2) }} | {{ number_format($fuel_total - $cashier_fuel_sale,2)}} |
{{ trans('cruds.report.shop_sale') }} | {{ number_format($cashier_shop_sale,2)}} | {{ number_format($sale_total,2)}} | {{ number_format($sale_total - $cashier_shop_sale,2)}} |
{{ trans('cruds.report.total') }} | {{ number_format($cashier_shop_sale + $cashier_fuel_sale,2)}} | {{ number_format($fuel_total + $sale_total,2)}} |
{{ trans('cruds.report.category') }} | {{ trans('cruds.report.amount') }} |
---|---|
{{ $cat->header_name }} | {{ number_format($depositdata[$cat->id],2)}} |
{{ trans('cruds.report.total') }} | {{ number_format($amount_deposit,2)}} |
{{ trans('cruds.report.maintitle') }} | {{ trans('cruds.report.amount') }} |
---|---|
{{ trans('cruds.report.fuelSale') }} | {{ $drivesale}} |
{{ ucfirst($item->financialCategory->title)}} | {{ $item->amount}} |
{{ trans('cruds.report.fuelTotal') }} | {{ $fuel_total}} |
{{ ucfirst($item->financialCategory->title)}} | {{ $item->amount}} |
{{ trans('cruds.report.total_sale') }} | {{ $total_sale}} |
{{ ucfirst($item->type)}} | {{ $item->total_amount}} |
{{ trans('cruds.report.sheelCard') }} | {{ $shell_total}} |
{{ trans('cruds.report.accountSale') }} | {{ $driveway_acc_total}} |
{{ trans('cruds.report.cashSale') }} | {{ $cash_sale}} |
{{ trans('cruds.report.amountDeposit') }} | {{ $amount_deposit}} |
{{ trans('cruds.report.variance') }} | {{ $total_variance}} |