[gnukhata-devel] Re: account code for getting balance is enough

  • From: Rohini baraskar <robaraskar@xxxxxxxxx>
  • To: gnukhata-devel@xxxxxxxxxxxxx
  • Date: Sat, 4 Mar 2017 14:35:53 +0530

Dear Sir,

I have made necessary changes in closing balance api.

Now only accountcode, financialstart date and calculateto date are needed.

Thank You.

On Sat, Mar 4, 2017 at 2:09 PM, Rohini baraskar <robaraskar@xxxxxxxxx>
wrote:

Ok Sir.👍

On Sat, Mar 4, 2017 at 1:58 PM, Krishnakant <krmane@xxxxxxxxxxxxxxx>
wrote:

Dear Rohini,

We need a slight alteration in the closingBalance get method.

Just sending account code is enough so you can actually remove the line
for getting it by name.

Just get the account code from request.params in your code for getting
the balance.

Meaning First remove the lines that find the account code by name.

Then where you have used the fetched account code, just have the code
from request.param["accountcode"] or what ever sutes you.

I will be making an issue on gitlab for this.

Happy hacking.

Krishnakant.





Other related posts: