use correct debit and credit values, handle journal entries with multiple legs and docs#36
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## version-15 #36 +/- ##
==============================================
- Coverage 40.16% 39.14% -1.03%
==============================================
Files 10 9 -1
Lines 473 442 -31
==============================================
- Hits 190 173 -17
+ Misses 283 269 -14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@dvdl16 What changes were made on this PR? |
For invoices in foreign currencies, use the ZAR value, not the foreign currency value
Before this PR, auto-classification only worked for simple journal entries with VAT, e.g. Bought office supplies for 100 + 15 VAT, paid from bank. The added code handles more scenarios of messy/real-world journal entries where VAT appears as one line, but the other side is split across multiple lines |
|
@Starktail-Christo was part of work done for HD Ticket 854 |
|
@dvdl16 Thank you for the clarification |
Description
Type of change
Tests
Checklist:
/patchesandpatches.txthave been updatedUser Experience:
N/A