@php $money = $payment->selectedMoney(); @endphp @if($money['subtotal'] !== null) Subtotal {{ $money['mark'] }}{{ number_format($money['subtotal'], 2) }} @endif @if($money['fee'] !== null) Service fee {{ $money['mark'] }}{{ number_format($money['fee'], 2) }} @endif @if($money['total'] !== null) Total {{ $money['mark'] }}{{ number_format($money['total'], 2) }} @endif