pramod_Feature#51ProjectLisFilter #50

Merged
admin merged 11 commits from pramod_Feature#51ProjectLisFilter into Issues_April_4W 2025-04-23 09:05:10 +00:00
Showing only changes of commit d9f4bc47f6 - Show all commits

View File

@ -1,25 +1,32 @@
export const ProjectStatus =(statusId)=>{
switch (statusId) {
case 1:
return "Active"
break;
case 2:
return "On Hold"
break;
// case 3:
// return "Suspended"
// break;
case 3:
return "Inactive"
break;
case 4:
return "Completed"
break;
default:
break;
}
}
export const getProjectStatusName = (statusId) => {
switch (statusId) {
case 1:
return "Active";
case 2:
return "On Hold";
// case 3:
// return "Suspended";
case 3:
return "Inactive";
case 4:
return "Completed";
}
};
export const getProjectStatusColor = (statusId) => {
switch (statusId) {
case 1:
return "bg-label-success";
case 2:
return "bg-label-warning";
case 3:
return "bg-label-info";
case 4:
return "bg-label-secondary";
case 5:
return "bg-label-dark";
}
};
// for different color for each user
export function hashString(str) {