Merge branch 'master' into Sprint-3/MS-23
This commit is contained in:
commit
54dca3d271
|
|
@ -56,7 +56,7 @@ const data = [
|
|||
link: '/tracking',
|
||||
label: 'Check in/out',
|
||||
icon: IconScan,
|
||||
group: 'normal',
|
||||
group: 'admin',
|
||||
},
|
||||
{
|
||||
link: '/worklogs',
|
||||
|
|
|
|||
|
|
@ -3311,11 +3311,20 @@ const Allocation = () => {
|
|||
<Box
|
||||
style={{
|
||||
display: !loading ? 'flex' : 'none',
|
||||
// display: 'flex',
|
||||
flexWrap: 'wrap',
|
||||
justifyContent: 'space-evenly',
|
||||
flexFlow: 'column',
|
||||
}}
|
||||
>
|
||||
<Box>
|
||||
<Text fw={600} fz={'md'}>Admin/</Text>
|
||||
<Text fw={700} fz={'lg'}>Personnel Allocation</Text>
|
||||
<Text fw={600} fz={'sm'} c={'gray'} fs={'italic'} ml={'md'}>"P:" is the timspent/timeestimate number within the project itself</Text>
|
||||
<Text fw={600} fz={'sm'} c={'gray'} fs={'italic'} ml={'md'}>"A:" is the timspent/timeestimate of all projects</Text>
|
||||
</Box>
|
||||
<Box style={{
|
||||
display: 'flex',
|
||||
flexWrap: 'wrap',
|
||||
justifyContent: 'space-evenly',
|
||||
}}>
|
||||
{!loading &&
|
||||
Object.keys(data?.projects).map((pro) => {
|
||||
return (
|
||||
|
|
@ -3511,7 +3520,7 @@ const Allocation = () => {
|
|||
}
|
||||
/>
|
||||
<Text ml={'md'} fw={700} size="lg">
|
||||
WARNING
|
||||
WARNING - NO ASSIGNMENT
|
||||
</Text>
|
||||
</Card.Section>
|
||||
|
||||
|
|
@ -3537,6 +3546,7 @@ const Allocation = () => {
|
|||
})}
|
||||
</Card>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ const LeaveManagement = () => {
|
|||
<div>
|
||||
<div className={classes.title}>
|
||||
<h3>
|
||||
<Text>Admin/</Text> Leave Management
|
||||
Leave Management
|
||||
</h3>
|
||||
</div>
|
||||
<Drawer
|
||||
|
|
|
|||
|
|
@ -323,7 +323,6 @@ const Tickets = () => {
|
|||
<div>
|
||||
<div className={classes.title}>
|
||||
<h3>
|
||||
<Text>Admin/</Text>
|
||||
Tickets
|
||||
</h3>
|
||||
<Button
|
||||
|
|
|
|||
|
|
@ -437,7 +437,6 @@ const Timekeeping = () => {
|
|||
<div>
|
||||
<div className={classes.title}>
|
||||
<h3>
|
||||
<Text>Admin/</Text>
|
||||
Timekeeping
|
||||
</h3>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ const Worklogs = () => {
|
|||
<div style={{ display: 'flex', flexFlow: 'column' }}>
|
||||
<div className={classes.title}>
|
||||
<h3>
|
||||
<Text>Admin/</Text>Worklogs
|
||||
Worklogs
|
||||
{!updating ? (
|
||||
<Text fs={'italic'} fz={'xs'} c={'gray'}>
|
||||
Updating data in the background ...
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ const mainRoutes = [
|
|||
{
|
||||
path: '/tracking',
|
||||
element: (
|
||||
<ProtectedRoute mode="home" permission="staff">
|
||||
<ProtectedRoute mode="home" permission="admin,hr">
|
||||
<BasePage
|
||||
main={
|
||||
<>
|
||||
|
|
@ -186,10 +186,12 @@ const mainRoutes = [
|
|||
<Allocation />
|
||||
</>
|
||||
}
|
||||
></BasePage>
|
||||
></BasePage>
|
||||
</ProtectedRoute>
|
||||
)},
|
||||
{path: '/profile',
|
||||
),
|
||||
},
|
||||
{
|
||||
path: '/profile',
|
||||
element: (
|
||||
<ProtectedRoute mode="route" permission="admin,hr">
|
||||
<BasePage
|
||||
|
|
|
|||
Loading…
Reference in New Issue