Anonymous wrote:
Anonymous wrote:
Yes, I got the same problem. and exactly the same error message. I just updated from Chamleon v1.1 to v1.2
Sorry, I meant on this post that, after I updated from Chamleon v1.1 to v1.2 . Then I got this error msg.
"Parse error: parse error in /var/www/html/A2Billing_UI/lib/Form/Class.ViewHandler.inc.php(276) : eval()'d code on line 1
"
I looked at the code and it was substracting the wrong columns, here is what I did.
File /var/www/html/A2billing/Public/form_data/FG_var_moneysituation.inc
Changed
$HD_Form -> AddViewElement("TO PAY", "to pay", "7%", "center", "sort", "", "eval",'abs(%3-%2)');
To
$HD_Form -> AddViewElement("TO PAY", "to pay", "7%", "center", "sort", "", "eval",'abs(%5-%4)');
The problem is that there are several bugs in "Money Situation". I noticed that the code is using the field 'id' on the cc_card table to match against the other tables. The problem is that the card number is saved on the field 'username' and not on 'id'. Even after fixing a few of these I can't get the balance on the card to reflect charges or payments. So if Areski could give us some input on this, I'll appreciate it.