瀏覽代碼

add usage vs qtymin calc

andre 4 年之前
父節點
當前提交
c45782c7d2
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      productressources.php

+ 1 - 2
productressources.php

@@ -62,8 +62,7 @@ $configOptions = Capsule::table('tblproductconfigoptions')
     ->select('optionname','qtyminimum')
     ->get();
 
-$this->service = new Service();
-$this->service->setServiceId($id);
+$this->service = new Service($id);
 $this->service->loadWhmcsService();
 $this->ressource = new ResourceManager();