Add option to restrict ordering when not enough apples.
This commit is contained in:
parent
d3abc03e56
commit
ff4ab44bcc
11 changed files with 104 additions and 28 deletions
|
|
@ -1,6 +1,9 @@
|
|||
.box_title
|
||||
%h2 Laufende Bestellungen
|
||||
.column_content
|
||||
- if ordergroup.not_enough_apples?
|
||||
.warning
|
||||
%p Achtung, Deine Bestellgruppe hat zu wenig Äpfel um Bestellen zu können!
|
||||
- unless Order.open.empty?
|
||||
%table.list
|
||||
%thead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue