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
9b4bd767
Commit
9b4bd767
authored
Nov 14, 2025
by
Rais Aryaguna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warning
parent
a6b0b18d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
10 deletions
+9
-10
src/pages/unifikasi/unifikasiNr.tsx
src/pages/unifikasi/unifikasiNr.tsx
+1
-1
src/sections/bupot-21-26/bupot-bulanan/view/bulanan-list-view.tsx
...ions/bupot-21-26/bupot-bulanan/view/bulanan-list-view.tsx
+3
-3
src/sections/bupot-21-26/bupot-final-tidak-Final/hooks/useAdvancedFilter.tsx
...21-26/bupot-final-tidak-Final/hooks/useAdvancedFilter.tsx
+1
-0
src/sections/bupot-21-26/bupot-final-tidak-Final/view/final-tdk-final-list-view.tsx
...upot-final-tidak-Final/view/final-tdk-final-list-view.tsx
+3
-5
src/sections/bupot-21-26/hitung.ts
src/sections/bupot-21-26/hitung.ts
+1
-1
No files found.
src/pages/unifikasi/unifikasiNr.tsx
View file @
9b4bd767
import
{
CONFIG
}
from
'
src/global-config
'
;
import
{
CONFIG
}
from
'
src/global-config
'
;
// eslint-disable-next-line import/no-unresolved
import
{
NrListView
}
from
'
src/sections/bupot-unifikasi/bupot-nr/view
'
;
import
{
NrListView
}
from
'
src/sections/bupot-unifikasi/bupot-nr/view
'
;
const
metadata
=
{
title
:
`E-Bupot Unifikasi-
${
CONFIG
.
appName
}
`
};
const
metadata
=
{
title
:
`E-Bupot Unifikasi-
${
CONFIG
.
appName
}
`
};
...
...
src/sections/bupot-21-26/bupot-bulanan/view/bulanan-list-view.tsx
View file @
9b4bd767
...
@@ -291,7 +291,7 @@ export function BulananListView() {
...
@@ -291,7 +291,7 @@ export function BulananListView() {
const
[
rowSelectionModel
,
setRowSelectionModel
]
=
useState
<
GridRowSelectionModel
|
undefined
>
(
const
[
rowSelectionModel
,
setRowSelectionModel
]
=
useState
<
GridRowSelectionModel
|
undefined
>
(
undefined
undefined
);
);
const
[
selectionVersion
,
setSelectionVersion
]
=
useState
(
0
);
//
const [selectionVersion, setSelectionVersion] = useState(0);
const
[
modals
,
setModals
]
=
useState
({
const
[
modals
,
setModals
]
=
useState
({
delete
:
false
,
delete
:
false
,
...
@@ -414,7 +414,7 @@ export function BulananListView() {
...
@@ -414,7 +414,7 @@ export function BulananListView() {
unstable_batchedUpdates
(()
=>
{
unstable_batchedUpdates
(()
=>
{
dataSelectedRef
.
current
=
selectedData
;
dataSelectedRef
.
current
=
selectedData
;
setRowSelectionModel
(
newSelection
);
setRowSelectionModel
(
newSelection
);
setSelectionVersion
((
v
)
=>
v
+
1
);
//
setSelectionVersion((v) => v + 1);
});
});
},
150
);
},
150
);
...
@@ -430,7 +430,7 @@ export function BulananListView() {
...
@@ -430,7 +430,7 @@ export function BulananListView() {
const
updatedSelected
=
ids
.
map
((
id
)
=>
api
.
getRow
(
id
)).
filter
(
Boolean
);
const
updatedSelected
=
ids
.
map
((
id
)
=>
api
.
getRow
(
id
)).
filter
(
Boolean
);
dataSelectedRef
.
current
=
updatedSelected
;
dataSelectedRef
.
current
=
updatedSelected
;
setSelectionVersion
((
v
)
=>
v
+
1
);
//
setSelectionVersion((v) => v + 1);
};
};
if
((
window
as
any
).
requestIdleCallback
)
{
if
((
window
as
any
).
requestIdleCallback
)
{
...
...
src/sections/bupot-21-26/bupot-final-tidak-Final/hooks/useAdvancedFilter.tsx
View file @
9b4bd767
...
@@ -54,6 +54,7 @@ export function useAdvancedFilter() {
...
@@ -54,6 +54,7 @@ export function useAdvancedFilter() {
const
digits
=
String
(
value
).
replace
(
/
[^
0-9
]
/g
,
''
);
const
digits
=
String
(
value
).
replace
(
/
[^
0-9
]
/g
,
''
);
if
(
digits
.
length
>=
8
)
return
digits
.
slice
(
0
,
8
);
if
(
digits
.
length
>=
8
)
return
digits
.
slice
(
0
,
8
);
return
digits
;
return
digits
;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
warn
(
'
Invalid date format:
'
,
value
);
console
.
warn
(
'
Invalid date format:
'
,
value
);
return
''
;
return
''
;
...
...
src/sections/bupot-21-26/bupot-final-tidak-Final/view/final-tdk-final-list-view.tsx
View file @
9b4bd767
...
@@ -29,7 +29,6 @@ import { paths } from 'src/routes/paths';
...
@@ -29,7 +29,6 @@ import { paths } from 'src/routes/paths';
import
{
FG_STATUS_BUPOT
}
from
'
src/sections/bupot-21-26/constant
'
;
import
{
FG_STATUS_BUPOT
}
from
'
src/sections/bupot-21-26/constant
'
;
import
{
appRootKey
,
bupotfinal
}
from
'
src/sections/bupot-21-26/constant/queryKey
'
;
import
{
appRootKey
,
bupotfinal
}
from
'
src/sections/bupot-21-26/constant/queryKey
'
;
import
StatusChip
from
'
src/sections/bupot-unifikasi/bupot-dn/components/StatusChip
'
;
import
StatusChip
from
'
src/sections/bupot-unifikasi/bupot-dn/components/StatusChip
'
;
import
TableHeaderLabel
from
'
src/shared/components/TableHeaderLabel
'
;
import
{
formatRupiah
}
from
'
src/shared/FormatRupiah/FormatRupiah
'
;
import
{
formatRupiah
}
from
'
src/shared/FormatRupiah/FormatRupiah
'
;
import
{
useDebounce
,
useThrottle
}
from
'
src/shared/hooks/useDebounceThrottle
'
;
import
{
useDebounce
,
useThrottle
}
from
'
src/shared/hooks/useDebounceThrottle
'
;
import
{
createTableKey
,
useTablePagination
}
from
'
../../paginationStore
'
;
import
{
createTableKey
,
useTablePagination
}
from
'
../../paginationStore
'
;
...
@@ -40,7 +39,6 @@ import ModalUploadBupotfinal from '../components/dialog/ModalUploadBupotFinal';
...
@@ -40,7 +39,6 @@ import ModalUploadBupotfinal from '../components/dialog/ModalUploadBupotFinal';
import
{
CustomToolbar
}
from
'
../components/table/CustomToolbar
'
;
import
{
CustomToolbar
}
from
'
../components/table/CustomToolbar
'
;
import
{
useAdvancedFilter
}
from
'
../hooks/useAdvancedFilter
'
;
import
{
useAdvancedFilter
}
from
'
../hooks/useAdvancedFilter
'
;
import
useGetBupotfinal
from
'
../hooks/useGetBupotFinal
'
;
import
useGetBupotfinal
from
'
../hooks/useGetBupotFinal
'
;
import
{
useKodeObjekPajak
}
from
'
src/actions/master-data
'
;
export
type
IColumnGrid
=
GridColDef
&
{
export
type
IColumnGrid
=
GridColDef
&
{
field
:
field
:
...
@@ -266,7 +264,7 @@ export function BupotfinalListView() {
...
@@ -266,7 +264,7 @@ export function BupotfinalListView() {
const
[
rowSelectionModel
,
setRowSelectionModel
]
=
useState
<
GridRowSelectionModel
|
undefined
>
(
const
[
rowSelectionModel
,
setRowSelectionModel
]
=
useState
<
GridRowSelectionModel
|
undefined
>
(
undefined
undefined
);
);
const
[
selectionVersion
,
setSelectionVersion
]
=
useState
(
0
);
//
const [selectionVersion, setSelectionVersion] = useState(0);
const
[
modals
,
setModals
]
=
useState
({
const
[
modals
,
setModals
]
=
useState
({
delete
:
false
,
delete
:
false
,
...
@@ -389,7 +387,7 @@ export function BupotfinalListView() {
...
@@ -389,7 +387,7 @@ export function BupotfinalListView() {
unstable_batchedUpdates
(()
=>
{
unstable_batchedUpdates
(()
=>
{
dataSelectedRef
.
current
=
selectedData
;
dataSelectedRef
.
current
=
selectedData
;
setRowSelectionModel
(
newSelection
);
setRowSelectionModel
(
newSelection
);
setSelectionVersion
((
v
)
=>
v
+
1
);
//
setSelectionVersion((v) => v + 1);
});
});
},
150
);
},
150
);
...
@@ -405,7 +403,7 @@ export function BupotfinalListView() {
...
@@ -405,7 +403,7 @@ export function BupotfinalListView() {
const
updatedSelected
=
ids
.
map
((
id
)
=>
api
.
getRow
(
id
)).
filter
(
Boolean
);
const
updatedSelected
=
ids
.
map
((
id
)
=>
api
.
getRow
(
id
)).
filter
(
Boolean
);
dataSelectedRef
.
current
=
updatedSelected
;
dataSelectedRef
.
current
=
updatedSelected
;
setSelectionVersion
((
v
)
=>
v
+
1
);
//
setSelectionVersion((v) => v + 1);
};
};
if
((
window
as
any
).
requestIdleCallback
)
{
if
((
window
as
any
).
requestIdleCallback
)
{
...
...
src/sections/bupot-21-26/hitung.ts
View file @
9b4bd767
...
@@ -5,7 +5,7 @@ import {
...
@@ -5,7 +5,7 @@ import {
}
from
'
@tanstack/react-query
'
;
}
from
'
@tanstack/react-query
'
;
import
type
{
AxiosError
}
from
'
axios
'
;
import
type
{
AxiosError
}
from
'
axios
'
;
import
{
endpoints
,
fetcherHitung
}
from
'
src/lib/axios-ctas-box
'
;
import
{
endpoints
,
fetcherHitung
}
from
'
src/lib/axios-ctas-box
'
;
import
{
FG_PERHITUNGAN
,
PERHITUNGAN_BUPOT21
,
PTKP_
INPUT
,
PTKP_
NUMBER
}
from
'
./constant
'
;
import
{
FG_PERHITUNGAN
,
PERHITUNGAN_BUPOT21
,
PTKP_NUMBER
}
from
'
./constant
'
;
import
{
checkPerhitunganBupot21
,
type
paramsHitung
}
from
'
./helper
'
;
import
{
checkPerhitunganBupot21
,
type
paramsHitung
}
from
'
./helper
'
;
import
{
formatDate
}
from
'
./bupot-a1/utils/formatDate
'
;
import
{
formatDate
}
from
'
./bupot-a1/utils/formatDate
'
;
...
...
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