@extends('layouts.app') @section('title') Paid Rebate Statement {{date(('d/m/Y'),strtotime($from_date))}} to {{date(('d/m/Y'),strtotime($to_date))}} @stop @section('breadcrumb')
@stop @section('css') @stop @section('content')Sr No. | Date | Unit No. | Dealer Name | Customer | Unit Cost | Discount | Net Price | Rebate Amount |
---|---|---|---|---|---|---|---|---|
{{$count++}} | {{date('d/m/Y', strtotime($rebate->date)) }} | {{$rebate->property ? $rebate->property->inventory->unit_number : '' }} | {{$rebate->dealer ? $rebate->dealer->name : ''}} | @if($rebate->property) {{$rebate->property->customer->name}} @endif | @if($rebate->property) {{number_format($rebate->property->inventory->total_price)}} @endif | @if($rebate->property) {{ number_format($rebate->property->inventory->total_price - $rebate->property->net_pay )}} @endif | @if($rebate->property){{number_format($rebate->property->net_pay)}} @endif | {{number_format($rebate->amount)}} |
{{number_format($unit_cost_total)}} | {{number_format($discount_total)}} | {{number_format($net_total)}} | {{number_format($rebate_total)}} |