@extends('tenant.layouts.master') @section('style') @endsection @section('breadcrumb') @php $breadcrumb_items[__('breadcrumb.home')] = '/'; if ($module == 'warehouses') { $breadcrumb_items[__('breadcrumb.warehouses')] = '/warehouses/branches'; } elseif ($module == 'accounting') { $breadcrumb_items[__('breadcrumb.accounting')] = '/accounting/accounts'; } elseif ($module == 'rentals') { $breadcrumb_items[__('breadcrumb.rentals')] = '#'; } $breadcrumb_items[__('breadcrumb.receivables')] = route('tenant.receivables.index', ['module' => $module]); $breadcrumb_items[__('breadcrumb.representatives')] = '#'; @endphp @include('tenant.layouts.breadcrumb', [ 'items' => $breadcrumb_items, ]) @endsection @section('sidebar') @include('tenant.layouts.sidebar', ['activeItem' => "{$module}.receivables"]) @endsection @section('content')
| # | @lang('receivables/representatives/index.representative_name') | @lang('receivables/representatives/index.username') | @lang('receivables/representatives/index.phone_number') | @lang('receivables/representatives/index.warehouses') | @lang('receivables/representatives/index.commission_percentage') | @lang('receivables/representatives/index.sales_representative') | @lang('receivables/representatives/index.collection_representative') | @lang('receivables/representatives/index.delivery_representative') | @lang('receivables/representatives/index.cash_van_representative') | @lang('general.procedures') |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $representative->name }} | {{ $representative->username }} | {{ $representative->phone }} | @foreach ($representative->branch as $branch) {{ $branch->name }}, @endforeach | {{ $representative->commission_rate }} | {{ $representative->is_saler == 0 ? 'لا' : 'نعم' }} | {{ $representative->is_collector == 0 ? 'لا' : 'نعم' }} | {{ $representative->is_delivery == 0 ? 'لا' : 'نعم' }} | {{ $representative->is_cash_van == 0 ? 'لا' : 'نعم' }} |
|
| @lang('receivables/representatives/index.no_representatives') | ||||||||||