ruthra kumar 84b7c1bba0 fix: tds incorrectly calculated for invoice that are below threshold
Two purchase invoices for the same supplier, using different tax
withholding categories have this issue.

| Category | single | cumulative |
|----------+--------+------------|
| cat1     |    100 |        500 |
| cat2     |   1000 |       5000 |

1. PINV1 of net total: 105/- uses cat1. TDS is calculated as it
breached single threshold
2. PINV2 of net total: 200/- uses cat2. TDS incorrectly calculated as
PINV1 already has TDS calculated and 'consider_party_ledger_amount' is enabled.
2023-05-17 13:55:41 +05:30
..
2021-11-25 23:58:16 +05:30
2022-03-28 18:52:46 +05:30
2021-11-05 11:16:29 +05:30
2022-11-02 15:37:46 +05:30
2022-03-28 18:52:46 +05:30
2022-03-28 18:52:46 +05:30
2021-11-05 11:16:29 +05:30