@extends('layouts.app') @section('title') Paid Rebate Statement {{date(('M d,Y'),strtotime($from_date))}} to {{date(('M d,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 : ''}} | {{$rebate->property->customer->name}} | {{number_format($rebate->property->inventory->total_price)}} | {{ number_format($rebate->property->inventory->total_price - $rebate->property->net_pay )}} | @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)}} |