Merge branch '8.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
This commit is contained in:
commit
f4efc86dd3
@ -893,7 +893,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
print $langs->trans("WarehouseSource");
|
print $langs->trans("WarehouseSource");
|
||||||
//print '</td>';
|
//print '</td>';
|
||||||
//print '<td>';
|
//print '<td>';
|
||||||
print $formproduct->selectWarehouses(! empty($object->warehouse_id)?$object->warehouse_id:-1, 'entrepot_id', '', 1, 0, 0, '', 0, 0, array(), 'minwidth200');
|
print $formproduct->selectWarehouses(! empty($object->warehouse_id)?$object->warehouse_id:'ifone', 'entrepot_id', '', 1, 0, 0, '', 0, 0, array(), 'minwidth200');
|
||||||
if (count($formproduct->cache_warehouses) <= 0)
|
if (count($formproduct->cache_warehouses) <= 0)
|
||||||
{
|
{
|
||||||
print ' '.$langs->trans("WarehouseSourceNotDefined").' <a href="'.DOL_URL_ROOT.'/product/stock/card.php?action=create">'.$langs->trans("AddOne").'</a>';
|
print ' '.$langs->trans("WarehouseSourceNotDefined").' <a href="'.DOL_URL_ROOT.'/product/stock/card.php?action=create">'.$langs->trans("AddOne").'</a>';
|
||||||
|
|||||||
@ -38,6 +38,8 @@ require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
|
|||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('projects','users','companies'));
|
$langs->loadLangs(array('projects','users','companies'));
|
||||||
|
|
||||||
|
$hookmanager->initHooks(array('timesheetperdaycard'));
|
||||||
|
|
||||||
$action=GETPOST('action','aZ09');
|
$action=GETPOST('action','aZ09');
|
||||||
$mode=GETPOST("mode",'alpha');
|
$mode=GETPOST("mode",'alpha');
|
||||||
$id=GETPOST('id','int');
|
$id=GETPOST('id','int');
|
||||||
|
|||||||
@ -38,6 +38,8 @@ require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
|
|||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('projects','users','companies'));
|
$langs->loadLangs(array('projects','users','companies'));
|
||||||
|
|
||||||
|
$hookmanager->initHooks(array('timesheetperweekcard'));
|
||||||
|
|
||||||
$action=GETPOST('action','aZ09');
|
$action=GETPOST('action','aZ09');
|
||||||
$mode=GETPOST("mode",'alpha');
|
$mode=GETPOST("mode",'alpha');
|
||||||
$id=GETPOST('id','int');
|
$id=GETPOST('id','int');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user