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
2f5785b5
Commit
2f5785b5
authored
Feb 24, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into rifka
parents
8004221d
b2cdb131
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
476 additions
and
489 deletions
+476
-489
DashboardFinancial.js
src/container/Laporan/DashboardFinancial.js
+442
-337
EditMasterDataCAT.js
src/container/MasterData/MasterDataCAT/EditMasterDataCAT.js
+33
-124
MasterDataCAT.js
src/container/MasterData/MasterDataCAT/MasterDataCAT.js
+1
-28
No files found.
src/container/Laporan/DashboardFinancial.js
View file @
2f5785b5
This diff is collapsed.
Click to expand it.
src/container/MasterData/MasterDataCAT/EditMasterDataCAT.js
View file @
2f5785b5
This diff is collapsed.
Click to expand it.
src/container/MasterData/MasterDataCAT/MasterDataCAT.js
View file @
2f5785b5
...
@@ -722,7 +722,7 @@ export default class MasterDataCAT extends Component {
...
@@ -722,7 +722,7 @@ export default class MasterDataCAT extends Component {
}
}
createReportItems
=
(
payload
)
=>
{
createReportItems
=
(
payload
)
=>
{
this
.
setState
({
add
:
false
})
this
.
setState
({
add
:
false
,
edit
:
false
})
api
.
create
().
saveMasterDataCat
(
payload
).
then
(
response
=>
{
api
.
create
().
saveMasterDataCat
(
payload
).
then
(
response
=>
{
// console.log(response);
// console.log(response);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
...
@@ -781,33 +781,6 @@ export default class MasterDataCAT extends Component {
...
@@ -781,33 +781,6 @@ export default class MasterDataCAT extends Component {
}
}
}
}
// updateReportItems = (payload) => {
// this.setState({ edit: false })
// api.create().updateReportItems(payload).then(response => {
// if (response.data) {
// if (response.ok) {
// if (response.data.status == 'success') {
// this.getData()
// this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'success' })
// } else {
// this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'warning' }, () => {
// if (response.data.message.includes("Someone Logged In")) {
// setTimeout(() => {
// localStorage.removeItem(Constant.TOKEN)
// window.location.reload();
// }, 1000);
// }
// })
// }
// } else {
// this.setState({ alert: true, messageAlert: response.data.message, tipeAlert: 'error' })
// }
// } else {
// this.setState({ alert: true, messageAlert: response.problem, tipeAlert: 'error' })
// }
// })
// }
uploadReportItems
()
{
uploadReportItems
()
{
api
.
create
().
uploadReportItems
(
this
.
state
.
payload
).
then
(
response
=>
{
api
.
create
().
uploadReportItems
(
this
.
state
.
payload
).
then
(
response
=>
{
if
(
response
.
data
)
{
if
(
response
.
data
)
{
...
...
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