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