Преглед на файлове

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();