@extends('layouts.app') @section('title') Commission Report       {{date(('M d,Y'),strtotime($from_date))}} - {{date(('M d,Y'),strtotime($to_date))}} @stop @section('breadcrumb') @stop @section('css') @stop @section('content')

{{env('APP_NAME')}}

Commission Report

{{date(('M d,Y'),strtotime($from_date))}} - {{date(('M d,Y'),strtotime($to_date))}}
Date: {{date('d-m-Y')}}
User ID:   {{Auth::user()->name}}
{{ csrf_field() }}
@foreach($transactions as $t) @if( ($filter_type == 'filter' && $block > 0 && $block == $t->property->inventory->floor->unitBlock->id) || $filter_type == 'all' ) @endif @endforeach
Sr No. Date Unit No. Unit Floor. Unit Block. Dealer Unit Cost Discount Net Price Commission Amount
{{$count++}} {{date('d-m-Y', strtotime($t->created_at)) }} {{$t->property->inventory->unit_number}} {{$t->property->inventory->floor->name}} {{$t->property->inventory->floor->unitBlock->name}} {{$t->dealer ? $t->dealer->name : ''}} {{number_format($t->property->inventory->total_price)}} {{ number_format($t->property->inventory->total_price - $t->property->net_pay )}} @if($t->property){{number_format($t->property->net_pay)}} @endif {{number_format($t->amount)}}
Total {{number_format($unit_cost_total)}} {{number_format($discount_total)}} {{number_format($net_total)}} {{number_format($commission_total)}}
Total Commission Amount {{number_format($total_amount)}}
Total Paid Commission {{number_format($paid_amount)}}
Total Payable Commission {{number_format($total_amount - $paid_amount)}}
@stop @section('js') @stop