X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fallocation_cart.inc;fp=includes%2Fui%2Fallocation_cart.inc;h=b45110b35ade07d366eb4a8622f81e7d9b93ee0f;hb=8b9b2d78cd89f090b486e749396cb5eabd693527;hp=f51046b064aaf2b4fe3b4c497f14f805224c0f71;hpb=e6c89f21df1c1d6742a7e335e6e0fc2c958a7a29;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) {