@csrf @if($payment)

@lang('modules.order.paymentInformation')

@lang('modules.order.orderNumber'): {{ $payment->order->show_formatted_order_number ?? $payment->order->order_number }}
@lang('modules.order.amount'): {{ currency_format($payment->amount, restaurant()->currency_id) }}
@lang('modules.order.paymentMethod'): {{ $payment->payment_method }}
@if($payment->transaction_id)
@lang('modules.order.transactionId'): {{ $payment->transaction_id }}
@endif
@if($refundType === 'partial')
@endif
@if($refundType === 'partial')

@lang('modules.refund.maxRefundAmount'): {{ currency_format($payment->amount, restaurant()->currency_id) }}

@if($partialRefundType === 'half')

@lang('modules.refund.halfAmountNote'): {{ currency_format($payment->amount / 2, restaurant()->currency_id) }}

@endif @endif @if($refundType === 'waste')

@lang('modules.refund.wasteRefundNote')

@lang('modules.refund.wasteAmountDisplayNote'): {{ currency_format($payment->amount, restaurant()->currency_id) }}

@endif @if($refundType === 'full')

@lang('modules.refund.fullRefundNote')

@endif
@endif
@lang('modules.refund.processRefund') @lang('app.cancel')