75bb400d0d
remove group order panel close buttons things shouldn't just disapear order article disabled button should be gray roup order swap plus and minus buttons because it's more naturally intuitive like this group order make order details collapse group order pull search to the right group order make 'current orders' more obvious fix switch menu rework group order edit form * make switch order a menu list * table more slim * alert when balance negative instead of making everything red * search to the right wip: rework group order details tried to reduce the amount of informations shown. but needs some user feedback, what information are actually relevant rework group order show view dashboard make show edit current order action more precise group order package indication uses more color-blind friendly color group order fix dancing quantity buttons group order switch menu use show view group order show window with some explanations group order edit title more clear grou order edit show less infos group order switch view next iteration grou order index narrower tables move order details to show again remove unused stuff
19 lines
761 B
Text
19 lines
761 B
Text
%table
|
|
%tr
|
|
%td= t('group_orders.form.total_sum_amount') + ':'
|
|
%td.currency
|
|
%span#total_price= number_to_currency(@group_order.price)
|
|
%tr
|
|
- if FoodsoftConfig[:charge_members_manually]
|
|
- old_balance = @ordering_data[:account_balance]
|
|
%td= heading_helper(Ordergroup, :account_balance) + ':'
|
|
%td.currency= number_to_currency(@ordering_data[:account_balance])
|
|
- else
|
|
- old_balance = @ordering_data[:available_funds]
|
|
%td= heading_helper(Ordergroup, :available_funds) + ':'
|
|
%td.currency= number_to_currency(@ordering_data[:available_funds])
|
|
%tr
|
|
%td= t('group_orders.form.new_funds') + ':'
|
|
%td.currency
|
|
%strong
|
|
%span#new_balance= number_to_currency(old_balance - @group_order.price)
|