If you need duplicate copies of your invoice (one labelled f.e. " / Copy") you can do the following:
- split the invoice template just after the starting
<body>tag into a header part (named f.e. ip_head.php) and a body part (ip_body.php) - go to the
<h1 class="invoice-title">tag in the body part and add
<?php ($h1Addition ?? ''); ?>just before the closing</h1> - delete
</body></html>from the body part. - Create a new file with a distinct name (f.e. MyIp.php):
<?php
require('ip_head.php');
require('ip_body.php');
echo "<pagebreak />";
$h1Addition = " / Copy";
require('ip_body.php');
?>
</body></html>
- Under Settings-> Invoice use this file (MyIp) as template.