further optimised checkouts behaviour
This commit is contained in:
1 parent
3c18e7e360
commit
780f9a8c28
1 file changed
+3
-5
@@ -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