Files
invoice_generator/v1a/invoice.html
2024-04-02 10:37:34 +01:00

30 lines
1.1 KiB
HTML

<!DOCTYPE html>
<!-- Flashing schedule generator and output -->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<title>Invoice</title>
<div id="parent_canvases" style = "text-align:center;">
<canvas id="canvas_1" width="794" height="1124" style="border:none" margin="auto">Your browser does not support the HTML5 canvas tag.</canvas>
</div>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.3.1/jspdf.umd.min.js"></script>
<p align="center">To export: Print -> Save as PDF with normal A4 settings, except no margins, 1st page only.</p>
<p align="center">Or, press the button below to save to your C:\Downloads folder with the name in the textbox.</p>
<form align="center">
<label for="filename">Download filename:</label>
<input type="text" id="filename" name="filename" size="40">
</form>
<div style = "text-align:center;">
<img src="download.png" width="150px" height="75px" onclick="javascript:download_pdfs()" alt='Download Invoice!'>
</div>
<script type="text/javascript" src="plotting.js"></script>
</body>
</html>