mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-30 21:27:17 +00:00
I've checked staging, and I could not find this message, nor the entry in the en.yml file - I think we're not rendering this message currently, hence, the removal.
23 lines
777 B
Plaintext
23 lines
777 B
Plaintext
= render partial: 'spree/admin/shared/order_page_title'
|
|
= render partial: 'spree/admin/shared/order_tabs', locals: { current: 'Payments' }
|
|
|
|
- content_for :page_actions do
|
|
- if @order.outstanding_balance?
|
|
%li#new_payment_section
|
|
= button_link_to t(:new_payment), new_admin_order_payment_url(@order), icon: 'icon-plus'
|
|
= render partial: 'spree/admin/shared/order_links'
|
|
%li= button_link_to t(:back_to_orders_list), admin_orders_path, icon: 'icon-arrow-left'
|
|
|
|
- content_for :page_title do
|
|
%i.icon-arrow-right
|
|
= t(:payments)
|
|
|
|
- if @order.outstanding_balance?
|
|
%h5.outstanding-balance
|
|
= outstanding_balance_label(@order)
|
|
\:
|
|
%strong= @order.display_outstanding_balance
|
|
|
|
- if @payments.any?
|
|
= render partial: 'list', locals: { payments: @payments }
|