mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Updated Guest download PDF Invocie to match and fixed tax and subtotal calculation under Guest View Invoice
This commit is contained in:
11
invoice.php
11
invoice.php
@@ -490,15 +490,6 @@ include("footer.php");
|
||||
<script src='plugins/pdfmake/vfs_fonts.js'></script>
|
||||
<script>
|
||||
|
||||
// Invoice markup
|
||||
// Author: Max Kostinevich
|
||||
// BETA (no styles)
|
||||
// http://pdfmake.org/playground.html
|
||||
// playground requires you to assign document definition to a variable called dd
|
||||
|
||||
// CodeSandbox Example: https://codesandbox.io/s/pdfmake-invoice-oj81y
|
||||
|
||||
|
||||
var docDefinition = {
|
||||
info: {
|
||||
title: '<?php echo "$company_name - Invoice"; ?>',
|
||||
@@ -791,7 +782,7 @@ var docDefinition = {
|
||||
// Document Footer
|
||||
documentFooterCenter: {
|
||||
fontSize: 9,
|
||||
margin: [5,5,5,5],
|
||||
margin: [10,10,10,10],
|
||||
alignment:'center'
|
||||
},
|
||||
// Invoice Title
|
||||
|
||||
Reference in New Issue
Block a user