Commit dd1b3eff by Kunj Gupta

Added two options in V-Portal - Create and View HR case.

parent c9303053
...@@ -35,14 +35,6 @@ public class MenuProvider { ...@@ -35,14 +35,6 @@ public class MenuProvider {
.setTitle(R.string.home_screen_report_incident_title) .setTitle(R.string.home_screen_report_incident_title)
.setMenuIconResId(R.string.home_screen_my_request_icon) .setMenuIconResId(R.string.home_screen_my_request_icon)
.build(), .build(),
new CreateHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_create_hr_case_title)
.setMenuIconResId(R.string.home_screen_create_hr_case_icon)
.build(),
new ViewHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_view_hr_case_title)
.setMenuIconResId(R.string.home_screen_view_hr_case_icon)
.build(),
new ChatMenuItemData.Builder() new ChatMenuItemData.Builder()
.setTitle(R.string.home_screen_chat_title) .setTitle(R.string.home_screen_chat_title)
.setMenuIconResId(R.string.home_screen_chat_icon) .setMenuIconResId(R.string.home_screen_chat_icon)
......
...@@ -15,12 +15,6 @@ ...@@ -15,12 +15,6 @@
<string name="home_screen_my_request_title">My Requests</string> <string name="home_screen_my_request_title">My Requests</string>
<string name="home_screen_my_request_icon">my_requests</string> <string name="home_screen_my_request_icon">my_requests</string>
<string name="home_screen_create_hr_case_title">Create HR Case</string>
<string name="home_screen_create_hr_case_icon">create_hr_case</string>
<string name="home_screen_view_hr_case_title">View HR Case</string>
<string name="home_screen_view_hr_case_icon">view_hr_case</string>
<string name="home_screen_chat_title">Chatbot</string> <string name="home_screen_chat_title">Chatbot</string>
<string name="home_screen_chat_icon">chatbot</string> <string name="home_screen_chat_icon">chatbot</string>
......
package com.vsoft.servicenow; package com.vsoft.servicenow;
import com.vsoft.servicenow.menu.ChatMenuItemData; import com.vsoft.servicenow.menu.ChatMenuItemData;
import com.vsoft.servicenow.menu.CreateHRCaseMenuItemData;
import com.vsoft.servicenow.menu.HomeScreenMenuItemData; import com.vsoft.servicenow.menu.HomeScreenMenuItemData;
import com.vsoft.servicenow.menu.MyIncidentMenuItemData; import com.vsoft.servicenow.menu.MyIncidentMenuItemData;
import com.vsoft.servicenow.menu.MyRequestMenuItemData; import com.vsoft.servicenow.menu.MyRequestMenuItemData;
import com.vsoft.servicenow.menu.NotificationMenuItemData; import com.vsoft.servicenow.menu.NotificationMenuItemData;
import com.vsoft.servicenow.menu.OrderServicesMenuItemData; import com.vsoft.servicenow.menu.OrderServicesMenuItemData;
import com.vsoft.servicenow.menu.ReportIncidentMenuItemData; import com.vsoft.servicenow.menu.ReportIncidentMenuItemData;
import com.vsoft.servicenow.menu.ViewHRCaseMenuItemData;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
...@@ -33,6 +35,14 @@ public class MenuProvider { ...@@ -33,6 +35,14 @@ public class MenuProvider {
.setTitle(R.string.home_screen_report_incident_title) .setTitle(R.string.home_screen_report_incident_title)
.setMenuIconResId(R.string.home_screen_my_request_icon) .setMenuIconResId(R.string.home_screen_my_request_icon)
.build(), .build(),
new CreateHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_create_hr_case_title)
.setMenuIconResId(R.string.home_screen_create_hr_case_icon)
.build(),
new ViewHRCaseMenuItemData.Builder()
.setTitle(R.string.home_screen_view_hr_case_title)
.setMenuIconResId(R.string.home_screen_view_hr_case_icon)
.build(),
new ChatMenuItemData.Builder() new ChatMenuItemData.Builder()
.setTitle(R.string.home_screen_chat_title) .setTitle(R.string.home_screen_chat_title)
.setMenuIconResId(R.string.home_screen_chat_icon) .setMenuIconResId(R.string.home_screen_chat_icon)
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
<string name="home_screen_my_request_title">My Requests</string> <string name="home_screen_my_request_title">My Requests</string>
<string name="home_screen_my_request_icon">my_requests</string> <string name="home_screen_my_request_icon">my_requests</string>
<string name="home_screen_create_hr_case_title">Create HR Case</string>
<string name="home_screen_create_hr_case_icon">create_hr_case</string>
<string name="home_screen_view_hr_case_title">View HR Case</string>
<string name="home_screen_view_hr_case_icon">view_hr_case</string>
<string name="home_screen_chat_title">Chatbot</string> <string name="home_screen_chat_title">Chatbot</string>
<string name="home_screen_chat_icon">chatbot</string> <string name="home_screen_chat_icon">chatbot</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment