|
|
|
@ -274,8 +274,8 @@ class CategoryTabs {
|
|
|
|
|
static List<CategoryTabs> getTabs({required UsersTypes userType, required BuildContext context}) {
|
|
|
|
|
List<CategoryTabs> tabs = [];
|
|
|
|
|
if (userType == UsersTypes.engineer) {
|
|
|
|
|
tabs.add(CategoryTabs('Not Assigned', 0));
|
|
|
|
|
tabs.add(CategoryTabs('Open Request', 1));
|
|
|
|
|
tabs.add(CategoryTabs('Upcoming', 0));
|
|
|
|
|
tabs.add(CategoryTabs('Open', 1));
|
|
|
|
|
tabs.add(CategoryTabs('In Progress', 2));
|
|
|
|
|
tabs.add(CategoryTabs('Completed', 3));
|
|
|
|
|
return tabs;
|
|
|
|
@ -283,7 +283,7 @@ class CategoryTabs {
|
|
|
|
|
|
|
|
|
|
tabs.add(CategoryTabs('Open Request', 1));
|
|
|
|
|
tabs.add(CategoryTabs('In Progress', 2));
|
|
|
|
|
tabs.add(CategoryTabs('UpComing Request', 3));
|
|
|
|
|
tabs.add(CategoryTabs('Upcoming', 3));
|
|
|
|
|
tabs.add(CategoryTabs('Canceled', 6));
|
|
|
|
|
return tabs;
|
|
|
|
|
}
|
|
|
|
|