projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed class constructor names.
[fa-stable.git]
/
purchasing
/
includes
/
supp_trans_class.inc
diff --git
a/purchasing/includes/supp_trans_class.inc
b/purchasing/includes/supp_trans_class.inc
index 00226d9fc5d2c078c67c19c296518853dd822c61..8a70e41488f47b4565511838be523cf5f42c8fe4 100644
(file)
--- a/
purchasing/includes/supp_trans_class.inc
+++ b/
purchasing/includes/supp_trans_class.inc
@@
-49,7
+49,7
@@
class supp_trans
var $dimension,
$dimension2;
var $dimension,
$dimension2;
- function
supp_trans
($trans_type, $trans_no=0)
+ function
__construct
($trans_type, $trans_no=0)
{
$this->trans_type = $trans_type;
/*Constructor function initialises a new Supplier Transaction object */
{
$this->trans_type = $trans_type;
/*Constructor function initialises a new Supplier Transaction object */
@@
-230,7
+230,7
@@
all the info to do the necessary entries without looking up ie additional querie
var $gl_code;
var $tax_included;
var $gl_code;
var $tax_included;
- function
grn_item
($id, $po_detail_item, $item_code, $item_description, $qty_recd,
+ function
__construct
($id, $po_detail_item, $item_code, $item_description, $qty_recd,
$prev_quantity_inv, $this_quantity_inv, $order_price, $chg_price,
$std_cost_unit, $gl_code, $tax_included)
{
$prev_quantity_inv, $this_quantity_inv, $order_price, $chg_price,
$std_cost_unit, $gl_code, $tax_included)
{
@@
-274,7
+274,7
@@
class gl_codes
var $amount;
var $memo_;
var $amount;
var $memo_;
- function
gl_codes
($Counter, $gl_code, $gl_act_name, $gl_dim, $gl_dim2, $amount, $memo_)
+ function
__construct
($Counter, $gl_code, $gl_act_name, $gl_dim, $gl_dim2, $amount, $memo_)
{
/* Constructor function to add a new gl_codes object with passed params */
{
/* Constructor function to add a new gl_codes object with passed params */