@extends('layouts.app') @section('title') All Dealers List @stop @section('breadcrumb') @stop @section('css') @stop @section('content')
@permission('dealer-payment') @endpermission

All Dealers List

@permission('view-dealer') @else @endpermission @permission('edit-dealer') @else @endpermission @permission('delete-dealer') @else @endpermission @foreach($allDealers as $dealer) @if($dealer->rebate_in_percent) @else @endif @endforeach
# Name Code Percentage Action
{{$count++}} @if($view_dealer) {{$dealer->name}} - {{$dealer->dealerType ? $dealer->dealerType->name : ''}} @else {{$dealer->name}} - {{$dealer->dealerType ? $dealer->dealerType->name : ''}} @endif {{$dealer->code}}{{$dealer->percentage}} %{{$dealer->percentage}} PKR @if($view_dealer) @endif     @if($edit_dealer) @endif     @if($delete_dealer) @endif
@stop @section('js') @stop