Browse Source

add usage vs qtymin calc

andre 4 năm trước cách đây
mục cha
commit
e9969ff3ad
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      productressources.php

+ 3 - 3
productressources.php

@@ -27,7 +27,7 @@ require("../../init.php");
 
 $whmcs = App::self();
 $pid = (int) $whmcs->get_req_var('pid');
-$id = (int) $whmcs->get_req_var('id');
+$productId = (int) $whmcs->get_req_var('id');
 $get = $whmcs->get_req_var('get');
 $language = $whmcs->get_req_var('language') ?: null;
 $data = array();
@@ -62,12 +62,12 @@ $configOptions = Capsule::table('tblproductconfigoptions')
     ->select('optionname','qtyminimum')
     ->get();
 
-$service = new Service($id);
+$service = new Service($productId);
 AccountSummary::initContent();
 //$ressource = new ResourceManager();
 
 print_r($service);
-widgetOutput($id);
+widgetOutput($productId);
 
 function widgetOutput($value) {
     echo "document.write('".addslashes($value)."');";