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 | Description |
---|---|
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/lsw.js"></script>
<script>
const params = {
job: "myJob",
token: "myToken",
container: "#instaleap-lsw-v3",
theme: {
primaryColor: '#003865',
secondaryColor: '#EF5B0C'
},
hasInvoice: "true"
}
window.instaleap.lsw.render(params)
</script>
</html>