sashglt Posted August 1, 2013 Report Share 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 Quote Link to comment Share on other sites More sharing options...
Scott Horsley Posted August 3, 2013 Report Share 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.