Commit 0c742d98 authored by MOREAU Ulysse's avatar MOREAU Ulysse
Browse files

Remove unused data

parent 912501b3
......@@ -34,14 +34,6 @@ 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")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment