Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
This commit is contained in:
commit
ef8da5f34c
@ -369,13 +369,14 @@ if ($ispaymentok) {
|
|||||||
}
|
}
|
||||||
if (empty($user->rights->facture)) {
|
if (empty($user->rights->facture)) {
|
||||||
$user->rights->facture = new stdClass();
|
$user->rights->facture = new stdClass();
|
||||||
|
$user->rights->facture->invoice_advance = new stdClass();
|
||||||
}
|
}
|
||||||
if (empty($user->rights->adherent)) {
|
if (empty($user->rights->adherent)) {
|
||||||
$user->rights->adherent = new stdClass();
|
$user->rights->adherent = new stdClass();
|
||||||
$user->rights->adherent->cotisation = new stdClass();
|
|
||||||
}
|
}
|
||||||
$user->rights->societe->creer = 1;
|
$user->rights->societe->creer = 1;
|
||||||
$user->rights->facture->creer = 1;
|
$user->rights->facture->creer = 1;
|
||||||
|
$user->rights->facture->invoice_advance->validate = 1;
|
||||||
$user->rights->adherent->cotisation->creer = 1;
|
$user->rights->adherent->cotisation->creer = 1;
|
||||||
|
|
||||||
if (array_key_exists('MEM', $tmptag) && $tmptag['MEM'] > 0) {
|
if (array_key_exists('MEM', $tmptag) && $tmptag['MEM'] > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user