0
can customize the invoices statics so i can remove columns and adding other columns as products.
can customize the new invoice's fields
can customize the invoice fields
can customize the new invoice's fields
can customize the invoice fields
Responses (2)
-
Accepted Answer
-
Accepted Answer
0If you want to add a column like the amount outstanding (see the image), you will need to edit the file \components\com_invoices\views\invoices\tmpl\default.php
add this at about line 37 -->
and add this in one line at about line 78 ->items[$i]->total - $this->items[$i]->total_paid), $this->currencies[$this->items[$i]->currency_id]); ?>
By doing so your outstanding amount would be the invoice amount less the amount of payments paid.
I will also post in the other posts, just search, for calculating the outstanding amount irrespective of tentative payments set, like normal invoice apps work.
I hope this helps :-)
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »