Update card.php
This commit is contained in:
parent
8390ed346b
commit
e873608d84
@ -387,7 +387,10 @@ if (empty($reshook)) {
|
|||||||
$dateemploymentend = dol_mktime(0, 0, 0, GETPOST('dateemploymentendmonth', 'int'), GETPOST('dateemploymentendday', 'int'), GETPOST('dateemploymentendyear', 'int'));
|
$dateemploymentend = dol_mktime(0, 0, 0, GETPOST('dateemploymentendmonth', 'int'), GETPOST('dateemploymentendday', 'int'), GETPOST('dateemploymentendyear', 'int'));
|
||||||
$object->dateemploymentend = $dateemploymentend;
|
$object->dateemploymentend = $dateemploymentend;
|
||||||
|
|
||||||
$object->fk_warehouse = GETPOST('fk_warehouse', 'int');
|
if (! empty($conf->stock->enabled))
|
||||||
|
{
|
||||||
|
$object->fk_warehouse = GETPOST('fk_warehouse', 'int');
|
||||||
|
}
|
||||||
|
|
||||||
if (! empty($conf->multicompany->enabled))
|
if (! empty($conf->multicompany->enabled))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user