Re: uptodate Account_balance

2013-10-07 Thread Ovnicraft
Hi Maurice, its very hard understood this but i give a try. if your are working in finance-world you will need update de balance, so it implies fields 'depends' from others transactions, you named deposits/withdraws. You can use aggregations[1] or update field 'manually'. Regards, [1] https://d

Re: uptodate Account_balance

2013-10-07 Thread Daniel Roseman
On Monday, 7 October 2013 18:07:49 UTC+1, MAurice wrote: > needed to no how to have a uniform account_balance figure(after > withdraw or deposit) > > On 10/7/13, Maurice J Elagu > wrote: > > The signals are doin the notifications but not updating > > Please learn how to ask a question properly

Re: uptodate Account_balance

2013-10-07 Thread Maurice J Elagu
needed to no how to have a uniform account_balance figure(after withdraw or deposit) On 10/7/13, Maurice J Elagu wrote: > The signals are doin the notifications but not updating > > > On 10/3/13, C. Kirby wrote: >> Use signals: >> https://docs.djangoproject.com/en/dev/topics/signals/ >> >> post

Re: uptodate Account_balance

2013-10-07 Thread Maurice J Elagu
The signals are doin the notifications but not updating On 10/3/13, C. Kirby wrote: > Use signals: > https://docs.djangoproject.com/en/dev/topics/signals/ > > post_save check the amount deposited or withdrawn and update the balance > > On Thursday, October 3, 2013 9:42:48 AM UTC-5, MAurice wrot

Re: uptodate Account_balance

2013-10-03 Thread C. Kirby
Use signals: https://docs.djangoproject.com/en/dev/topics/signals/ post_save check the amount deposited or withdrawn and update the balance On Thursday, October 3, 2013 9:42:48 AM UTC-5, MAurice wrote: > > Am creating this project in that a client has an account in a > micro-finance and can als

Re: uptodate Account_balance

2013-10-03 Thread MAurice
Am creating this project in that a client has an account in a micro-finance and can also Take Loans which loan is credited onto this very account. The problem is am trying to find a way of having an Account_balance which will be changing when deposits and withdrawals are made to the account and a

Re: uptodate Account_balance

2013-10-03 Thread Leonardo Giordani
Maurice, please remember not everyone on this ML knows finance and noone knows your application but you. Moreover, people on ML cannot spend hours trying to figure out what is your problem: sometimes just solving the problem needs a lot of work, so make things easy. You posted your models, but I

uptodate Account_balance

2013-10-03 Thread MAurice
Hello everyone was requesting for help on this micro-finance software am developing, needed to make the account balance reflect updated amount/value on the database when deposits/withdraws are made on either the account or loan repayment *class Branch(models.Model):* time_stamp =model