Added price_nne/_nbe to OrderProduct
This commit is contained in:
@@ -544,6 +544,9 @@ class OrderController extends mfBaseController {
|
||||
$product_data["description"] = $p["description"];
|
||||
$product_data["price"] = Layout::commaToDot($p["price"]);
|
||||
$product_data["price_setup"] = Layout::commaToDot($p["price_setup"]);
|
||||
$product_data["price_nne"] = Layout::commaToDot($p["price_nne"]);
|
||||
$product_data["price_nbe"] = Layout::commaToDot($p["price_nbe"]);
|
||||
|
||||
$product_data["billing_delay"] = ($p["billing_delay"]) ? $p["billing_delay"] : 0;
|
||||
if($product_data["billing_delay"] > 6) {
|
||||
$product_data["billing_delay"] = 6;
|
||||
|
||||
@@ -9,6 +9,8 @@ class OrderProductModel {
|
||||
public $description;
|
||||
public $price;
|
||||
public $price_setup;
|
||||
public $price_nne;
|
||||
public $price_nbe;
|
||||
public $billing_delay;
|
||||
public $billing_period;
|
||||
public $note;
|
||||
|
||||
@@ -238,7 +238,6 @@ class ProductController extends mfBaseController {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if(is_array($product->attributes) && count($product->attributes)) {
|
||||
$attributes = $product->attributes;
|
||||
$product->data->attributes = [];
|
||||
|
||||
Reference in New Issue
Block a user