PHP 8.2 Compatibility Improvement, better implementation.
[fa-stable.git] / sales / includes / cart_class.inc
index 11b2029dc5a296b64cb0de748d27d345d58feeb7..4bef4cd102432d1a02329941bd0b00c8ffa4805a 100644 (file)
@@ -21,7 +21,7 @@ iv)  a delivery note
 include_once($path_to_root . "/inventory/includes/inventory_db.inc");
 include_once($path_to_root . "/taxes/tax_calc.inc");
 
-class Cart extends \stdClass
+class Cart 
 {
        var $trans_type; // invoice, order, quotation, delivery note ...
        var $trans_no = array();// array (num1=>ver1,..) or 0 for new
@@ -82,6 +82,7 @@ class Cart extends \stdClass
        var $ex_rate;
 
        var $fixed_asset = false;
+       var $bo_policy = null;
 
        //-------------------------------------------------------------------------
        //