@extends('layouts.app') @section('title') Dealer Detail @stop @section('breadcrumb')
@stop @section('content')Code | {{$dealer->code}} | |
CNIC | {{$dealer->cnic}} | |
Reg No | {{$dealer->reg_no}} | |
Is Filer | {{$dealer->is_filer ? 'YES' : 'NO'}} | |
NTN Number | {{$dealer->ntn_number}} | |
Address | {{$dealer->address}}{{$dealer->city ? ', '.$dealer->city->name.', '.$dealer->city->country->name : ''}} | |
{{$dealer->email}} | ||
Phone Number | {{$dealer->phone_number}} | |
Percentage | @if($dealer->rebate_in_percent){{$dealer->percentage}} % | @else{{$dealer->percentage}} PKR | @endif
Updated at | {{$dealer->updated_at}} | |
Created at | {{$dealer->created_at}} |
Unit No. | Client | Net Amount | Total Rebate Payable | Total Received Amount | Paid Rebate | Status | |||
---|---|---|---|---|---|---|---|---|---|
{{$t->property->inventory->unit_number}} | {{$t->property->customer->name}} | {{number_format($t->property->net_pay)}} | {{number_format($t->amount)}} | {{number_format($received_amount[$t->id])}} | {{number_format($paid_rebate[$t->id])}} | @if($t->property->status == \App\CustomerProperty::pending)Pending | @elseif($t->property->status == \App\CustomerProperty::approved)Approved | @elseif($t->property->status == \App\CustomerProperty::cancel)Canceled | @else@endif |
Total | {{number_format($net_amount)}} | {{number_format($total_rebate)}} | {{number_format($total_received)}} | {{number_format($paid_rebates)}} |
Package | Net Amount | Total Rebate Payable | Total Received Amount | Paid Rebate |
---|---|---|---|---|
{{$t->dealerPackage->package->name}} | {{number_format($t->dealerPackage->package->total_price)}} | {{number_format($t->amount)}} | {{number_format($package_received_amount[$t->id])}} | {{number_format($package_paid_rebate[$t->id])}} |
Total | {{number_format($package_net_amount)}} | {{number_format($package_total_rebate)}} | {{number_format($package_total_received)}} | {{number_format($package_paid_rebates)}} |
# | Unit # | Amount | Date |
---|---|---|---|
{{$count++}} | {{$rebate->property?$rebate->property->inventory->unit_number:''}} | {{number_format($rebate->amount)}} | {{date('d-m-Y', strtotime($rebate->date)) }} |
Total | {{number_format($t_rebate)}} | ||
No record found. |
# | Package | Amount | Date |
---|---|---|---|
{{$count++}} | {{$rebate->dealerPackage?$rebate->dealerPackage->package->name:''}} | {{number_format($rebate->amount)}} | {{date('d-m-Y', strtotime($rebate->date)) }} |
Total | {{number_format($t_rebate)}} | ||
No record found. |
Sr # | Unit # | Customer | Net Amount | Received Amt. | Remaining Amt. | Last Payment Date | Due Amt. | Action |
---|---|---|---|---|---|---|---|---|
{{$count++}} | {{$property->inventory->unit_number}} | {{$property->customer->name}} | {{number_format($property->net_pay)}} | {{number_format($receivedAmount[$property->id])}} | {{number_format($remainingAmount[$property->id])}} | {{$lastDate[$property->id] ? date('d-m-Y', strtotime($lastDate[$property->id]->receipt_date)) : ''}} | {{number_format($dueAmt[$property->id])}}
@foreach($dueMonth[$property->id] as $s) @if($loop->last){{date('M', strtotime($s->due_date))}} @else{{date('M', strtotime($s->due_date))}} - @endif @endforeach |
@permission('sms-dealer') @endpermission Transfer |
Total | {{number_format($net_amount)}} | {{number_format($received_amount)}} | {{number_format($remaining_amount)}} | {{number_format($due_amount)}} |