Skip to content

Commit

Permalink
Merge pull request #151 from venkylm10/mess_forms
Browse files Browse the repository at this point in the history
Mess forms
  • Loading branch information
Hareesh-Nandigrama authored Oct 18, 2023
2 parents 684626b + 73fdf14 commit 50f0470
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/pages/food/mess_opi_form.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class _MessOpiFormPageState extends State<MessOpiFormPage> {
});
if (breakfast == 0 || lunch == 0 || dinner == 0) {
showSnackBar("Please fill all the compulsory fields");
return;
}
final data = {
"comments": _commentsController.text.trim(),
Expand Down
2 changes: 2 additions & 0 deletions lib/pages/food/mess_subscription_change_form.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ class _MessSubscriptionPageState extends State<MessSubscriptionPage> {
});
if (_phoneController.text.length < 10) {
showSnackBar("Provide proper contact number");
return;
} else if (_rollNumberController.text != user.rollNo) {
showSnackBar("Incorrect Roll Number");
return;
}
final data = {
"hostelFrom": hostelFrom,
Expand Down

0 comments on commit 50f0470

Please sign in to comment.