25 lines
984 B
Text
25 lines
984 B
Text
extends layout
|
|
|
|
block content
|
|
div#date-selector.card
|
|
label(for="date")=__("date")
|
|
input#date(type="date" value=date)
|
|
div#orders.card
|
|
h1=__("orders")
|
|
each user, department in orders
|
|
div.department
|
|
h2= department
|
|
each orders, name in user
|
|
div.user
|
|
h3= name
|
|
each order, id in orders
|
|
div.order
|
|
h4 #{__("order")} N°#{id}
|
|
each sandwich in order
|
|
div.sandwich
|
|
form.give(method="POST" action="/orders/give")
|
|
input(type="hidden" name="id" value=id)
|
|
input.give(type="submit" value="v")
|
|
h4= sandwich.name
|
|
|
|
script(src="/javascripts/orders.js")
|