balance after update
1- we create absent form
if number of days available to absent is 3
we create a form
date no.days
1-1-2015 1
3-1-2015 1
we create when validate item on no.days (get sum no.days and compare to 3).
if we update
3-1-2015 2 (sum no.days is 2 and we add 2 )
so i have a problem ,
how i solve this issue ?