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

Enatega Customer Application : Remove Rating Option for Cancelled Orders by the restaurants.

Aperta
#35 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Describe the bug
If an order has been cancelled, there should not be an option to rate the food, order, or restaurant. Allowing ratings for cancelled orders can lead to inaccurate feedback and confusion. The rating option should be disabled for cancelled orders.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Customer Application'
Click on 'Profile' menu button and go to Order History option.
See error there that the orders which are cancelled by the restaurant , are still allowing the user to review that orders.
Expected behavior
The rating option should not be available for orders canceled by the restaurant.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Device: [e.g. Infinix Hot 50]
OS: [e.g. Android]
Browser [e.g. ,Application]
Version [e.g. 14]

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.