@php
$currency = '£ ';
if(isset($order->currency) && $order->currency != Currency::GBP){
$currency = '¥ ';
} elseif(isset($_COOKIE['currency']) && (int)$_COOKIE['currency'] != Currency::GBP){
$currency = '¥ ';
}
@endphp
@if($order->applicationFee > 0)
{{__('Application Fee')}}:
{{$currency.number_format($order->applicationFee, 2, '.', ',')}}
@endif
@if($order->serviceFee > 0)
{{__('Service Charge')}}:
{{$currency.number_format($order->serviceFee, 2, '.', ',')}}
@endif
@if($order->vipCas > 0)
{{__('VIP CAS')}}:
{{$currency.number_format($order->vipCas, 2, '.', ',')}}
@endif
@if($order->quickGuarantee > 0)
{{__('Quick Guarantee')}}:
{{$currency.number_format($order->quickGuarantee, 2, '.', ',')}}
@endif
{{--@if(isset($discount->code))--}}
@if(false)
{{__('Promo Code')}}:
@if(!isset($isPayment))
{{$discount->code}}
@endif
{{'-'.$currency.number_format($discount->discount, 2, '.', ',')}}
@endif
@if($order->myWallet > 0)
{{__('My Wallet')}}:
{{'-'.$currency.number_format($order->myWallet, 2, '.', ',')}}
@endif
@if($order->totalSaving > 0)
{{__('Total Saving')}}:
{{'-'.$currency.number_format($order->totalSaving, 2, '.', ',')}}
@endif
@if($order->total && !isset($order->isPayment))
{{__('Total')}}:
{{$currency.number_format($order->total, 2, '.', ',')}}
@endif
{{--TODO: add another items or event pricing if needed--}}