fixed invoice-print loading from file://

This commit is contained in:
REJack
2019-10-03 14:09:27 +02:00
parent c2d3d8595c
commit c09241069b

View File

@@ -18,7 +18,7 @@
<!-- Google Font: Source Sans Pro -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body onload="window.print();">
<body>
<div class="wrapper">
<!-- Main content -->
<section class="invoice">
@@ -162,5 +162,9 @@
<!-- /.content -->
</div>
<!-- ./wrapper -->
<script type="text/javascript">
window.addEventListener("load", window.print());
</script>
</body>
</html>