lab-6-hard preparing for pr

This commit is contained in:
Zakharov_Rostislav 2024-05-24 22:48:16 +04:00
parent 94ca959be1
commit 69d4fd07ee

View File

@ -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.Ожидает;