@php $canStore = (App\Services\Logic\Assist::getCurrentRoutePermissions()->canStore) ? '' : 'hidden'; $canView = (App\Services\Logic\Assist::getCurrentRoutePermissions()->canView) ? '' : 'hidden'; $canUpdate = (App\Services\Logic\Assist::getCurrentRoutePermissions()->canUpdate) ? '' : 'hidden'; @endphp {{-- header --}} @php($breadcrumbs = ['得意先一覧'=>null])
{{-- 検索条件 --}}
@csrf {{-- |基本条件 --}}
~
{{-- |アクション --}}
{{-- データリスト --}}
@if($params->is_active != '') @endif @if($params->is_active != '') @endif @php($visibleUpdate = (App\Services\Logic\Assist::getCurrentRoutePermissions()->canUpdate) ? '' : 'hidden') @foreach($customers as $row) @if($params->is_active != '') @endif @isset($row->customer_group_id) @else @endif @endforeach
No
{{($loop->iteration)}}{{$row->customer_code}} {{$row->customer_kana}} {{$row->customer_name}} @if($row->salesReps && $row->salesReps->count() > 0) @foreach($row->salesReps as $salesRep) @if(!$loop->first)
@endif {{ $salesRep->category?->category_name ?? '' }} {{ $salesRep->salesRep ? ' - ' . $salesRep->salesRep->userName : '' }} @endforeach @endif
{{$row->tel}} {{$row->fax}} {{$row->postal_code}} {{$row->prefecture}} {{$row->address1}} {{$row->address2}} {{$row->president_name}}- -{{ num_format($row->individual_total_credit_limit) }} {{ num_format($row->individual_regular_credit_limit) }}{{$row->closing_day}} {{Enum::name('PaymentType', $row->payment_type)}} {{$row->payment_day}} {{Enum::name('PaymentCycle', $row->payment_cycle)}} {{$row->business_type_name}} {{$row->invoice_number}} {{$row->account_opened_at}} {{$row->created_at}} {{$row->updated_at}}
@isset($params->perpage) @endisset
{{-- script --}}