@php $validFrom = count($productPrices) > 0 ? $productPrices[0]->valid_from : ''; $currencyId = count($productPrices) > 0 ? $productPrices[0]->currency_id : ''; $productId = count($productPrices) > 0 ? $productPrices[0]->product_id : ''; @endphp
{{-- 適用終了日は次グループの適用開始日から自動決定するため、入力欄を持たない --}}
@foreach($productPrices as $index => $row) @endforeach
ランク 単価 備考
{{$priceRanks[$index]->rank_name}}