@extends('admin.layouts.sellermastersoyuz') @section('title', __('Commission Setting')) @section('body') @component('seller.components.breadcumb',['thirdactive' => 'active']) @slot('heading') {{ __('Commission Setting') }} @endslot @slot('menu1') {{ __('Account Management') }} @endslot @slot('menu2') {{ __('Commission Setting') }} @endslot @endcomponent
{{ __('Commission Setting (Applied by admin)') }}
@foreach($commissions as $key => $commission) @if($commission->type=='flat') @else @foreach(App\Commission::get() as $key => $commission) @endforeach @endif @endforeach
{{ __("ID") }} {{__("Category")}} {{__("Rate")}} {{__("Amount Type")}} {{__("Commision Type")}}
{{ ++$key }} {{$commission->category->title ?? __('All')}} {{$commission->rate ?? ''}} @if($commission->p_type == 'p') {{__('Percentage')}} @else($commission->p_type == 'f') {{__('Fix Amount')}} @endif @if($commission->type == 'c') {{__('Category')}} @else {{__('Flat For All')}} @endif
{{$key + 1}} {{$commission->category->title ?? ''}} {{$commission->rate ?? ''}} @if($commission->type == 'p') {{__('Percentage')}} @else {{ __('Fix Amount') }} @endif @if($commission->type == 'flat') {{ __('Flat For All') }} @else {{ __('Category') }} @endif
@endsection