{{-- One benefit setting of a pricing row. Blank = use the product's value. Expects: $field (column), $pricing (row object), $prefix (input name prefix) --}} @php $typeField = \App\Models\ProductPricing::BENEFIT_PAIRS[$field] ?? null; $value = $pricing->{$field} ?? null; $type = $typeField ? $pricing->{$typeField} ?? null : null; @endphp @if ($typeField) @endif