{{-- header --}} 単価登録画面 @php $productId = $productPrices[0]->product_id; $id = $productPrices[0]->id; $validFrom = $productPrices[0]->valid_from; @endphp {{-- entry --}}
{{-- 唯一のグループは削除させないため、その場合はボタン自体を出さない(D2) --}} @if($canDelete) @endif
@csrf @method('put') @include('user.products.prices.partials.entry', ['mode'=>'edit'])
{{-- 削除の確認 --}} {{-- 共有の はメッセージ・高さが固定で、削除の影響 (ランク1〜6まとめて削除・前グループの適用終了日の変化)を表示できないため使わない --}} @if($canDelete)
@csrf @method('delete')

適用開始日 {{$validFrom}} の単価を、ランク1〜6まとめて削除します。

@if($deleteImpact)

{{$deleteImpact}}

@endif

よろしいですか?

@endif {{-- script --}}