X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fpo_class.inc;h=c24119d2b9d26bd226e7c149a83a468cfbfb4db5;hb=8b9b2d78cd89f090b486e749396cb5eabd693527;hp=b197cb0369b1d27d3c31e81f79ead7dfa743c957;hpb=e6c89f21df1c1d6742a7e335e6e0fc2c958a7a29;p=fa-stable.git diff --git a/purchasing/includes/po_class.inc b/purchasing/includes/po_class.inc index b197cb03..c24119d2 100644 --- a/purchasing/includes/po_class.inc +++ b/purchasing/includes/po_class.inc @@ -47,7 +47,7 @@ class purch_order var $fixed_asset = false; - function purch_order() + function __construct() { /*Constructor function initialises a new purchase order object */ $this->line_items = array(); @@ -216,7 +216,7 @@ class po_line_details var $standard_cost; var $descr_editable; - function po_line_details($line_no, $stock_item, $item_descr, $qty, $prc, $uom, $req_del_date, + function __construct($line_no, $stock_item, $item_descr, $qty, $prc, $uom, $req_del_date, $qty_inv, $qty_recd, $grn_item_id=0) {