Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
C
ctas-box
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fachri
ctas-box
Commits
8a711c29
Commit
8a711c29
authored
Oct 06, 2025
by
Rais Aryaguna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Add PPH21 navigation and pages for e-Bupot 21/26 features
parent
85c95a86
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
116 additions
and
0 deletions
+116
-0
src/layouts/nav-config-dashboard.tsx
src/layouts/nav-config-dashboard.tsx
+17
-0
src/pages/pph21/bupoTahunanA1.tsx
src/pages/pph21/bupoTahunanA1.tsx
+13
-0
src/pages/pph21/bupotBulanan.tsx
src/pages/pph21/bupotBulanan.tsx
+13
-0
src/pages/pph21/bupotFinaltidakFinal.tsx
src/pages/pph21/bupotFinaltidakFinal.tsx
+13
-0
src/pages/pph21/bupotPasal26.tsx
src/pages/pph21/bupotPasal26.tsx
+13
-0
src/pages/pph21/bupotTahunanA2.tsx
src/pages/pph21/bupotTahunanA2.tsx
+13
-0
src/routes/paths.ts
src/routes/paths.ts
+14
-0
src/routes/sections/dashboard.tsx
src/routes/sections/dashboard.tsx
+20
-0
No files found.
src/layouts/nav-config-dashboard.tsx
View file @
8a711c29
...
...
@@ -91,6 +91,23 @@ export const navData: NavSectionProps['data'] = [
},
],
},
{
subheader
:
''
,
items
:
[
{
title
:
'
e-Bupot 21/26
'
,
path
:
paths
.
pph21
.
bulanan
,
icon
:
ICONS
.
blank
,
children
:
[
{
title
:
'
Bupot Bulanan
'
,
path
:
paths
.
pph21
.
bulanan
},
{
title
:
'
Bupot Final/Tidak Final
'
,
path
:
paths
.
pph21
.
bupotFinal
},
{
title
:
'
Bupot Tahunan A1
'
,
path
:
paths
.
pph21
.
tahuan
},
{
title
:
'
Bupot Tahunan A2
'
,
path
:
paths
.
pph21
.
tahunanA2
},
{
title
:
'
Bupot Pasal 26
'
,
path
:
paths
.
pph21
.
bupot26
},
],
},
],
},
];
/**
...
...
src/pages/pph21/bupoTahunanA1.tsx
0 → 100644
View file @
8a711c29
import
{
CONFIG
}
from
'
src/global-config
'
;
const
metadata
=
{
title
:
`E-Bupot 21/26-
${
CONFIG
.
appName
}
`
};
export
default
function
Page
()
{
return
(
<>
<
title
>
{
metadata
.
title
}
</
title
>
<
p
>
Bupot Tahunan A1
</
p
>
</>
);
}
src/pages/pph21/bupotBulanan.tsx
0 → 100644
View file @
8a711c29
import
{
CONFIG
}
from
'
src/global-config
'
;
const
metadata
=
{
title
:
`E-Bupot 21/26-
${
CONFIG
.
appName
}
`
};
export
default
function
Page
()
{
return
(
<>
<
title
>
{
metadata
.
title
}
</
title
>
<
p
>
Bupot Bulanan
</
p
>
</>
);
}
src/pages/pph21/bupotFinaltidakFinal.tsx
0 → 100644
View file @
8a711c29
import
{
CONFIG
}
from
'
src/global-config
'
;
const
metadata
=
{
title
:
`E-Bupot 21/26-
${
CONFIG
.
appName
}
`
};
export
default
function
Page
()
{
return
(
<>
<
title
>
{
metadata
.
title
}
</
title
>
<
p
>
Bupot Final/Tidak Final
</
p
>
</>
);
}
src/pages/pph21/bupotPasal26.tsx
0 → 100644
View file @
8a711c29
import
{
CONFIG
}
from
'
src/global-config
'
;
const
metadata
=
{
title
:
`E-Bupot 21/26-
${
CONFIG
.
appName
}
`
};
export
default
function
Page
()
{
return
(
<>
<
title
>
{
metadata
.
title
}
</
title
>
<
p
>
Bupot Pasal 26
</
p
>
</>
);
}
src/pages/pph21/bupotTahunanA2.tsx
0 → 100644
View file @
8a711c29
import
{
CONFIG
}
from
'
src/global-config
'
;
const
metadata
=
{
title
:
`E-Bupot 21/26-
${
CONFIG
.
appName
}
`
};
export
default
function
Page
()
{
return
(
<>
<
title
>
{
metadata
.
title
}
</
title
>
<
p
>
Bupot Tahunan A2
</
p
>
</>
);
}
src/routes/paths.ts
View file @
8a711c29
...
...
@@ -12,6 +12,7 @@ const ROOTS = {
AUTH_DEMO
:
'
/auth-demo
'
,
DASHBOARD
:
'
/dashboard
'
,
UNIFIKASI
:
'
/unifikasi
'
,
PPH21
:
'
/pph21
'
,
};
// ----------------------------------------------------------------------
...
...
@@ -104,6 +105,19 @@ export const paths = {
sspNew
:
`
${
ROOTS
.
UNIFIKASI
}
/ssp/new`
,
dokumenDipersamakanNew
:
`
${
ROOTS
.
UNIFIKASI
}
/dokumen-dipersamakan/new`
,
},
pph21
:
{
root
:
ROOTS
.
PPH21
,
bulanan
:
`
${
ROOTS
.
PPH21
}
/bulanan`
,
detailsBulanan
:
(
id
:
string
)
=>
`/bulanan/
${
id
}
`
,
bupotFinal
:
`
${
ROOTS
.
PPH21
}
/bupot-final`
,
detailsBupotFinal
:
(
id
:
string
)
=>
`/bupot-final/
${
id
}
`
,
tahuan
:
`
${
ROOTS
.
PPH21
}
/tahunan`
,
detailstahuan
:
(
id
:
string
)
=>
`/tahunan/
${
id
}
`
,
tahunanA2
:
`
${
ROOTS
.
PPH21
}
/tahunan-a2`
,
detailstahunanA2
:
(
id
:
string
)
=>
`/tahunan-a2/
${
id
}
`
,
bupot26
:
`
${
ROOTS
.
PPH21
}
/bupot-26`
,
detailsbupot26
:
(
id
:
string
)
=>
`/bupot-26/
${
id
}
`
,
},
// DASHBOARD
dashboard
:
{
root
:
ROOTS
.
DASHBOARD
,
...
...
src/routes/sections/dashboard.tsx
View file @
8a711c29
...
...
@@ -55,6 +55,13 @@ const AccountChangePasswordPage = lazy(
()
=>
import
(
'
src/pages/dashboard/user/account/change-password
'
)
);
// Bupot 21/26
const
OverviewBupotBulananPage
=
lazy
(()
=>
import
(
'
src/pages/pph21/bupotBulanan
'
));
const
OverviewBupotFinalTdkFinalPage
=
lazy
(()
=>
import
(
'
src/pages/pph21/bupotFinaltidakFinal
'
));
const
OverviewBupotA1Page
=
lazy
(()
=>
import
(
'
src/pages/pph21/bupoTahunanA1
'
));
const
OverviewBupotA2Page
=
lazy
(()
=>
import
(
'
src/pages/pph21/bupotTahunanA2
'
));
const
OverviewBupotPasal26Page
=
lazy
(()
=>
import
(
'
src/pages/pph21/bupotPasal26
'
));
// ----------------------------------------------------------------------
function
SuspenseOutlet
()
{
...
...
@@ -125,4 +132,17 @@ export const dashboardRoutes: RouteObject[] = [
},
],
},
{
path
:
'
pph21
'
,
element
:
CONFIG
.
auth
.
skip
?
dashboardLayout
()
:
<
AuthGuard
>
{
dashboardLayout
()
}
</
AuthGuard
>,
children
:
[
{
index
:
true
,
element
:
<
OverviewBupotBulananPage
/>
},
{
path
:
'
bulanan
'
,
element
:
<
OverviewBupotBulananPage
/>
},
{
path
:
'
bulanan/new
'
,
element
:
<
OverviewBupotBulananPage
/>
},
{
path
:
'
bupot-final
'
,
element
:
<
OverviewBupotFinalTdkFinalPage
/>
},
{
path
:
'
tahunan
'
,
element
:
<
OverviewBupotA1Page
/>
},
{
path
:
'
tahunan-a2
'
,
element
:
<
OverviewBupotA2Page
/>
},
{
path
:
'
bupot-26
'
,
element
:
<
OverviewBupotPasal26Page
/>
},
],
},
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment