@extends('layouts.app') @section('title') {{'Monthly Commission Report'}} @endsection @section('content')
| S.N. | ID | Name | Sales | @if (Auth::user()->parent_id == "0")DP Rate | DP Taka | @endifTP Rate | TP Taka | Commission |
|---|---|---|---|---|---|---|---|---|
| {{$i++}} | {{$row->id}} | {{$row->product_name}} | {{ number_format($ClosingSalesTK,2)}} {{ ($row->pack_type)}} | @if (Auth::user()->parent_id == "0"){{ number_format($row->dp_price,2)}} | {{ number_format($ClosingDpTK,2)}} | @endif{{ number_format($row->tp_price,2)}} | {{ number_format($ClosingTpTK,2)}} | {{ number_format($Commission,2)}} |
| Total Taka = | {{ number_format($TotalClosingSalesTK,2) }} | @if (Auth::user()->parent_id == "0"){{ number_format($TotalClosingDpTK,2) }} | @endif{{ number_format($TotalClosingTpTK,2) }} | {{ number_format($TotalCommission,2) }} | ||||