Simon Volpert minipos / master templates / invoice.html
master

Tree @master (Download .tar.gz)

invoice.html @masterraw · history · blame

<!doctype html>
<!--
MiniPOS web front-end page template
Author: Simon Volpert <simon@simonvolpert.com>
Project page: https://simonvolpert.com/minipos/
This program is free software, released under the Apache License, Version 2.0. See the LICENSE file for more information
-->
<html>
<head>
<title>{label} Invoice</title>
<link rel="stylesheet" href="style.css">
<script src="scripts.js"></script>
<script>
var request_string = "id={tag}";
</script>
</head>

<body onload="sanitizeInvoice(); setTimeout(checkPayment, 5000)">
<br>
<img id="qr" src="data:image/png;base64,{qr}" alt="" title="{request}" onclick="copy()">
{text}
<div id="popup"><p id="popup_text"></p></div>
<form method="get" name="cancel" action="javascript:window.location.replace('cancel?' + request_string)">
<input type="submit" id="cancel" class="major red" onclick="document.getElementById('copy').remove()" value="&#10007; Cancel">
<input type="text" name="copy" id="copy" value="{request}" style="display: none">
</form>
<form method="get" name="finish" action="javascript:window.location.replace('{return}')">
<input style="display: none;" type="submit" id="finish" class="major green" value="&#10003; Finish">
</form>
</body>
</html>