edocsss / rrpss Goto Github PK
View Code? Open in Web Editor NEWRestaurant Reservation and Point of Sale System (RRPSS) is a system which helps a restaurant to maintain reservations and customer's orders.
Restaurant Reservation and Point of Sale System (RRPSS) is a system which helps a restaurant to maintain reservations and customer's orders.
Object "alaCarte" may not fully be copied when being passed to Order
================================================================================
ID Name Price Description Type
================================================================================
1 Chicken rice 2.50 Delicious chicken rice Main course
2 Chicken rice 2 2.50 Delicious chicken rice 2 Main course
3 Package A 4.99 Package A is delicious
1 Chicken rice Delicious chicken rice Main course
2 Chicken rice 2 Delicious chicken rice 2 Main course
1. Create/Update/Remove menu item
2. Create/Update/Remove promotion
3. Create order
4. View order
5. Add/Remove order item/s to/from order
6. Create reservation booking
7. Check/Remove reservation booking
8. Check table availability
9. Print order invoice
10. Print sale revenue report by period (eg day or month)
11. Exit
Enter your choice: 3
Enter table number: 1
Enter staff ID: 123
================================================================================
ID Name Price Description Type
================================================================================
1 Chicken rice 2.50 Delicious chicken rice Main course
2 Chicken rice 2 2.50 Delicious chicken rice 2 Main course
3 Package A 4.99 Package A is delicious
1 Chicken rice Delicious chicken rice Main course
2 Chicken rice 2 Delicious chicken rice 2 Main course
Input AlaCarte IDs and quantity (space-separated) | Enter -1 to end:
2 2
-1
Input SetPackage IDs and quantity (space-separated) | Enter -1 to end:
-1
1. Create/Update/Remove menu item
2. Create/Update/Remove promotion
3. Create order
4. View order
5. Add/Remove order item/s to/from order
6. Create reservation booking
7. Check/Remove reservation booking
8. Check table availability
9. Print order invoice
10. Print sale revenue report by period (eg day or month)
11. Exit
Enter your choice: 4
Enter table number: 1
0 Chicken rice 2 2.50 x 2 5.00
1. Create/Update/Remove menu item
2. Create/Update/Remove promotion
3. Create order
4. View order
5. Add/Remove order item/s to/from order
6. Create reservation booking
7. Check/Remove reservation booking
8. Check table availability
9. Print order invoice
10. Print sale revenue report by period (eg day or month)
11. Exit
Enter your choice: 5
Enter table number: 1
1. Add order items to order
2. Remove order items from order
1
Input AlaCarte IDs and quantity (space-separated) | Enter -1 to end: 1 2 -1
Input SetPackage IDs (space-separated) | Enter -1 to end: -1
1. Create/Update/Remove menu item
2. Create/Update/Remove promotion
3. Create order
4. View order
5. Add/Remove order item/s to/from order
6. Create reservation booking
7. Check/Remove reservation booking
8. Check table availability
9. Print order invoice
10. Print sale revenue report by period (eg day or month)
11. Exit
Enter your choice: 4
Enter table number: 1
0 Chicken rice 2 2.50 x 2 5.00
0 Chicken rice 2.50 x 2 5.00
1. Create/Update/Remove menu item
2. Create/Update/Remove promotion
3. Create order
4. View order
5. Add/Remove order item/s to/from order
6. Create reservation booking
7. Check/Remove reservation booking
8. Check table availability
9. Print order invoice
10. Print sale revenue report by period (eg day or month)
11. Exit
Enter your choice: 8
Input table number: 1
Table number 1 is unavailable!
1. Create/Update/Remove menu item
2. Create/Update/Remove promotion
3. Create order
4. View order
5. Add/Remove order item/s to/from order
6. Create reservation booking
7. Check/Remove reservation booking
8. Check table availability
9. Print order invoice
10. Print sale revenue report by period (eg day or month)
11. Exit
Enter your choice: 9
Enter table number: 1
Membership (Y/N)? y
Order Invoice #1
Table: 1
Date: java.util.GregorianCalendar[time=1414497715641,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Singapore",offset=28800000,dstSavings=0,useDaylight=false,transitions=9,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2014,MONTH=9,WEEK_OF_YEAR=44,WEEK_OF_MONTH=5,DAY_OF_MONTH=28,DAY_OF_YEAR=301,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=4,AM_PM=1,HOUR=8,HOUR_OF_DAY=20,MINUTE=1,SECOND=55,MILLISECOND=641,ZONE_OFFSET=28800000,DST_OFFSET=0]
Order breakdown:
[0] Chicken rice 2 2.5 x2 = 5.0
[0] Chicken rice 2.5 x2 = 5.0
Total price: 10.0
Membership discount: 1.0
GST: 0.6300000000000001
Grand total: 8.37
1. Create/Update/Remove menu item
2. Create/Update/Remove promotion
3. Create order
4. View order
5. Add/Remove order item/s to/from order
6. Create reservation booking
7. Check/Remove reservation booking
8. Check table availability
9. Print order invoice
10. Print sale revenue report by period (eg day or month)
11. Exit
Enter your choice:
Due to commit fdf93ad the app can't be run as Menu and AlaCarte class has been changed. Please update the database. Thanks ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.