Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pole-Web
Website
Commits
0c742d98
Commit
0c742d98
authored
Dec 14, 2020
by
MOREAU Ulysse
Browse files
Remove unused data
parent
912501b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
boutique/static/boutique/js/item_manage.js
View file @
0c742d98
...
...
@@ -34,15 +34,7 @@ window.addEventListener("load", function (e) {
let
order
=
orders
[
i
];
let
line
=
document
.
createElement
(
"
tr
"
)
let
li
=
document
.
createElement
(
'
li
'
);
let
content
=
order
.
user
+
"
:
"
+
order
.
quantity
;
console
.
log
(
orders
)
content
=
(
order
.
customization
===
''
)
?
content
:
content
+
'
;
'
+
order
.
customization
;
content
=
(
order
.
option
===
''
)
?
content
:
content
+
'
;
'
+
order
.
option
;
content
=
(
order
.
second_option
===
''
)
?
content
:
content
+
'
;
'
+
order
.
customization
;
content
=
order
.
paid
?
content
:
content
+
"
; Impayé
"
;
content
=
(
order
.
quantity_delivered
===
0
)
?
content
:
content
+
"
;
"
+
order
.
quantity_delivered
+
"
livré(s)
"
let
c1
=
document
.
createElement
(
"
td
"
)
let
c2
=
document
.
createElement
(
"
td
"
)
let
c3
=
document
.
createElement
(
"
td
"
)
...
...
Write
Preview
Supports
Markdown
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