106
106
'prac_amt1':self._get_amt(prog, income, date_from_1, date_to_1, bpost_lst,'_prac_amt'),
107
107
'theo_amt2':self._get_amt(prog, income, date_from_2, date_to_2, bpost_lst,'_theo_amt'),
108
108
'prac_amt2_a':self._get_amt(prog, income, date_from_2, date_limit, bpost_lst,'_prac_amt'),
109
'prac_amt2_b':self._get_amt(prog, income, date_after, date_to_2, bpost_lst,'_prac_amt'),}
109
'prac_amt2_b':self._get_amt(prog, income, date_after, date_to_2, bpost_lst,'_theo_amt'),}
111
111
total['prac_amt2_c'] = total['theo_amt2'] and total['theo_amt1'] * 100/ total['theo_amt2'] - 100 or 0.0
112
112
total['prac_amt2_d'] = total['prac_amt1'] and ( total['prac_amt2_a'] + total['prac_amt2_b'] )/(total['prac_amt1'] * 100)-100 or 0.0