diff --git a/lib/views/inventarization/widget/good_inventarization_list_item.dart b/lib/views/inventarization/widget/good_inventarization_list_item.dart index d9067b3..24af91c 100644 --- a/lib/views/inventarization/widget/good_inventarization_list_item.dart +++ b/lib/views/inventarization/widget/good_inventarization_list_item.dart @@ -25,7 +25,6 @@ class GoodInventarizationListItem extends StatefulWidget { this.categoryName, this.isOdd = true, this.transactionId, - }) : super(key: key); final int inventoryItemId; final int inventoryId; @@ -126,11 +125,14 @@ class _GoodInventarizationListItemState ); if (response.confirmed) { if (isNumeric(response.responseCount)) { - bool result = await _service.setCountToItem(widget.inventoryId, widget.inventoryItemId, double.parse(response.responseCount!)); - if(result) { + bool result = await _service.setCountToItem(widget.inventoryId, + widget.inventoryItemId, double.parse(response.responseCount!)); + if (result) { widget.refresh(); } else { - _dialogService.showDialog(description: 'Что то пошло не так!'); + _dialogService.showDialog( + description: + 'Товар не найден или не доступен для инвентаризации'); } } else { _dialogService.showDialog(description: 'Не верный формат');