{{-- Taxes Breakdown excluding the RC --}} @if($item->pivotTaxes && $item->pivotTaxes->count() > 0) @foreach($item->pivotTaxes->where('category', '!=', 3) as $tax) @php $label = $tax->category == 1 ? 'VAT' : ($tax->category == 2 ? 'WHT' : 'Tax'); $isWHT = $tax->category == 2; @endphp