Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
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
Prasetya Saputra
clone_excelso
Commits
25f722ec
Commit
25f722ec
authored
Jun 06, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://repo.cs.co.id:2222/wahyu/bahanoprek
parents
4f2704bb
aead4172
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
globalReducer.js
redux/globalReducer.js
+1
-1
ItemShopingCart.js
view/ItemShopingCart.js
+7
-1
No files found.
redux/globalReducer.js
View file @
25f722ec
...
...
@@ -621,7 +621,7 @@ const rootReducer = (state = globalState, action) => {
row
[
'note'
]
=
is_xist
.
note
}
else
{
row
[
'qty'
]
=
0
row
[
'note'
]
=
'
Kosong
'
row
[
'note'
]
=
''
}
if
(
last_category
!=
row
.
category
.
name
)
{
...
...
view/ItemShopingCart.js
View file @
25f722ec
...
...
@@ -43,9 +43,15 @@ class ItemShoping extends React.Component {
}
handleEdit
=
(
item
)
=>
{
let
note
=
''
if
(
this
.
state
.
note
===
''
)
{
note
=
item
.
note
;
}
else
{
note
=
this
.
state
.
note
;
}
const
order_item
=
{
id
:
item
.
id
,
note
:
this
.
state
.
note
,
note
:
note
,
}
this
.
props
.
setNotes
({
item
:
order_item
})
...
...
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