Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
cfb3808c
Commit
cfb3808c
authored
Oct 16, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/riri' into 'ENV-DEV'
update threshold See merge request
!2067
parents
03adb3b3
786f93d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
index.js
src/api/index.js
+2
-0
CreateParameter.js
src/container/MasterData/Parameter/CreateParameter.js
+2
-2
No files found.
src/api/index.js
View file @
cfb3808c
...
@@ -190,6 +190,7 @@ const create = (type = "") => {
...
@@ -190,6 +190,7 @@ const create = (type = "") => {
const
deleteParameter
=
(
id
)
=>
api
.
post
(
`setting/delete_setting/
${
id
}
`
)
const
deleteParameter
=
(
id
)
=>
api
.
post
(
`setting/delete_setting/
${
id
}
`
)
const
getDataReport
=
()
=>
api
.
get
(
'setting_type/get_all_setting_type_by_report_submit_period_group'
)
const
getDataReport
=
()
=>
api
.
get
(
'setting_type/get_all_setting_type_by_report_submit_period_group'
)
const
getFormatValue
=
()
=>
api
.
get
(
'setting_type/get_all_setting_type_by_money_format_group'
)
const
getFormatValue
=
()
=>
api
.
get
(
'setting_type/get_all_setting_type_by_money_format_group'
)
const
getThreshold
=
()
=>
api
.
get
(
'/setting_type/get_all_setting_type_by_threshold_control'
)
// MASTER DATA - CAT
// MASTER DATA - CAT
const
getAllMasterDataCat
=
()
=>
api
.
get
(
'item_report_company/get_all_item_report_company'
)
const
getAllMasterDataCat
=
()
=>
api
.
get
(
'item_report_company/get_all_item_report_company'
)
...
@@ -651,6 +652,7 @@ const create = (type = "") => {
...
@@ -651,6 +652,7 @@ const create = (type = "") => {
deleteParameter
,
deleteParameter
,
getDataReport
,
getDataReport
,
getFormatValue
,
getFormatValue
,
getThreshold
,
deletePerusahaan
,
deletePerusahaan
,
getDataCurrency
,
getDataCurrency
,
deleteReportItems
,
deleteReportItems
,
...
...
src/container/MasterData/Parameter/CreateParameter.js
View file @
cfb3808c
...
@@ -298,7 +298,7 @@ export default class CreateParameter extends Component {
...
@@ -298,7 +298,7 @@ export default class CreateParameter extends Component {
}
}
getCurrencyByThreshold
()
{
getCurrencyByThreshold
()
{
api
.
create
().
get
FormatValue
().
then
(
response
=>
{
api
.
create
().
get
Threshold
().
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
ok
)
{
if
(
response
.
ok
)
{
...
@@ -561,7 +561,7 @@ export default class CreateParameter extends Component {
...
@@ -561,7 +561,7 @@ export default class CreateParameter extends Component {
}
}
getDataCurrencyThreshold
()
{
getDataCurrencyThreshold
()
{
api
.
create
().
get
FormatValue
().
then
((
response
)
=>
{
api
.
create
().
get
Threshold
().
then
((
response
)
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
ok
)
{
if
(
response
.
ok
)
{
...
...
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