Skip to content

Commit

Permalink
fix: misaligned columns in print format of AR/AP report
Browse files Browse the repository at this point in the history
(cherry picked from commit bbaa14a)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Jun 9, 2022
1 parent 9f6b32a commit 81e32e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h5 class="text-center">

{% if(filters.show_future_payments) { %}
{% var balance_row = data.slice(-1).pop();
var start = filters.based_on_payment_terms ? 13 : 11;
var start = report.columns.findIndex((elem) => (elem.fieldname == 'age'));
var range1 = report.columns[start].label;
var range2 = report.columns[start+1].label;
var range3 = report.columns[start+2].label;
Expand Down

0 comments on commit 81e32e2

Please sign in to comment.