feat: Against voucher filter in General Ledger (#39100)

This commit is contained in:
Deepesh Garg
2024-01-03 10:03:27 +05:30
committed by GitHub
parent 60c33ac3e6
commit beee98da6d
3 changed files with 14 additions and 0 deletions

View File

@@ -933,6 +933,12 @@ class AccountsController(TransactionBase):
}
)
if not args.get("against_voucher_type") and self.get("against_voucher_type"):
gl_dict.update({"against_voucher_type": self.get("against_voucher_type")})
if not args.get("against_voucher") and self.get("against_voucher"):
gl_dict.update({"against_voucher": self.get("against_voucher")})
return gl_dict
def get_voucher_subtype(self):