@php $figureStyle = $figureStyle ?? 'facts'; $notax = $notaxShipping ?? null; $gst = $gstAmount ?? null; $shipping = $shippingTotal ?? null; $showFigures = ($notax !== null && $notax !== '') || ($shipping !== null && $shipping !== ''); @endphp @if($showFigures) @if($figureStyle === 'info')
Total shipping amount
₹ {{ number_format((float) $notax, 2) }}
GST amount (18%)
₹ {{ number_format((float) $gst, 2) }}
Total amount
₹ {{ number_format((float) $shipping, 2) }}
@elseif($figureStyle === 'payment')
Total shipping amount ₹{{ number_format((float) $notax, 2) }}
GST amount (18%) ₹{{ number_format((float) $gst, 2) }}
Total amount ₹{{ number_format((float) $shipping, 2) }}
@elseif($figureStyle === 'status')
Total shipping amount ₹{{ number_format((float) $notax, 2) }}
GST amount (18%) ₹{{ number_format((float) $gst, 2) }}
Total amount ₹{{ number_format((float) $shipping, 2) }}
@elseif($figureStyle === 'stack')
Total shipping amount
₹{{ number_format((float) $notax, 2) }}
GST amount (18%)
₹{{ number_format((float) $gst, 2) }}
Total amount
₹{{ number_format((float) $shipping, 2) }} @else
Total shipping amount ₹{{ number_format((float) $notax, 2) }}
GST amount (18%) ₹{{ number_format((float) $gst, 2) }}
Total amount ₹{{ number_format((float) $shipping, 2) }}
@endif @endif