@extends('layouts.app') @section('content')

Configuration List

{{--
--}}
Selected
@if (auth()->user()->hasRole('admin')) @endif @if (!empty($config) && $config->count()) @foreach ($config as $key => $conf) @if (auth()->user()->hasRole('admin')) @endif @if($conf->user_id != null) @else @endif @if ($conf->base_rate == 1) @elseif ($conf->base_rate == 2) @else @endif @endforeach @else @endif
#WholesellerRetailer Type Retailer Product Type Product Base Rate PTR (%) Discount (%) Scheme Action
{{ $key + 1 }} @if ($conf->dealer?->image == null)
@else
@endif
{{ $conf->dealer?->company_name }} {{ $conf->dealer?->first_name . ' ' . $conf->dealer?->last_name ?? '-' }} {{ $conf->dealer?->email ?? '-' }}
{{ $conf->userCategory?->name ?? 'NA' }} @if ($conf->retailer?->image == null)
@else
@endif
{{ $conf->retailer?->company_name }} {{ $conf->retailer?->first_name . ' ' . $conf->retailer?->last_name ?? '-' }} {{ $conf->retailer?->email ?? '-' }}
NA{{ $conf->productCategory?->name ?? 'NA' }} {{ $conf->product?->name ?? 'NA' }}{{ 'MRP' }}{{ 'COST' }}{{ 'PRate' }}{{ $conf->ptr_percentage ?? 'NA' }} {{ $conf->discount_percentage ?? 'NA' }} {{ $conf->scheme ?? 'NA' }} {{-- --}}
No matching records found
{{ $config->links() }}
@endsection @push('script') @endpush