gray-mueller / gray-mueller/full-stack-document-solution

Negative Values Allowed in Discount, Tip, Price and Addons Fields

Đang mở
#162 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Description:
During testing of the Enatega Multivendor Admin Dashboard, a critical issue was identified where fields such as discount, tip, price and addons allow the entry of negative values. This behavior is inconsistent with standard practices and poses a risk to accurate financial calculations, potentially leading to incorrect order totals and financial discrepancies.

Steps to Reproduce:
Log in to the Enatega Multivendor Admin Dashboard.
Navigate to sections where fields for discount, tip, price or addons are present.
Attempt to enter a negative value (e.g., "-10") in any of these fields.

Expected Behavior:
The application should restrict the entry of negative values in fields related to financial transactions, such as discount, tip, price and addons. An error message or validation prompt should be displayed, indicating that negative values are not allowed.

Actual Behavior:
The application allows the entry of negative values in fields such as discount, tip, price and addons without providing any error or validation message.

image

image

image

image

Activity

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start in the Enatega Multivendor Admin Dashboard by locating the forms for discount, tip, price, and addons and checking their current validation. Confirm how each field handles a value such as "-10" and identify the relevant form tests, if present. Done means all four fields reject negative values and display a validation message without allowing incorrect totals.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.