Commit a0885660 authored by Johannes Knödtel's avatar Johannes Knödtel 🎶
Browse files

style fixes

parent f1967123
......@@ -15,7 +15,7 @@
(GET "/tex-pdf/:session" [session :<< as-int]
(pages/list-tex-pdf session))
;(GET "/announce-deliver" [] (irc/announce-deliver))
;(GET "/announce-deliver" [] (irc/announce-deliver))
;; Webpages
(GET "/" []
......@@ -42,11 +42,11 @@
session :<< as-int
:as {headers :headers}]
(pages/add-food {:customer customer
:food_name food_name
:comment comment
:quantity quantity
:session session}
headers))
:food_name food_name
:comment comment
:quantity quantity
:session session}
headers))
(POST "/add-price" [food_buy_package_size :<< util/quantity-string-to-decimal
food_buy_quantity :<< util/number-string-to-integer
......@@ -55,11 +55,11 @@
session :<< as-int
:as {headers :headers}]
(pages/add-price {:ammount_per_package food_buy_package_size
:number_of_packages food_buy_quantity
:package_price food_buy_packageprice
:food_name_comment food_name_comment
:session session}
headers))
:number_of_packages food_buy_quantity
:package_price food_buy_packageprice
:food_name_comment food_name_comment
:session session}
headers))
(POST "/create-session" [name :<< str]
(pages/create-session {:name name}))
......@@ -68,8 +68,8 @@
session :<< as-int
:as {headers :headers}]
(pages/pay {:customer customer
:session session}
headers))
:session session}
headers))
(POST "/delete-order" [customer :<< str
food_name :<< str
......@@ -77,10 +77,10 @@
session :<< as-int
:as {headers :headers}]
(pages/delete-order {:customer customer
:food_name food_name
:comment comment
:session session}
headers))
:food_name food_name
:comment comment
:session session}
headers))
(POST "/edit-order" [old_customer :<< str
old_food_name :<< str
......@@ -92,14 +92,14 @@
session :<< as-int
:as {headers :headers}]
(pages/edit-order {:old_customer old_customer
:old_food_name old_food_name
:old_comment old_comment
:customer customer
:food_name food_name
:comment comment
:quantity quantity
:session session}
headers)))
:old_food_name old_food_name
:old_comment old_comment
:customer customer
:food_name food_name
:comment comment
:quantity quantity
:session session}
headers))
(POST "/lock-session" [session :<< as-int
:as {headers :headers}]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment