|
|
@@ -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="fas fa-box-open em080" style=" color: #a69944;" cursor: pointer;></span> <u class="paddingrightonly">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>
|