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

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

@foreach($allRebates as $rebate) @endforeach
# Dealer Name Package Name Net amount Tax Payment Method Description Date Action
{{$count++}} {{$rebate->dealer? $rebate->dealer->name : ''}} @if($rebate->dealerPackage) {{$rebate->dealerPackage->package->name}} @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