further optimised checkouts behaviour
This commit is contained in:
@@ -168,12 +168,9 @@ namespace Caisses
|
||||
{
|
||||
NotFullCheckouts.Add(checkout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (GraphicalCheckout checkout in Checkouts)
|
||||
{
|
||||
if (checkout.Open && checkout.Clients.Count > 0)
|
||||
//Checkout behaviour
|
||||
if (checkout.Clients.Count > 0)
|
||||
{
|
||||
Client cClient = checkout.Clients[0];
|
||||
if (cClient.State != Client.ClientState.Checkout)
|
||||
@@ -192,6 +189,7 @@ namespace Caisses
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public List<Bitmap> Draw()
|
||||
{
|
||||
ShelvesCorner = new Bitmap(ShelvesCorner.Width, ShelvesCorner.Height);
|
||||
|
||||
Reference in New Issue
Block a user