@if (!empty($config) && $config->count())
@foreach ($config as $key => $conf)
{{ $key + 1 }} |
@if (auth()->user()->hasRole('admin'))
@if ($conf->dealer?->image == null)
@else
@endif
{{ $conf->dealer?->company_name }}
{{ $conf->dealer?->first_name . ' ' . $conf->dealer?->last_name ?? '-' }}
{{ $conf->dealer?->email ?? '-' }}
|
@endif
{{ $conf->userCategory?->name ?? 'NA' }} |
@if($conf->user_id != null)
@if ($conf->retailer?->image == null)
@else
@endif
{{ $conf->retailer?->company_name }}
{{ $conf->retailer?->first_name . ' ' . $conf->retailer?->last_name ?? '-' }}
{{ $conf->retailer?->email ?? '-' }}
|
@else
NA |
@endif
{{ $conf->productCategory?->name ?? 'NA' }} |
{{ $conf->product?->name ?? 'NA' }} |
@if ($conf->base_rate == 1)
{{ 'MRP' }} |
@elseif ($conf->base_rate == 2)
{{ 'COST' }} |
@else
{{ 'PRate' }} |
@endif
{{ $conf->ptr_percentage ?? 'NA' }} |
{{ $conf->discount_percentage ?? 'NA' }} |
{{ $conf->scheme ?? 'NA' }} |
{{--
--}}
|
@endforeach
@else
No matching records found |
@endif