Add option to restrict ordering when not enough apples.

This commit is contained in:
benni 2012-09-29 17:52:25 +02:00
parent d3abc03e56
commit ff4ab44bcc
11 changed files with 104 additions and 28 deletions

View file

@ -38,6 +38,10 @@ default: &defaults
# for total article price as long as the order is not finished.
tolerance_is_costly: false
# Ordergroups, which have less than 75 apples should not be allowed to make new orders
# Comment out this option to activate this restriction
# stop_ordering_under: 75
# email address to be used as sender
email_sender: foodsoft@myfoodcoop.org

View file

@ -4,6 +4,12 @@ de:
home:
index:
title: Startseite
group_orders:
messages:
not_enough_apples:
Um zu Bestellen brauchst Du mindestends %{stop_ordering_under} Äpfel.
Momentan hat Deine Bestellgruppe aber nur %{apples} Äpfel.
date:
abbr_day_names:
- So