Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated chef station, still needs some work
  • Loading branch information
Jacob Boislard committed Apr 18, 2017
1 parent 0279a3a commit be94fdd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Enigma/Stations/ChefStation.cs
Expand Up @@ -11,7 +11,7 @@ namespace Enigma.Stations
{
public ChefStation(string stationid) : base(StationTypeDef.host, stationid)
{
Employee activeEmployee = SystemFunctions.showPinScreenUntilAuthenticated(EmployeeRole.chef);
Employee activeEmployee = SystemFunctions.showPinScreenUntilAuthenticated(EmployeeRole.host);
view = new StationsGUI.ChefStationView();

}
Expand Down
7 changes: 4 additions & 3 deletions Enigma/StationsGUI/ChefStationView.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Enigma/StationsGUI/ChefStationView.cs
Expand Up @@ -21,6 +21,7 @@ namespace Enigma.StationsGUI
{
DBConnect db = new DBConnect();
List<Order> orders = new List<Order>();
List<EnigmaMenuItem> items = new List<EnigmaMenuItem>();

public ChefStationView()
{
Expand Down Expand Up @@ -50,13 +51,13 @@ namespace Enigma.StationsGUI
orderListBox.Items.Clear();
foreach (Order order in orders)
{
orderListBox.Items.Add(order);
orderListBox.Items.Add(order.getOrder());
}
}

private void checkOffOrderButton_Click(object sender, EventArgs e)
{

}

private void queryTimer_Tick(object sender, EventArgs e)
Expand Down

0 comments on commit be94fdd

Please sign in to comment.