Show cancel button in order late
This parameter allows you to display the "Cancel order" button when order is late. This button is showed up to "Picking" step.
Implementation
Available parameters
Parameter lib | Parameter web | Description |
---|---|---|
showCancelInOrderLate | showCancelInOrderLate | Show the "Cancel order" button in order late By default is false |
Code
<!DOCTYPE html>
<head>
<title>LSW v3 Embed</title>
</head>
<body>
<div id="instaleap-lsw-v3"></div>
</body>
<script src="https://xandar-lsw-v3.instaleap.io/lib/status.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
showCancelInOrderLate: true
}
window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&showCancelInOrderLate=true
Demo
NOTE: Please do not modify the Demo, this is a visual aid.
Updated about 1 month ago