mirror of
https://github.com/frappe/books.git
synced 2025-01-23 07:08:36 +00:00
Fixed the Nil rated, exempted goods filter condition
This commit is contained in:
parent
4fa1c272d5
commit
23d21bdfb9
@ -17,8 +17,7 @@ class GSTR1 extends BaseGSTR {
|
||||
'B2B': row => row.gstin,
|
||||
'B2C-Large': row => !row.gstin && !row.inState && row.invAmt >= 250000,
|
||||
'B2C-Small': row => !row.gstin && (row.inState || (row.inState && row.invAmt < 250000)),
|
||||
// TODO: fix the condition for nil rated
|
||||
'Nil Rated, Exempted and Non GST supplies': row => row
|
||||
'Nil Rated, Exempted and Non GST supplies': row => (row.rate === 0), // this takes care of both nil rated, exempted goods
|
||||
};
|
||||
|
||||
if (!params.transferType) return data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user