@php $backendSetting = get_theme_option(key: 'backend_general') ?? null; $currency = $backendSetting['currency'] ?? 'USD-$'; $currencySymbol = get_currency_symbol($currency); @endphp
{{ translate('Subtotal') }}
|
{{ $currencySymbol }}{{ $data['totalPrice'] }}
|
{{ translate('Discount') }} (-)
|
{{ $currencySymbol }}{{ $data['discountAmount'] }}
|
@endif
{{ translate('Total') }}
|
@php
$totalPrice = $data['discountAmount']
? $data['totalPrice'] - $data['discountAmount']
: $data['totalPrice'];
@endphp
{{ $currencySymbol }}{{ $totalPrice }}
|