New: Can send ficheinter by email
This commit is contained in:
parent
d9ea527f49
commit
a694166fc2
@ -5,6 +5,7 @@ $Id$
|
|||||||
|
|
||||||
***** ChangeLog for 3.1 compared to 3.0 *****
|
***** ChangeLog for 3.1 compared to 3.0 *****
|
||||||
For users:
|
For users:
|
||||||
|
- New: Can send interventions cards by email.
|
||||||
- New: Add option MAIN_FIRST_TO_UPPER to force upper case of first
|
- New: Add option MAIN_FIRST_TO_UPPER to force upper case of first
|
||||||
letters for names and firstname.
|
letters for names and firstname.
|
||||||
- New: Can filter of payment type in bank transaction list.
|
- New: Can filter of payment type in bank transaction list.
|
||||||
|
|||||||
@ -127,6 +127,14 @@ class modFicheinter extends DolibarrModules
|
|||||||
$this->rights[$r][3] = 0;
|
$this->rights[$r][3] = 0;
|
||||||
$this->rights[$r][4] = 'export';
|
$this->rights[$r][4] = 'export';
|
||||||
|
|
||||||
|
$r++;
|
||||||
|
$this->rights[$r][0] = 68;
|
||||||
|
$this->rights[$r][1] = 'Envoyer les fiches d\'intervention';
|
||||||
|
$this->rights[$r][2] = 'r';
|
||||||
|
$this->rights[$r][3] = 0;
|
||||||
|
$this->rights[$r][4] = 'ficheinter_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
|
$this->rights[$r][5] = 'send';
|
||||||
|
|
||||||
//Exports
|
//Exports
|
||||||
//--------
|
//--------
|
||||||
$r=1;
|
$r=1;
|
||||||
|
|||||||
@ -162,7 +162,7 @@ class modUser extends DolibarrModules
|
|||||||
$this->rights[$r][1] = 'Modifier ses propres permissions';
|
$this->rights[$r][1] = 'Modifier ses propres permissions';
|
||||||
$this->rights[$r][2] = 'w';
|
$this->rights[$r][2] = 'w';
|
||||||
$this->rights[$r][3] = 1;
|
$this->rights[$r][3] = 1;
|
||||||
$this->rights[$r][4] = 'self_advance';
|
$this->rights[$r][4] = 'self_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
$this->rights[$r][5] = 'writeperms';
|
$this->rights[$r][5] = 'writeperms';
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
@ -170,7 +170,7 @@ class modUser extends DolibarrModules
|
|||||||
$this->rights[$r][1] = 'Consulter les groupes';
|
$this->rights[$r][1] = 'Consulter les groupes';
|
||||||
$this->rights[$r][2] = 'r';
|
$this->rights[$r][2] = 'r';
|
||||||
$this->rights[$r][3] = 0;
|
$this->rights[$r][3] = 0;
|
||||||
$this->rights[$r][4] = 'group_advance';
|
$this->rights[$r][4] = 'group_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
$this->rights[$r][5] = 'read';
|
$this->rights[$r][5] = 'read';
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
@ -178,7 +178,7 @@ class modUser extends DolibarrModules
|
|||||||
$this->rights[$r][1] = 'Consulter les permissions des groupes';
|
$this->rights[$r][1] = 'Consulter les permissions des groupes';
|
||||||
$this->rights[$r][2] = 'r';
|
$this->rights[$r][2] = 'r';
|
||||||
$this->rights[$r][3] = 0;
|
$this->rights[$r][3] = 0;
|
||||||
$this->rights[$r][4] = 'group_advance';
|
$this->rights[$r][4] = 'group_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
$this->rights[$r][5] = 'readperms';
|
$this->rights[$r][5] = 'readperms';
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
@ -186,7 +186,7 @@ class modUser extends DolibarrModules
|
|||||||
$this->rights[$r][1] = 'Creer/modifier les groupes et leurs permissions';
|
$this->rights[$r][1] = 'Creer/modifier les groupes et leurs permissions';
|
||||||
$this->rights[$r][2] = 'w';
|
$this->rights[$r][2] = 'w';
|
||||||
$this->rights[$r][3] = 0;
|
$this->rights[$r][3] = 0;
|
||||||
$this->rights[$r][4] = 'group_advance';
|
$this->rights[$r][4] = 'group_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
$this->rights[$r][5] = 'write';
|
$this->rights[$r][5] = 'write';
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
@ -194,7 +194,7 @@ class modUser extends DolibarrModules
|
|||||||
$this->rights[$r][1] = 'Supprimer ou desactiver les groupes';
|
$this->rights[$r][1] = 'Supprimer ou desactiver les groupes';
|
||||||
$this->rights[$r][2] = 'd';
|
$this->rights[$r][2] = 'd';
|
||||||
$this->rights[$r][3] = 0;
|
$this->rights[$r][3] = 0;
|
||||||
$this->rights[$r][4] = 'group_advance';
|
$this->rights[$r][4] = 'group_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
$this->rights[$r][5] = 'delete';
|
$this->rights[$r][5] = 'delete';
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
|
|||||||
@ -45,3 +45,5 @@ ArcticNumRefModelDesc1=Modèle de numérotation générique
|
|||||||
ArcticNumRefModelError=Activation impossible
|
ArcticNumRefModelError=Activation impossible
|
||||||
PacificNumRefModelDesc1=Renvoie le numéro sous la forme %syymm-nnnn où yy est l'année, mm le mois et nnnn un compteur séquentiel sans rupture et sans remise à 0
|
PacificNumRefModelDesc1=Renvoie le numéro sous la forme %syymm-nnnn où yy est l'année, mm le mois et nnnn un compteur séquentiel sans rupture et sans remise à 0
|
||||||
PacificNumRefModelError=Une facture commençant par $syymm existe en base et est incompatible avec cette numérotation. Supprimez la ou renommez la pour activer ce module.
|
PacificNumRefModelError=Une facture commençant par $syymm existe en base et est incompatible avec cette numérotation. Supprimez la ou renommez la pour activer ce module.
|
||||||
|
SendInterventionByMail=Envoi de la fiche d'intervention par mail
|
||||||
|
SendInterventionRef=Envoi Intervention %s
|
||||||
|
|||||||
@ -259,6 +259,7 @@ print '<td align="center" width="24"> </td>';
|
|||||||
print '<td>'.$langs->trans("Permissions").'</td>';
|
print '<td>'.$langs->trans("Permissions").'</td>';
|
||||||
print '</tr>'."\n";
|
print '</tr>'."\n";
|
||||||
|
|
||||||
|
//print "xx".$conf->global->MAIN_USE_ADVANCED_PERMS;
|
||||||
$sql = "SELECT r.id, r.libelle, r.module";
|
$sql = "SELECT r.id, r.libelle, r.module";
|
||||||
$sql.= " FROM ".MAIN_DB_PREFIX."rights_def as r";
|
$sql.= " FROM ".MAIN_DB_PREFIX."rights_def as r";
|
||||||
$sql.= " WHERE r.libelle NOT LIKE 'tou%'"; // On ignore droits "tous"
|
$sql.= " WHERE r.libelle NOT LIKE 'tou%'"; // On ignore droits "tous"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user