5sControl / 5sControl/5s-frontend
Order is created with time 0 minutes
- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Precondition:
Go to https://stage.5scontrol.com\mobile
Login as admin
Отсканировать QR с операцией сборка.
Login - петров_петр
пароль - 1234
Description:
После сканирования QR операции, а после отменить (не выбрав никое время), в заказах появляется данная операция с временем 0 минут
Step to reproduce:
1. Отсканировать QR под worker
2. Кликнуть на иконку "Назад" сверху слева
3. Проверить заказ под админом
Expected result:
Появляется заказ. Время указывается 0 минут
Actual result:
Заказ не должен создаваться
Attachment:


Guía de contribución
Línea de trabajo
The issue describes a mobile frontend bug where an order is incorrectly created with 0 minutes when a QR scan operation is cancelled. Start by examining the mobile login flow and QR scanning components. Look for the order creation logic and the condition that triggers it when the 'back' icon is clicked. Check the state management for the operation time to see why a zero value is passed. Verify the expected behavior by testing the cancellation path.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react, typescript
- Área
- frontend, mobile
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100