{{ ['text' => 'Text', 'pricing' => 'Pricing', 'terms' => 'Terms'][$block['type']] ?? $block['type'] }}
@if ($block['type'] === 'pricing')
Item
Qty
Price
GST
@foreach ($block['items'] ?? [] as $j => $item) @include('sales.proposals._item', ['i' => $i, 'j' => $j, 'item' => $item]) @endforeach
@else @endif