X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fui%2Fallocation_cart.inc;h=b45110b35ade07d366eb4a8622f81e7d9b93ee0f;hb=8a566dd3a7906e8146a0b045f023f086c93421d8;hp=f51046b064aaf2b4fe3b4c497f14f805224c0f71;hpb=443214a800fa66cd1473b48f6fadd1b09144a5d4;p=fa-stable.git diff --git a/includes/ui/allocation_cart.inc b/includes/ui/allocation_cart.inc index f51046b0..b45110b3 100644 --- a/includes/ui/allocation_cart.inc +++ b/includes/ui/allocation_cart.inc @@ -30,7 +30,7 @@ class allocation var $allocs; /*array of transactions allocated to */ - function allocation($type, $trans_no, $person_id = null, $person_type_id=null) + function __construct($type, $trans_no, $person_id = null, $person_type_id=null) { $this->allocs = array(); @@ -254,7 +254,7 @@ class allocation_item var $current_allocated; - function allocation_item ($type, $type_no, $date_, $due_date, $amount, + function __construct($type, $type_no, $date_, $due_date, $amount, $amount_allocated, $current_allocated, $ref) {