I need a function to manage payment by installment and when fee is fully 
paid

db.define_table('payment_type',
Field('category'),
Field('amount', 'double'),format='%(category)s %(amount)s')

db.define_table('fee',
Field('name', 'reference students'),
Field('category', 'reference payment_type'),
Field('payment_date', 'date'),
Field('arrears', 'double'),
Field('installment', 'double'))

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/ebb499c1-8246-41f8-b60a-82a6278ebe8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to