sashglt Posted August 1, 2013 Report Posted August 1, 2013 Could you please tell us how do we implement other fields in the invoice like " previous balance", "credit" and "total due" - which includes previous balance + new charges - payments Thank you for your cooperation
Scott Horsley Posted August 3, 2013 Report Posted August 3, 2013 Could you please tell us how do we implement other fields in the invoice like " previous balance", "credit" and "total due" - which includes previous balance + new charges - payments take a look at the following values $this->invoice->previous_due $this->invoice->total $this->invoice->paid $this->invoice->subtotal Some simple math will work out what you require.. echo $this->invoice->previous_due + $this->invoice->subtotal - $this->invoice->paid; Not tested, and not 100% these are the results your looking for.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now