foodcoop-adam/foodsoft

View on GitHub
lib/foodsoft_current_orders/app/views/current_orders/group_orders/_payment_bar.html.haml

Summary

Maintainability
Test Coverage
.pull-right
  = link_to t('ui.back'), root_path(anchor: ''), class: 'btn'

%p.pull-left
  = link_to t('current_orders.ordergroups.payment_bar.account_balance'), my_ordergroup_path
  = number_to_currency (ordergroup.account_balance)

%p#to_pay_message{style: 'text-align: center'}= to_pay_message(ordergroup)