Improvements to payment and other misc items

This commit is contained in:
Deon George
2013-06-19 19:26:07 +10:00
parent 1caeed6606
commit 3499776ddc
33 changed files with 569 additions and 530 deletions

View File

@@ -45,7 +45,7 @@ class Controller_User_Statement extends Controller_TemplateDefault_User {
if (isset($v['invoice']))
$t += $v['invoice']->total();
elseif (isset($v['payment']))
$t -= $v['payment']->total_amt;
$t -= $v['payment']->total();
$ta[$k]['total'] = $t;
$a = $v['time'];