This topic is locked

PHPR 9.8 and Invoice template

1/13/2018 10:14:27 AM
PHPRunner General questions
J
jacekq author

Hello,
I must modify invoice template and add tax value calculations not only for whole invoice but separately to every position(product) on invoice.

Products have different tax values.
I've added columns called tax to invitems and invoicedetails tables and I'm looking for place where invoice positions are calculated on ex. keyup events.

I also should change invoice tax field behaviour - it should contain now the sum for tax position of every invoice product and be readonly.
The second question is:

when I press add invoice invoices_add.php is fired and, automaticly, product called Title 1(id=1) from invitems table is added as the first position of invoice.

How to change that to any other invitems row as a default for adding new invoice?
Can you help me?
Regards,

Jacek

emendoza 1/15/2018

The invoice template has a lot of code, I recommend contact technical support through a ticket and they will tell you.
https://www.xlinesoft.com/dss/support.asp
It is possible to buy a plan to personalize the code.