diff --git a/app/views/spree/admin/payments/source_views/_paypal.html.haml b/app/views/spree/admin/payments/source_views/_paypal.html.haml index d1094fa000..be3210fcd5 100644 --- a/app/views/spree/admin/payments/source_views/_paypal.html.haml +++ b/app/views/spree/admin/payments/source_views/_paypal.html.haml @@ -15,22 +15,3 @@ = Spree.t(:transaction_id) \: %dd= payment.source.transaction_id - - if payment.source.state != 'refunded' - = button_link_to Spree.t('actions.refund', scope: :paypal), - spree.paypal_refund_admin_order_payment_path(@order, payment), - icon: 'icon-dollar' - - else - .alpha.six.columns - %dl - %dt - = Spree.t(:state, scope: :paypal) - \: - %dd= payment.source.state.titleize - %dt - = Spree.t(:refunded_at, scope: :paypal) - \: - %dd= pretty_time(payment.source.refunded_at) - %dt - = Spree.t(:refund_transaction_id, scope: :paypal) - \: - %dd= payment.source.refund_transaction_id