lab-6-hard preparing for pr
This commit is contained in:
parent
94ca959be1
commit
69d4fd07ee
@ -95,7 +95,7 @@ namespace BlacksmithWorkshopBusinessLogic.BusinessLogics
|
||||
_logger.LogWarning("Status update to " + status.ToString() + " operation failed. Document not found.");
|
||||
return false;
|
||||
}
|
||||
if (CheckSupply(manufacture, element.Count) == false)
|
||||
if (!CheckSupply(manufacture, element.Count))
|
||||
{
|
||||
_logger.LogWarning("Status update to " + status.ToString() + " operation failed. Shop supply error.");
|
||||
status = OrderStatus.Ожидает;
|
||||
|
Loading…
x
Reference in New Issue
Block a user