@extends('layouts.app') @section('title') All Paid Rebates @stop @section('breadcrumb') @stop @section('content')
@permission('create-dealer-rebate')   Pay Rebate @endpermission

All Paid Rebates ({{number_format($totalPaidRebate)}})

@foreach($allRebates as $rebate) @endforeach
# Dealer Name Property Net amount Tax Payment Method Description Date Action
{{$count++}} {{$rebate->dealer? $rebate->dealer->name : ''}} @if($rebate->property) @if($rebate->property->inventory) {{$rebate->property->inventory->unit_number}} @endif @endif {{number_format($rebate->amount)}} {{number_format($rebate->tax_amount)}} @if($rebate->payment_method) @if($rebate->payment_method == 1) CASH @else BANK TRANSFER @endif @endif {{$rebate->description}} {{date('d-m-Y', strtotime($rebate->date)) }} @permission('delete-dealer-rebate') @endpermission @permission('delete-dealer-rebate') @endpermission
@stop @section('js') @stop