mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
After re-arranging the locale file, the keys in the code needed to be adapted accordingly.
21 lines
643 B
Plaintext
21 lines
643 B
Plaintext
%p.callout
|
|
%span{:style => "float:right;"}
|
|
- if @order.outstanding_balance?
|
|
= outstanding_balance_label(@order)
|
|
\:
|
|
%strong= @order.display_outstanding_balance
|
|
- else
|
|
- if @order.paid?
|
|
= t('.email_paid')
|
|
- else
|
|
= t('.email_not_paid')
|
|
%strong
|
|
= t('.email_summary')
|
|
- if @order.payments.any?
|
|
= render partial: 'spree/shared/payments_list', locals: { payments: @order.payments }
|
|
- if last_payment_method(@order).present?
|
|
%p.callout{style: "margin-top: 40px"}
|
|
%strong
|
|
= t('.email_description')
|
|
%p{style: "margin: 5px"}= last_payment_method(@order).description
|