Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 10.0
This commit is contained in:
commit
944a15d06b
@ -212,7 +212,7 @@ if ($conf->facture->enabled)
|
|||||||
{
|
{
|
||||||
print '<tr class="oddeven"><td>'.$langs->trans("ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS").'</td>';
|
print '<tr class="oddeven"><td>'.$langs->trans("ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS").'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
$form->select_produits($conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS, 'ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS');
|
$form->select_produits($conf->global->ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS, 'ADHERENT_PRODUCT_ID_FOR_SUBSCRIPTIONS', '', 0);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|||||||
@ -80,6 +80,14 @@ $result = restrictedArea($user, 'contact', $id, 'socpeople&societe', '', '', 'ro
|
|||||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||||
$hookmanager->initHooks(array('contactcard','globalcard'));
|
$hookmanager->initHooks(array('contactcard','globalcard'));
|
||||||
|
|
||||||
|
if ($id > 0) $object->fetch($id);
|
||||||
|
|
||||||
|
if (! ($object->id > 0) && $action == 'view')
|
||||||
|
{
|
||||||
|
$langs->load("errors");
|
||||||
|
print($langs->trans('ErrorRecordNotFound'));
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
|
|||||||
@ -163,6 +163,8 @@ class Interfaces
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
closedir($handle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -88,6 +88,7 @@ PRODUCT_MODIFYInDolibarr=Product %s modified
|
|||||||
PRODUCT_DELETEInDolibarr=Product %s deleted
|
PRODUCT_DELETEInDolibarr=Product %s deleted
|
||||||
HOLIDAY_CREATEInDolibarr=Request for leave %s created
|
HOLIDAY_CREATEInDolibarr=Request for leave %s created
|
||||||
HOLIDAY_MODIFYInDolibarr=Request for leave %s modified
|
HOLIDAY_MODIFYInDolibarr=Request for leave %s modified
|
||||||
|
HOLIDAY_APPROVEInDolibarr=Request for leave %s approved
|
||||||
HOLIDAY_VALIDATEDInDolibarr=Request for leave %s validated
|
HOLIDAY_VALIDATEDInDolibarr=Request for leave %s validated
|
||||||
HOLIDAY_DELETEInDolibarr=Request for leave %s deleted
|
HOLIDAY_DELETEInDolibarr=Request for leave %s deleted
|
||||||
EXPENSE_REPORT_CREATEInDolibarr=Expense report %s created
|
EXPENSE_REPORT_CREATEInDolibarr=Expense report %s created
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user