7af796c09c
Conflicts: app/controllers/admin/ordergroups_controller.rb app/controllers/finance/balancing_controller.rb app/controllers/suppliers_controller.rb app/views/articles/_article.html.haml app/views/finance/balancing/_summary.haml app/views/finance/balancing/new.html.haml app/views/group_orders/_form.html.haml app/views/home/_apple_bar.html.haml app/views/suppliers/index.haml
9 lines
471 B
Text
9 lines
471 B
Text
= t '.points', points: apple_bar.apples
|
|
.progress
|
|
%div{class: "bar bar-#{apple_bar.group_bar_state}", style: "width: #{apple_bar.group_bar_width}%"}
|
|
|
|
%span.description
|
|
= t '.desc', amount: number_to_currency(apple_bar.mean_order_amount_per_job, :precision=>0)
|
|
- if FoodsoftConfig[:stop_ordering_under].present?
|
|
%strong= t('.warning', threshold: FoodsoftConfig[:stop_ordering_under])
|
|
= link_to t('.more_info'), FoodsoftConfig[:applepear_url], target: '_blank'
|