Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
SOD/views/commands.pug
2020-08-18 17:13:22 +02:00

22 lines
752 B
Text

extends layout
block content
div#date-selector.card
label(for="date")=__("date")
input#date(type="date" value=date)
div#orders.card
h1=__("commands")
each user, department in commands
div.department
h2= department
each command, name in user
div.user
h3= name
each order, id in command
div.order
h4 #{__("command")} N°#{id}
each sandwich in order
div.sandwich
h4= sandwich.Sandwich.name
script(src="/javascripts/commands.js")