@(orderQs: List[Task], kitchenItems: ArrayList[Task]) @* This is the template that defines the restaurant Kitchen interface that *@ @* shows the Order Queue and Kitchen Queue for the kitchen staff. *@ @* Receives the orders that are stored in a List data structure from *@ @* OrderQueue.java. Also receives the orders that have been moved *@ @* into the Kitchen Queue (stored in an ArrayList data structure) *@ @* from KitchenQueue.java. *@ @import helper._ @* Main template begins here. *@ @main("Kitchen Interface") { } { @* The Order Queue. *@

Order Queue

@* The number of orders in the queue. *@

@orderQs.size() orders in order queue.

@* Lists the order IDs and order items. *@

Kitchen Queue

@* The number of orders in the queue. *@

@kitchenItems.size() orders in kitchen queue.

@* List the orders in the Kitchen Queue and add "Complete" button to each item *@ @* to allow kitchen staff to clear the item when finished preparing. *@ Back to Dashboard @* HTML code to refresh the page automatically every 5 seconds. *@ }