Add minimum stock to reservation
Правила для расчета количества остатка товара:
- When calculating the available stock for sale, subtract not only the ordered amount but also the minimum (non-reducible) stock. This is required when a minimum sale amount cannot be reduced.
Example:
- Stock 5, minimum 2, available 5. If an order for 4 items comes in, the stock will fall below the minimum.
- To prevent this situation, the minimum stock must be subtracted from the total stock along with the reservation.