Skip to content

Commit f72e7a2

Browse files
committed
[FIX] accounting: cheat sheet reconcile
Before this commit, when doing the reconciliation of the table present in the cheat sheet, the second reconciliation was wrong because the "Invoice 1" should be reconciled with the twos partials payment. This Pr correct that by changing the find parameter to target the partials also. closes #6903 Task: 3633468 X-original-commit: 053fb76 Signed-off-by: Antoine Vandevenne (anv) <[email protected]> Signed-off-by: Maximilien La Barre (malb) <[email protected]>
1 parent c21233d commit f72e7a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/reconciliation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
state = operations[state]();
2727
}).appendTo($rec);
2828

29-
var $1 = $rec.find('td:contains("Invoice 1"), td:contains("Payment 1")')
29+
var $1 = $rec.find('td:contains("Invoice 1"), td:contains("Partial payment 1/2"), td:contains("Partial payment 2/2")')
3030
.parent()
3131
.addClass('invoice1');
3232
var $2 = $rec.find('td:contains("Invoice 2"), td:contains("Payment 2")')

0 commit comments

Comments
 (0)