@php $isDiscountCodeAdded = !empty($addedCode); @endphp

@if (session('success'))
@svg('check', 'h-4 w-4 stroke-primary-500') {{ session('success') }}
@endif @if (session('error'))
@svg('error', 'h-4 w-4 stroke-primary-500') {{ session('error') }}
@endif @if ($isDiscountCodeAdded) @else
{{ __('Add Discount') }}
@endif

{{ __('Price') }}
@money($subtotal, $currencyCode)
@if($discountAmount > 0)
{{ __('Discount') }}
@money($discountAmount, $currencyCode)

{{ __('Total') }}
@money($amountDue, $currencyCode)
@endif
{{ __('Due now') }}
@money($amountDue, $currencyCode)