mirror of
https://github.com/frappe/books.git
synced 2024-12-23 03:19:01 +00:00
Fixed stateCodeMapping issue
This commit is contained in:
parent
5d6104ce0d
commit
ba81cb5b7a
@ -48,7 +48,7 @@ class BaseGSTR {
|
|||||||
row.invNo = ledgerEntry.name;
|
row.invNo = ledgerEntry.name;
|
||||||
row.invDate = ledgerEntry.date;
|
row.invDate = ledgerEntry.date;
|
||||||
row.rate = 0;
|
row.rate = 0;
|
||||||
row.inState = gstin && gstin.substring(0, 2) === stateCodeMap[row.place];
|
row.inState = gstin && gstin.substring(0, 2) === stateCodeMap[row.place.toUpperCase()];
|
||||||
row.reverseCharge = !party.gstin ? 'Y' : 'N';
|
row.reverseCharge = !party.gstin ? 'Y' : 'N';
|
||||||
ledgerEntry.taxes?.forEach(tax => {
|
ledgerEntry.taxes?.forEach(tax => {
|
||||||
row.rate += tax.rate;
|
row.rate += tax.rate;
|
||||||
|
Loading…
Reference in New Issue
Block a user