@php $validFrom = count($productPrices) > 0 ? $productPrices[0]->valid_from : ''; $validTo = count($productPrices) > 0 ? $productPrices[0]->valid_to : ''; $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}}