├── app ├── .gitignore ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── dineout │ │ │ │ └── code │ │ │ │ ├── kitchen │ │ │ │ ├── models │ │ │ │ │ ├── Dish.java │ │ │ │ │ ├── ChefQueue.java │ │ │ │ │ ├── OrderComparator.java │ │ │ │ │ ├── AttendanceDb.java │ │ │ │ │ ├── Order.java │ │ │ │ │ ├── DishDb.java │ │ │ │ │ ├── OrderDb.java │ │ │ │ │ ├── OrderDetailsDb.java │ │ │ │ │ └── EmployeeDb.java │ │ │ │ ├── OrderViewHolder.java │ │ │ │ ├── CooksListActivity.java │ │ │ │ ├── listener │ │ │ │ │ └── OnSwipeTouchListener.java │ │ │ │ ├── RecyclerViewAdapterAttendanceList.java │ │ │ │ └── RecyclerViewAdapterCook.java │ │ │ │ ├── reporting │ │ │ │ ├── EmailSender │ │ │ │ │ └── TableRow.java │ │ │ │ ├── order.java │ │ │ │ └── JSSEProvider.java │ │ │ │ ├── hall │ │ │ │ ├── TableSetup.java │ │ │ │ ├── DB │ │ │ │ │ ├── MenuItems.java │ │ │ │ │ ├── Tablet.java │ │ │ │ │ ├── Receipt.java │ │ │ │ │ ├── Table.java │ │ │ │ │ ├── MenuItem.java │ │ │ │ │ ├── Assignment.java │ │ │ │ │ ├── NotificationClass.java │ │ │ │ │ ├── Item.java │ │ │ │ │ ├── Order.java │ │ │ │ │ ├── BillStatus.java │ │ │ │ │ ├── Menu.java │ │ │ │ │ ├── Inventory.java │ │ │ │ │ ├── OrderDetails.java │ │ │ │ │ └── Employee.java │ │ │ │ └── OnSwipeTouchListener.java │ │ │ │ ├── order │ │ │ │ ├── Inventory.java │ │ │ │ ├── WelcomePage.java │ │ │ │ ├── cart.java │ │ │ │ ├── NotificationClass.java │ │ │ │ ├── MenuItem.java │ │ │ │ ├── Order.java │ │ │ │ ├── Item.java │ │ │ │ ├── Menu.java │ │ │ │ ├── quantityInvalidPrompt.java │ │ │ │ └── OrderDetails.java │ │ │ │ ├── admin │ │ │ │ ├── IngredientRow.java │ │ │ │ ├── Tablet.java │ │ │ │ ├── HomeActivity.java │ │ │ │ ├── Table.java │ │ │ │ ├── NotificationClass.java │ │ │ │ ├── MenuItem.java │ │ │ │ ├── Item.java │ │ │ │ ├── EndOfWeekActivitiy.java │ │ │ │ ├── Menu.java │ │ │ │ ├── Updateitem.java │ │ │ │ ├── Employee.java │ │ │ │ ├── NotificationsAdapter.java │ │ │ │ ├── IngredientsListAdapter.java │ │ │ │ └── AddItem.java │ │ │ │ └── billing │ │ │ │ ├── DishOrder.java │ │ │ │ ├── DishPrice.java │ │ │ │ └── OrderBill.java │ │ └── res │ │ │ ├── drawable │ │ │ ├── btn.png │ │ │ ├── booked.PNG │ │ │ ├── cancel.png │ │ │ ├── check.png │ │ │ ├── chef.JPG │ │ │ ├── cook.png │ │ │ ├── free.PNG │ │ │ ├── logo.png │ │ │ ├── occupy.PNG │ │ │ ├── plus.png │ │ │ ├── dustbin.png │ │ │ ├── logout2.jpg │ │ │ ├── welcome.jpg │ │ │ ├── welcome0.jpg │ │ │ ├── welcome2.jpg │ │ │ ├── welcome3.jpg │ │ │ ├── orangecart.png │ │ │ ├── continueboard.png │ │ │ ├── orangecrossbutton.png │ │ │ ├── load_balance.xml │ │ │ ├── mybutton.xml │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable-v24 │ │ │ ├── btn.png │ │ │ ├── chef.JPG │ │ │ ├── cook.png │ │ │ ├── free.PNG │ │ │ ├── plus.png │ │ │ ├── booked.PNG │ │ │ ├── cancel.png │ │ │ ├── check.png │ │ │ ├── dustbin.png │ │ │ ├── logout2.jpg │ │ │ ├── occupy.PNG │ │ │ ├── welcome.jpg │ │ │ ├── welcome0.jpg │ │ │ ├── welcome2.jpg │ │ │ ├── welcome3.jpg │ │ │ ├── orangecart.png │ │ │ ├── continueboard.png │ │ │ ├── orangecrossbutton.png │ │ │ ├── load_balance.xml │ │ │ ├── mybutton.xml │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── values │ │ │ ├── dimens.xml │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ │ ├── menu │ │ │ └── options_menu.xml │ │ │ └── layout │ │ │ ├── order_ingridient.xml │ │ │ ├── admin_ingredients_view.xml │ │ │ ├── kitchen │ │ │ ├── prompts.xml │ │ │ ├── activity_cooks_list.xml │ │ │ ├── layout_attendance.xml │ │ │ ├── activity_attendance2.xml │ │ │ ├── activity_main.xml │ │ │ └── layout_cooks_list.xml │ │ │ ├── reporting_activity_main.xml │ │ │ ├── kitchen_prompts.xml │ │ │ ├── order_orderconfirmpopup.xml │ │ │ ├── hall_dishes_queue.xml │ │ │ ├── order_quantityinvalidpopup.xml │ │ │ ├── admin_notificationitem.xml │ │ │ ├── admin_ingredient_row.xml │ │ │ ├── order_activity_cart_list_view.xml │ │ │ ├── admin_ingredient_row_red.xml │ │ │ ├── billing │ │ │ ├── pending_view.xml │ │ │ ├── activity_pending_payments.xml │ │ │ └── bill_view.xml │ │ │ ├── kitchen_activity_cooks_list.xml │ │ │ ├── hall_activity_tablets.xml │ │ │ ├── hall_activity_tables.xml │ │ │ ├── kitchen_layout_attendance.xml │ │ │ ├── hall_activity_tracking.xml │ │ │ ├── hall_activity_receive_payment.xml │ │ │ ├── hall_activity_view_completed_orders.xml │ │ │ ├── hall_activity_ready_to_serve_orders.xml │ │ │ ├── kitchen_activity_attendance2.xml │ │ │ ├── billing_pending_view.xml │ │ │ ├── billing_activity_pending_payments.xml │ │ │ ├── order_menulist.xml │ │ │ ├── order_cartobjects.xml │ │ │ ├── admin_activity_home.xml │ │ │ ├── order_item.xml │ │ │ ├── hall_completedorder_layout.xml │ │ │ ├── hall_tablet_layout.xml │ │ │ ├── hall_activity_table_setup.xml │ │ │ ├── admin_activity_notifications.xml │ │ │ ├── hall_track_layout.xml │ │ │ ├── billing_bill_view.xml │ │ │ ├── kitchen_activity_main.xml │ │ │ ├── hall_readyorder_layout.xml │ │ │ ├── order_activity_welcome_page.xml │ │ │ └── admin_activity_set_end_of_week.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── dineout │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── dineout │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── images ├── 1.PNG ├── 2.PNG ├── 3.PNG └── 4.PNG ├── database └── DB Schema.docx ├── documents └── SRS (Latest).pdf ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── vcs.xml ├── runConfigurations.xml ├── gradle.xml ├── codeStyles │ └── Project.xml └── misc.xml ├── .github └── FUNDING.yml ├── gradle.properties ├── LICENSE └── gradlew.bat /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /images/1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/images/1.PNG -------------------------------------------------------------------------------- /images/2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/images/2.PNG -------------------------------------------------------------------------------- /images/3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/images/3.PNG -------------------------------------------------------------------------------- /images/4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/images/4.PNG -------------------------------------------------------------------------------- /database/DB Schema.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/database/DB Schema.docx -------------------------------------------------------------------------------- /documents/SRS (Latest).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/documents/SRS (Latest).pdf -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/kitchen/models/Dish.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.kitchen.models; 2 | 3 | public class Dish { 4 | } 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/btn.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/booked.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/booked.PNG -------------------------------------------------------------------------------- /app/src/main/res/drawable/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/cancel.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/check.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/chef.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/chef.JPG -------------------------------------------------------------------------------- /app/src/main/res/drawable/cook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/cook.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/free.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/free.PNG -------------------------------------------------------------------------------- /app/src/main/res/drawable/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/occupy.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/occupy.PNG -------------------------------------------------------------------------------- /app/src/main/res/drawable/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/plus.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/btn.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/chef.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/chef.JPG -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/cook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/cook.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/free.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/free.PNG -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/plus.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/dustbin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/dustbin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/logout2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/logout2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/welcome.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/welcome.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/welcome0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/welcome0.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/welcome2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/welcome2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/welcome3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/welcome3.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/booked.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/booked.PNG -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/cancel.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/check.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/dustbin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/dustbin.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/logout2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/logout2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/occupy.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/occupy.PNG -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/welcome.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/welcome.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/orangecart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/orangecart.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/welcome0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/welcome0.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/welcome2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/welcome2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/welcome3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/welcome3.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/continueboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/continueboard.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/orangecart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/orangecart.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/continueboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/continueboard.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/orangecrossbutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable/orangecrossbutton.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/orangecrossbutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/drawable-v24/orangecrossbutton.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harismuneer/Restaurant-Management-System/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/kitchen/models/ChefQueue.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.kitchen.models; 2 | 3 | import java.util.ArrayList; 4 | 5 | public class ChefQueue { 6 | private ArrayList dishes; 7 | } 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/reporting/EmailSender/TableRow.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.reporting.EmailSender;/* 2 | public class TableRow { 3 | Object[] cells; 4 | 5 | public TableRow(Object[] cells) { 6 | this.cells = cells; 7 | } 8 | 9 | } 10 | */ 11 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 8dp 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/menu/options_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/reporting/order.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.reporting; 2 | 3 | 4 | public class order 5 | { 6 | public order() 7 | { 8 | loss = 0; 9 | total_amount = 0; 10 | } 11 | 12 | //loss of particular order 13 | public int loss; 14 | 15 | //total_amount paid for a particular order 16 | public int total_amount; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/load_balance.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/load_balance.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/test/java/com/dineout/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.dineout; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/hall/TableSetup.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.hall; 2 | 3 | import android.os.Bundle; 4 | import android.support.v7.app.AppCompatActivity; 5 | import android.support.v7.widget.Toolbar; 6 | 7 | import com.dineout.R; 8 | 9 | 10 | public class TableSetup extends AppCompatActivity { 11 | 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | setContentView(R.layout.hall_activity_table_setup); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #ff4081 6 | 7 | #ff9800 8 | #ef6c00 9 | 10 | #D81B60 11 | #000000 12 | #FFFFFF 13 | 14 | #ffff8800 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/kitchen/models/OrderComparator.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.kitchen.models; 2 | 3 | import java.util.Comparator; 4 | 5 | public class OrderComparator implements Comparator { 6 | 7 | @Override 8 | public int compare(OrderDetailsDb o1, OrderDetailsDb o2) { 9 | if (o2.getStatus() != o1.getStatus()) 10 | return (new Integer(o2.getStatus())).compareTo((new Integer(o1.getStatus()))); 11 | 12 | return (new Integer(o2.getPriority())).compareTo((new Integer(o1.getPriority()))); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/order/Inventory.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.order; 2 | 3 | import java.util.Date; 4 | 5 | //Contains details about ingridients ,their status,expiry e.t.c 6 | 7 | public class Inventory { 8 | public String name; 9 | public Date expiryDate; 10 | public int price; 11 | public int quantity; 12 | 13 | public Inventory(String name, Date expiryDate, int price, int quantity) { 14 | this.name = name; 15 | this.expiryDate = expiryDate; 16 | this.price = price; 17 | this.quantity = quantity; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/hall/DB/MenuItems.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.hall.DB; 2 | 3 | import java.io.Serializable; 4 | import java.util.ArrayList; 5 | import java.util.List; 6 | 7 | public class MenuItems implements Serializable { 8 | List items = new ArrayList<>(); 9 | 10 | public MenuItems() { 11 | } 12 | 13 | public MenuItems(List items) { 14 | this.items = items; 15 | } 16 | 17 | public List getItems() { 18 | return items; 19 | } 20 | 21 | public void setItems(List items) { 22 | this.items = items; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/admin/IngredientRow.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.admin; 2 | 3 | public class IngredientRow { 4 | private String name; 5 | private String quantity; 6 | 7 | public IngredientRow(String name, String quantity) { 8 | this.name = name; 9 | this.quantity = quantity; 10 | } 11 | 12 | public String getName() { 13 | return name; 14 | } 15 | 16 | public void setName(String name) { 17 | this.name = name; 18 | } 19 | 20 | public String getQuantity() { 21 | return quantity; 22 | } 23 | 24 | public void setQuantity(String quantity) { 25 | this.quantity = quantity; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: https://www.cyfylabs.com 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/admin/Tablet.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.admin; 2 | 3 | public class Tablet { 4 | String tabletID; 5 | String status; 6 | 7 | public Tablet(String tabletID, String status) { 8 | this.tabletID = tabletID; 9 | this.status = status; 10 | } 11 | 12 | public Tablet() { 13 | } 14 | 15 | public String getTabletID() { 16 | return tabletID; 17 | } 18 | 19 | public void setTabletID(String tabletID) { 20 | this.tabletID = tabletID; 21 | } 22 | 23 | public String getStatus() { 24 | return status; 25 | } 26 | 27 | public void setStatus(String status) { 28 | this.status = status; 29 | } 30 | } 31 | 32 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/hall/DB/Tablet.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.hall.DB; 2 | 3 | public class Tablet { 4 | String tabletID; 5 | String status; 6 | 7 | public Tablet() { 8 | } 9 | 10 | public Tablet(String tabletID, String status) { 11 | this.tabletID = tabletID; 12 | this.status = status; 13 | } 14 | 15 | public String getTabletID() { 16 | return tabletID; 17 | } 18 | 19 | public void setTabletID(String tabletID) { 20 | this.tabletID = tabletID; 21 | } 22 | 23 | public String getStatus() { 24 | return status; 25 | } 26 | 27 | public void setStatus(String status) { 28 | this.status = status; 29 | } 30 | } 31 | 32 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/kitchen/models/AttendanceDb.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.kitchen.models; 2 | 3 | import java.io.Serializable; 4 | 5 | public class AttendanceDb implements Serializable 6 | { 7 | private String id; 8 | private Boolean present; 9 | 10 | public AttendanceDb(String id, Boolean present) { 11 | this.id = id; 12 | this.present = present; 13 | } 14 | 15 | public AttendanceDb() { 16 | } 17 | 18 | public String getId() { 19 | return id; 20 | } 21 | 22 | public void setId(String id) { 23 | this.id = id; 24 | } 25 | 26 | public Boolean getPresent() { 27 | return present; 28 | } 29 | 30 | public void setPresent(Boolean present) { 31 | this.present = present; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/res/layout/order_ingridient.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 18 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/order/WelcomePage.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.order; 2 | import com.dineout.R; 3 | 4 | import android.content.Intent; 5 | import android.os.Bundle; 6 | import android.support.v7.app.AppCompatActivity; 7 | import android.view.View; 8 | import android.widget.Toast; 9 | 10 | 11 | public class WelcomePage extends AppCompatActivity { 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.order_activity_welcome_page); 17 | Toast.makeText(getApplicationContext(), "Continue for Menu!", Toast.LENGTH_LONG).show(); 18 | 19 | } 20 | 21 | public void redirectToMenu(View v) 22 | { 23 | startActivity(new Intent(WelcomePage.this,MainActivity.class)); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/admin_ingredients_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/kitchen/models/Order.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.kitchen.models; 2 | 3 | import java.io.Serializable; 4 | 5 | public class Order implements Serializable 6 | { 7 | private String mStatus; 8 | private String mItemName; 9 | 10 | public Order() { 11 | } 12 | 13 | public Order(String status, String itemName) 14 | { 15 | mStatus = status; 16 | mItemName = itemName; 17 | } 18 | 19 | public String getStatus() 20 | { 21 | return mStatus; 22 | } 23 | 24 | public void setStatus(String status) 25 | { 26 | mStatus = status; 27 | } 28 | 29 | public String getItemName() 30 | { 31 | return mItemName; 32 | } 33 | 34 | public void setItemName(String itemName) 35 | { 36 | mItemName = itemName; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/dineout/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.dineout; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.dineout", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/order/cart.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.order; 2 | //Cart class defines skeleton of cart in db .It contains dishName that was ordered and its quantity 3 | public class cart { 4 | 5 | String addedname; //Dish name 6 | int quantity; //Quantity of Dish ordered 7 | 8 | public cart(){ 9 | 10 | } 11 | 12 | public cart(String addedname, int Quantity) { 13 | this.addedname = addedname; 14 | this.quantity = Quantity; 15 | } 16 | 17 | public String getAddedname() { 18 | return addedname; 19 | } 20 | 21 | public void setAddedname(String addedname) { 22 | this.addedname = addedname; 23 | } 24 | 25 | public int getQuantity() { 26 | return quantity; 27 | } 28 | 29 | public void setQuantity(int quantity) { 30 | this.quantity = quantity; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/billing/DishOrder.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.billing; 2 | 3 | import java.io.Serializable; 4 | 5 | public class DishOrder extends DishPrice implements Serializable { 6 | int quantity; 7 | 8 | public DishOrder() { 9 | quantity = 0; 10 | price = "0"; 11 | } 12 | 13 | public DishOrder(int quantity) { 14 | this.quantity = quantity; 15 | } 16 | 17 | public DishOrder(String dishname, String price, String estimatedtime, String typeofdish, int quantity) { 18 | super(dishname, price, estimatedtime, typeofdish); 19 | this.quantity = quantity; 20 | } 21 | 22 | public int getQuantity() { 23 | return quantity; 24 | } 25 | 26 | public void setQuantity(int quantity) { 27 | this.quantity = quantity; 28 | } 29 | 30 | public int getTotal() { 31 | return this.quantity * Integer.valueOf(this.price); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/admin/HomeActivity.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.admin; 2 | 3 | import android.content.Intent; 4 | import android.os.Bundle; 5 | import android.support.v7.app.AppCompatActivity; 6 | import android.view.View; 7 | 8 | import com.dineout.R; 9 | 10 | public class HomeActivity extends AppCompatActivity { 11 | 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.admin_activity_home); 17 | } 18 | 19 | //login for admin, chef, hall manager 20 | public void onClickReg(View v) { 21 | Intent i = new Intent(this, LoginActivity.class); 22 | startActivity(i); 23 | } 24 | 25 | //customer's interface 26 | public void onClickReg2(View v) { 27 | Intent i = new Intent(this, com.dineout.code.order.MainActivity.class); 28 | startActivity(i); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/hall/DB/Receipt.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.hall.DB; 2 | 3 | public class Receipt { 4 | String orderid; 5 | int paid; 6 | int totalamount; 7 | 8 | public Receipt() { 9 | } 10 | 11 | public Receipt(String orderid, int paid, int totalamount) { 12 | this.orderid = orderid; 13 | this.paid = paid; 14 | this.totalamount = totalamount; 15 | } 16 | 17 | public String getOrderid() { 18 | return orderid; 19 | } 20 | 21 | public void setOrderid(String orderid) { 22 | this.orderid = orderid; 23 | } 24 | 25 | public int getPaid() { 26 | return paid; 27 | } 28 | 29 | public void setPaid(int paid) { 30 | this.paid = paid; 31 | } 32 | 33 | public int getTotalamount() { 34 | return totalamount; 35 | } 36 | 37 | public void setTotalamount(int totalamount) { 38 | this.totalamount = totalamount; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/admin/Table.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.admin; 2 | 3 | public class Table { 4 | String tableID; 5 | String status; 6 | String capacity; 7 | 8 | public Table(String tableID, String status, String capacity) { 9 | this.tableID = tableID; 10 | this.status = status; 11 | this.capacity = capacity; 12 | } 13 | 14 | public Table() { 15 | } 16 | 17 | public String getTableID() { 18 | return tableID; 19 | } 20 | 21 | public void setTableID(String tableID) { 22 | this.tableID = tableID; 23 | } 24 | 25 | public String getStatus() { 26 | return status; 27 | } 28 | 29 | public void setStatus(String status) { 30 | this.status = status; 31 | } 32 | 33 | public String getCapacity() { 34 | return capacity; 35 | } 36 | 37 | public void setCapacity(String capacity) { 38 | this.capacity = capacity; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | DineOut 3 | 4 | RMS3 5 | 6 | Waiter 7 | Chef 8 | Head Chef 9 | Hall Manager 10 | 11 | 12 | Monday 13 | Tuesday 14 | Wednesday 15 | Thursday 16 | Friday 17 | Saturday 18 | Sunday 19 | 20 | 21 | Select Employee Type 22 | 23 | 24 | 25 | 26 | Hello blank fragment 27 | AttendanceActivity 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/hall/DB/Table.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.hall.DB; 2 | 3 | public class Table { 4 | String tableID; 5 | String status; 6 | String capacity; 7 | 8 | public Table() { 9 | 10 | } 11 | 12 | public Table(String tableID, String status, String capacity) { 13 | this.tableID = tableID; 14 | this.status = status; 15 | this.capacity = capacity; 16 | } 17 | 18 | public String getTableID() { 19 | return tableID; 20 | } 21 | 22 | public void setTableID(String tableID) { 23 | this.tableID = tableID; 24 | } 25 | 26 | public String getStatus() { 27 | return status; 28 | } 29 | 30 | public void setStatus(String status) { 31 | this.status = status; 32 | } 33 | 34 | public String getCapacity() { 35 | return capacity; 36 | } 37 | 38 | public void setCapacity(String capacity) { 39 | this.capacity = capacity; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/kitchen/OrderViewHolder.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.kitchen; 2 | 3 | import android.support.v7.widget.CardView; 4 | import android.support.v7.widget.RecyclerView; 5 | import android.view.View; 6 | import android.widget.Button; 7 | import android.widget.TextView; 8 | 9 | import com.dineout.R; 10 | 11 | public class OrderViewHolder extends RecyclerView.ViewHolder 12 | { 13 | public CardView order_row; 14 | public TextView order_name; 15 | public TextView order_serving; 16 | public TextView eta; 17 | 18 | public Button button; 19 | 20 | public OrderViewHolder(View view) 21 | { 22 | super(view); 23 | 24 | order_row = itemView.findViewById(R.id.order_row_id); 25 | order_name = itemView.findViewById(R.id.order_name); 26 | order_serving = itemView.findViewById(R.id.order_serving); 27 | button=itemView.findViewById(R.id.button2); 28 | eta = itemView.findViewById(R.id.eta); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/admin/NotificationClass.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.admin; 2 | 3 | public class NotificationClass { 4 | 5 | private String itemName; 6 | private String time; 7 | private boolean read; 8 | 9 | public NotificationClass() { 10 | } 11 | 12 | public NotificationClass(String itemName, String time, boolean read) { 13 | this.itemName = itemName; 14 | this.time = time; 15 | this.read = read; 16 | } 17 | 18 | public String getItemName() { 19 | return itemName; 20 | } 21 | 22 | public void setItemName(String itemName) { 23 | this.itemName = itemName; 24 | } 25 | 26 | public String getTime() { 27 | return time; 28 | } 29 | 30 | public void setTime(String time) { 31 | this.time = time; 32 | } 33 | 34 | public boolean isRead() { 35 | return read; 36 | } 37 | 38 | public void setRead(boolean read) { 39 | this.read = read; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/order/NotificationClass.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.order; 2 | 3 | public class NotificationClass { 4 | 5 | private String itemName; 6 | private String time; 7 | private boolean read; 8 | 9 | public NotificationClass() { 10 | } 11 | 12 | public NotificationClass(String itemName, String time, boolean read) { 13 | this.itemName = itemName; 14 | this.time = time; 15 | this.read = read; 16 | } 17 | 18 | public String getItemName() { 19 | return itemName; 20 | } 21 | 22 | public void setItemName(String itemName) { 23 | this.itemName = itemName; 24 | } 25 | 26 | public String getTime() { 27 | return time; 28 | } 29 | 30 | public void setTime(String time) { 31 | this.time = time; 32 | } 33 | 34 | public boolean isRead() { 35 | return read; 36 | } 37 | 38 | public void setRead(boolean read) { 39 | this.read = read; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/admin/MenuItem.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.admin; 2 | 3 | public class MenuItem { 4 | String dishName; 5 | String ingredientName; 6 | String quantity; 7 | 8 | public MenuItem(String dishName, String ingredientName, String quantity) { 9 | this.dishName = dishName; 10 | this.ingredientName = ingredientName; 11 | this.quantity = quantity; 12 | } 13 | 14 | public String getQuantity() { 15 | return quantity; 16 | } 17 | 18 | public void setQuantity(String quantity) { 19 | this.quantity = quantity; 20 | } 21 | 22 | public String getDishName() { 23 | return dishName; 24 | } 25 | 26 | public void setDishName(String dishName) { 27 | this.dishName = dishName; 28 | } 29 | 30 | public String getIngredientName() { 31 | return ingredientName; 32 | } 33 | 34 | public void setIngredientName(String ingredientName) { 35 | this.ingredientName = ingredientName; 36 | } 37 | 38 | 39 | } 40 | -------------------------------------------------------------------------------- /app/src/main/res/layout/kitchen/prompts.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | android:id="@+id/layout_root" 6 | android:layout_width="fill_parent" 7 | android:layout_height="fill_parent" 8 | android:orientation="vertical" 9 | android:padding="10dp" > 10 | 11 | 14 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/order/MenuItem.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.order; 2 | 3 | public class MenuItem { 4 | String dishName; 5 | String ingredientName; 6 | String quantity; 7 | 8 | public MenuItem(){ 9 | 10 | } 11 | public MenuItem(String dishName, String ingredientName, String quantity) { 12 | this.dishName = dishName; 13 | this.ingredientName = ingredientName; 14 | this.quantity = quantity; 15 | } 16 | 17 | public String getQuantity() { 18 | return quantity; 19 | } 20 | 21 | public void setQuantity(String quantity) { 22 | this.quantity = quantity; 23 | } 24 | 25 | public String getDishName() { 26 | return dishName; 27 | } 28 | 29 | public void setDishName(String dishName) { 30 | this.dishName = dishName; 31 | } 32 | 33 | public String getIngredientName() { 34 | return ingredientName; 35 | } 36 | 37 | public void setIngredientName(String ingredientName) { 38 | this.ingredientName = ingredientName; 39 | } 40 | 41 | 42 | } 43 | -------------------------------------------------------------------------------- /app/src/main/java/com/dineout/code/hall/DB/MenuItem.java: -------------------------------------------------------------------------------- 1 | package com.dineout.code.hall.DB; 2 | 3 | public class MenuItem { 4 | String dishName; 5 | String ingredientName; 6 | String quantity; 7 | 8 | public MenuItem(String dishName, String ingredientName, String quantity) { 9 | this.dishName = dishName; 10 | this.ingredientName = ingredientName; 11 | this.quantity = quantity; 12 | } 13 | 14 | public MenuItem() { 15 | } 16 | 17 | public String getQuantity() { 18 | return quantity; 19 | } 20 | 21 | public void setQuantity(String quantity) { 22 | this.quantity = quantity; 23 | } 24 | 25 | public String getDishName() { 26 | return dishName; 27 | } 28 | 29 | public void setDishName(String dishName) { 30 | this.dishName = dishName; 31 | } 32 | 33 | public String getIngredientName() { 34 | return ingredientName; 35 | } 36 | 37 | public void setIngredientName(String ingredientName) { 38 | this.ingredientName = ingredientName; 39 | } 40 | 41 | 42 | } 43 | -------------------------------------------------------------------------------- /app/src/main/res/layout/reporting_activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 |