Procházet zdrojové kódy

new field in inventory_extrafields for device_type

szollosil před 1 rokem
rodič
revize
e3aae729db

+ 3 - 3
custom/rollerstorage/rollerstorageindex.php

@@ -1,5 +1,5 @@
 <?php
-/* Copyright (C) 2007-2017 Laurent Destailleur  <eldy@users.sourceforge.net>1
+/* Copyright (C) 2007-2017 Laurent Destailleur  <eldy@users.sourceforge.net>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -159,7 +159,7 @@ if(!$permissiontoread){
 	foreach($permissions as $key => $value){
 		$inventoryAndMenu = explode('_', $key);
 		if($inventoryAndMenu[1]){
-			header("Location: " . 'https://exceliadev.manageyourcity.com/custom/rollerstorage/rollerstorageinventoryindex.php?inventory_id=' . $inventoryAndMenu[1]);
+			header("Location: " . DOL_URL_ROOT .'/custom/rollerstorage/rollerstorageinventoryindex.php?inventory_id=' . $inventoryAndMenu[1]);
 			break;
 		}
 	}
@@ -694,7 +694,7 @@ if ($permissiontoread) {
 				} elseif ($key == 'rowid') {
 					print $object->showOutputField($val, $key, $object->id, '');
 				} elseif ($key == 'ref') {
-					print '<span class="fas fa-boxes paddingright classfortooltip" style=" color: #a69944;"></span><a href="https://exceliadev.manageyourcity.com/custom/rollerstorage/card.php?id=' . $object->id . '&backtopage=' . $backurlforlist . '">' . $object->$key . '</a>';
+					print '<span class="fas fa-boxes paddingright classfortooltip" style=" color: #a69944;"></span><a href="' . DOL_URL_ROOT . '/custom/rollerstorage/card.php?id=' . $object->id . '&backtopage=' . $backurlforlist . '">' . $object->$key . '</a>';
 				} elseif (isset($typeData[1]) && $typeData[1] == 'Entrepot') {
 					print '<div title="<span class=&quot;fas fa-box-open  em080&quot; style=&quot; color: #a69944;&quot; cursor: pointer;></span> <u class=&quot;paddingrightonly&quot;>Raktár</u><br><b>Ref.:</b> ' . $obj->address . '<br>
 				<b>A hely rövid neve:</b> ' . $obj->lieu . '" class="classfortooltip"><span class="fas fa-box-open  em080 paddingright classfortooltip" style=" color: #a69944;"></span>

+ 1 - 1
custom/rollerstorage/rollerstorageinventoryindex.php

@@ -767,7 +767,7 @@ if ($permissiontoread || $permissiontoadd) {
 				} elseif ($key == 'rowid') {
 					print $object->showOutputField($val, $key, $object->id, '');
 				} elseif ($key == 'ref') {
-					print '<span class="fas fa-boxes paddingright classfortooltip" style=" color: #a69944;"></span><a href="https://exceliadev.manageyourcity.com/custom/rollerstorage/card.php?id=' . $object->id . '&inventory_id=' . $inventory_id . '&backtopage=' . $backurlforlist . '">' . $object->$key . '</a>';
+					print '<span class="fas fa-boxes paddingright classfortooltip" style=" color: #a69944;"></span><a href="' . DOL_URL_ROOT . '/custom/rollerstorage/card.php?id=' . $object->id . '&inventory_id=' . $inventory_id . '&backtopage=' . $backurlforlist . '">' . $object->$key . '</a>';
 				} elseif (isset($typeData[1]) && $typeData[1] == 'Entrepot') {
 					print '<div title="<span class=&quot;fas fa-box-open  em080&quot; style=&quot; color: #a69944;&quot; cursor: pointer;></span> <u class=&quot;paddingrightonly&quot;>Raktár</u><br><b>Ref.:</b> ' . $obj->address . '<br>
 				<b>A hely rövid neve:</b> ' . $obj->lieu . '" class="classfortooltip"><span class="fas fa-box-open  em080 paddingright classfortooltip" style=" color: #a69944;"></span>