Download Invoice
You can download an invoice by setting the parameter "hasInvoice", however if the job has not invoice, you can't see the "See invoice" button.
Specific configuration parameters
Parameter lib | Parameter web | Description |
---|---|---|
hasInvoice | hasInvoice | Allows you to choose render the "See invoice" button element in the application default: "false" options: "false" || "true" |
Usage Example
<!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",
hasInvoice: "true"
}
window.instaleap.status.render(params)
</script>
</html>
https://xandar-lsw-v3.instaleap.io/status?job=myJob&token=myToken&hasInvoice=true
Updated 4 days ago