{{-- orders.index/orders.edit 権限を持たないユーザー(例: 営業部)が orders-business 経由で来た場合、 遷移しても 403 になるリンクを非表示にする --}} @php($canViewOrdersIndex = \App\Services\Logic\Assist::routePermissions('orders.index')->canView) @php($canEditOrders = \App\Services\Logic\Assist::routePermissions('orders.edit')->canView) @php($breadcrumbs = [ '受注一覧'=>$canViewOrdersIndex ? route('orders.index', ['action'=>'back']) : null, '受注表示'=>null ])
@if($canEditOrders) @endif @if($canViewOrdersIndex) @endif
{{-- contents --}}
@csrf @include('user.orders.partials.show', ['mode'=>'create', '00details'=>null])
{{-- ★表示は入力の画面が固まってから対応 --}} {{-- 変更履歴モーダル --}}