@if(!empty($orderFinancials)) @if($orderFinancials['taxCents'] > 0) @endif @if($orderFinancials['serviceChargeTotalCents'] > 0) @foreach($orderFinancials['serviceChargeRows'] as $serviceCharge) @endforeach @endif @if($orderFinancials['promotionTotalCents'] > 0) @endif @if($orderFinancials['discountTotalCents'] > 0) @endif
Subtotal {!! $currencySymbol !!}{{ $orderFinancials['subtotalFormatted'] }}
Tax {!! $currencySymbol !!}{{ $orderFinancials['taxFormatted'] }}
{{ $serviceCharge['label'] }} {!! $currencySymbol !!}{{ $serviceCharge['formatted'] }}
Promo
@foreach($orderFinancials['promotionRows'] as $promotion) {{ $promotion['label'] }}
@endforeach
{{ count($orderFinancials['promotionRows']) }} Applied
@foreach($orderFinancials['promotionRows'] as $promotion) - {!! $currencySymbol !!}{{ $promotion['formatted'] }}
@endforeach
Discount
@foreach($orderFinancials['discountRows'] as $discount) {{ $discount['label'] }}
@endforeach
- {!! $currencySymbol !!}{{ $orderFinancials['discountTotalFormatted'] }}
Order Total {!! $currencySymbol !!}{{ $orderFinancials['orderTotalFormatted'] }}
@endif