|
|
@@ -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)."');";
|