Topic: invoice Template

How i can edit invoice template
when i print invoice  i want to add word (Tax) above it is now like this Invoice i want it Tax Invoice
How

2 (edited by Viwal 12/26/2017 10:55:27 pm)

Re: invoice Template

Hi realjedd,

I am new to PHP and Frontaccounting, but I did some research and achieve this in my instance (May be experts here can help with better way)

FA Install Directory > reporting > includes

Edit file doctext.inc for Case ST_SALESINVOICE as below -

Original -
case ST_SALESINVOICE:
            $this->title = $this->formData['prepaid']=='partial' ? _("PREPAYMENT INVOICE")
                : ($this->formData['prepaid']=='final' ? _("FINAL INVOICE")  : _("INVOICE"));

Modified -
case ST_SALESINVOICE:
            $this->title = $this->formData['prepaid']=='partial' ? _("PREPAYMENT INVOICE")
                : ($this->formData['prepaid']=='final' ? _("FINAL INVOICE")  : _("TAX INVOICE"));

and this will display Invoice as "Tax Invoice"

Thanks

Re: invoice Template

Great. I found it as you told me. Thanks.