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
c01b5783
Commit
c01b5783
authored
Nov 24, 2025
by
Rais Aryaguna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove panduan bupot 26
parent
cfa35fa5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
167 deletions
+1
-167
src/sections/bupot-21-26/bupot-26/components/rekamNr/PanduanNrRekam.tsx
...upot-21-26/bupot-26/components/rekamNr/PanduanNrRekam.tsx
+0
-159
src/sections/bupot-21-26/bupot-26/view/bupot-26-rekam-view.tsx
...ections/bupot-21-26/bupot-26/view/bupot-26-rekam-view.tsx
+1
-8
No files found.
src/sections/bupot-21-26/bupot-26/components/rekamNr/PanduanNrRekam.tsx
deleted
100644 → 0
View file @
cfa35fa5
import
type
{
FC
}
from
'
react
'
;
import
{
Fragment
,
memo
}
from
'
react
'
;
import
{
Box
,
Button
,
Card
,
CardContent
,
CardHeader
,
IconButton
,
Typography
}
from
'
@mui/material
'
;
import
{
ChevronRightRounded
,
CloseRounded
}
from
'
@mui/icons-material
'
;
import
{
m
}
from
'
framer-motion
'
;
import
{
PANDUAN_REKAM_NR
}
from
'
../../constant
'
;
interface
PanduanDnRekamProps
{
handleOpen
:
()
=>
void
;
isOpen
:
boolean
;
}
const
PanduanDnRekam
:
FC
<
PanduanDnRekamProps
>
=
({
handleOpen
,
isOpen
})
=>
(
<
Box
position=
"sticky"
>
{
/* Tombol toggle */
}
{
!
isOpen
&&
(
<
Box
height=
"100%"
display=
"flex"
justifyContent=
"center"
alignItems=
"center"
>
<
Button
variant=
"contained"
sx=
{
{
height
:
'
fit-content
'
,
right
:
0
,
borderRadius
:
0
,
minWidth
:
35
,
pt
:
3
,
pb
:
3
,
fontWeight
:
'
bold
'
,
fontSize
:
16
,
backgroundColor
:
'
#143B88
'
,
}
}
size=
"small"
onClick=
{
handleOpen
}
>
<
span
style=
{
{
writingMode
:
'
vertical-rl
'
,
transform
:
'
rotate(180deg)
'
,
display
:
'
flex
'
,
alignItems
:
'
center
'
,
}
}
>
Panduan Penggunaan
<
ChevronRightRounded
sx=
{
{
fontSize
:
30
}
}
/>
</
span
>
</
Button
>
</
Box
>
)
}
{
/* Konten panduan */
}
{
isOpen
&&
(
<
m
.
div
initial=
{
{
x
:
20
,
opacity
:
0
}
}
animate=
{
{
x
:
0
,
opacity
:
1
,
transition
:
{
delay
:
0.2
}
}
}
>
<
Card
>
<
CardHeader
avatar=
{
<
img
src=
"/assets/icon_panduan_penggunaan_1.svg"
alt=
"Panduan"
loading=
"lazy"
/>
}
sx=
{
{
backgroundColor
:
'
#123375
'
,
color
:
'
#FFFFFF
'
,
p
:
2
,
'
& .MuiCardHeader-title
'
:
{
fontSize
:
18
},
}
}
action=
{
<
IconButton
aria
-
label=
"close"
onClick=
{
handleOpen
}
sx=
{
{
color
:
'
white
'
}
}
>
<
CloseRounded
/>
</
IconButton
>
}
title=
"Panduan Penggunaan"
/>
<
CardContent
sx=
{
{
maxHeight
:
300
,
overflow
:
'
auto
'
,
'
&::-webkit-scrollbar
'
:
{
width
:
6
},
'
&::-webkit-scrollbar-track
'
:
{
backgroundColor
:
'
#f0f0f0
'
,
borderRadius
:
8
,
},
'
&::-webkit-scrollbar-thumb
'
:
{
backgroundColor
:
'
#123375
'
,
borderRadius
:
8
,
},
'
&::-webkit-scrollbar-thumb:hover
'
:
{
backgroundColor
:
'
#0d2858
'
,
},
scrollbarWidth
:
'
thin
'
,
scrollbarColor
:
'
#123375 #f0f0f0
'
,
}
}
>
{
/* Deskripsi Form */
}
<
Typography
variant=
"body2"
sx=
{
{
mb
:
2
,
whiteSpace
:
'
pre-line
'
}
}
>
<
strong
>
Deskripsi Form:
</
strong
>
<
br
/>
{
PANDUAN_REKAM_NR
.
description
.
intro
}
</
Typography
>
<
Typography
variant=
"body2"
>
{
PANDUAN_REKAM_NR
.
description
.
textList
}
</
Typography
>
<
Box
component=
"ol"
sx=
{
{
pl
:
3
,
mb
:
2
}
}
>
{
PANDUAN_REKAM_NR
.
description
.
list
.
map
((
item
,
idx
)
=>
(
<
Typography
key=
{
`desc-${idx}`
}
variant=
"body2"
component=
"li"
>
{
item
}
</
Typography
>
))
}
</
Box
>
<
Typography
variant=
"body2"
sx=
{
{
mb
:
2
}
}
>
{
PANDUAN_REKAM_NR
.
description
.
closing
}
</
Typography
>
{
/* Bagian-bagian */
}
{
PANDUAN_REKAM_NR
.
sections
.
map
((
section
,
i
)
=>
(
<
Box
key=
{
`section-${i}`
}
sx=
{
{
mb
:
2
}
}
>
<
Typography
variant=
"body2"
sx=
{
{
fontWeight
:
'
bold
'
,
fontSize
:
'
0.95rem
'
,
mb
:
0.5
}
}
>
{
section
.
title
}
</
Typography
>
<
Box
component=
"ul"
sx=
{
{
pl
:
2
,
listStyle
:
'
disc
'
}
}
>
{
section
.
items
.
map
((
item
,
idx
)
=>
(
<
Fragment
key=
{
`item-${i}-${idx}`
}
>
<
Box
component=
"li"
sx=
{
{
mb
:
0.5
}
}
>
<
Typography
variant=
"body2"
component=
"span"
>
{
item
.
text
}
</
Typography
>
{
item
.
subItems
?.
length
>
0
&&
(
<
Box
component=
"ol"
sx=
{
{
pl
:
3
,
listStyle
:
'
decimal
'
}
}
>
{
item
.
subItems
.
map
((
sub
,
subIdx
)
=>
(
<
Typography
key=
{
`sub-${i}-${idx}-${subIdx}`
}
variant=
"body2"
component=
"li"
>
{
sub
}
</
Typography
>
))
}
</
Box
>
)
}
</
Box
>
</
Fragment
>
))
}
</
Box
>
</
Box
>
))
}
</
CardContent
>
</
Card
>
</
m
.
div
>
)
}
</
Box
>
);
export
default
memo
(
PanduanDnRekam
);
src/sections/bupot-21-26/bupot-26/view/bupot-26-rekam-view.tsx
View file @
c01b5783
...
...
@@ -18,7 +18,6 @@ import z from 'zod';
import
ModalUploadNr
from
'
../components/dialog/ModalUpload
'
;
import
DokumenReferensi
from
'
../components/rekamNr/DokumenReferensi
'
;
import
Identitas
from
'
../components/rekamNr/Identitas
'
;
import
PanduanNrRekam
from
'
../components/rekamNr/PanduanNrRekam
'
;
import
PphDipotong
from
'
../components/rekamNr/PphDipotong
'
;
import
{
BUPOT_REFERENSI
,
...
...
@@ -149,7 +148,6 @@ const namaDokOptions = Object.entries(BUPOT_REFERENSI).map(([key, value]) => ({
export
const
Bupot26RekamView
=
()
=>
{
const
{
id
,
type
}
=
useParams
<
{
id
?:
string
;
type
?:
'
ubah
'
|
'
pengganti
'
|
'
new
'
}
>
();
const
[
isOpenPanduan
,
setIsOpenPanduan
]
=
useState
<
boolean
>
(
false
);
const
[
isCheckedAgreement
,
setIsCheckedAgreement
]
=
useState
<
boolean
>
(
false
);
const
[
isUploadModalOpen
,
setIsUploadModalOpen
]
=
useState
<
boolean
>
(
false
);
...
...
@@ -176,8 +174,6 @@ export const Bupot26RekamView = () => {
const
upload
=
useUpload
();
const
handleOpenPanduan
=
()
=>
setIsOpenPanduan
(
!
isOpenPanduan
);
const
defaultValues
:
BpuNrFormData
=
{
tglPemotongan
:
''
,
thnPajak
:
''
,
...
...
@@ -378,7 +374,7 @@ export const Bupot26RekamView = () => {
/>
<
Grid
container
columnSpacing=
{
2
}
>
<
Grid
size=
{
{
xs
:
isOpenPanduan
?
8
:
11
}
}
>
<
Grid
size=
{
{
xs
:
12
}
}
>
<
FormProvider
{
...
methods
}
>
<
form
onSubmit=
{
handleSubmit
(
onSubmit
)
}
>
<
Identitas
isPengganti=
{
isPengganti
}
existingNr=
{
data
}
country=
{
country
}
/>
...
...
@@ -433,9 +429,6 @@ export const Bupot26RekamView = () => {
</
form
>
</
FormProvider
>
</
Grid
>
<
Grid
size=
{
{
xs
:
isOpenPanduan
?
4
:
1
}
}
>
<
PanduanNrRekam
handleOpen=
{
handleOpenPanduan
}
isOpen=
{
isOpenPanduan
}
/>
</
Grid
>
</
Grid
>
{
isUploadModalOpen
&&
(
...
...
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