Merge pull request #9969 from grandoc/new_branch_07_11_2018
fix : missing translation
This commit is contained in:
commit
50bd8bc4ce
@ -55,7 +55,7 @@ $AdherentsResilies=array();
|
||||
|
||||
$AdherentType=array();
|
||||
|
||||
// Liste les adherents
|
||||
// Members list
|
||||
$sql = "SELECT t.rowid, t.libelle as label, t.subscription,";
|
||||
$sql.= " d.statut, count(d.rowid) as somme";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."adherent_type as t";
|
||||
@ -92,7 +92,7 @@ if ($result)
|
||||
|
||||
$now=dol_now();
|
||||
|
||||
// List members up to date
|
||||
// Members up to date list
|
||||
// current rule: uptodate = the end date is in future whatever is type
|
||||
// old rule: uptodate = if type does not need payment, that end date is null, if type need payment that end date is in future)
|
||||
$sql = "SELECT count(*) as somme , d.fk_adherent_type";
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
* Copyright (C) 2014-2018 Ferran Marcet <fmarcet@2byte.es>
|
||||
* Copyright (C) 2014-2018 Charlene Benke <charlies@patas-monkey.com>
|
||||
* Copyright (C) 2015-2016 Abbes Bahfir <bafbes@gmail.com>
|
||||
* Copyright (C) 2018 Philippe Grand <philippe.grand@atoo-net.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -1646,10 +1647,12 @@ else if ($id > 0 || ! empty($ref))
|
||||
else print '<div class="inline-block divButAction"><a class="butActionRefused" href="#">'.$langs->trans('SendMail').'</a></div>';
|
||||
}
|
||||
|
||||
// create interventional model
|
||||
// create intervention model
|
||||
if ($object->statut == Fichinter::STATUS_DRAFT && $user->rights->ficheinter->creer && (count($object->lines) > 0)) {
|
||||
print '<div class="inline-block divButAction">';
|
||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/fichinter/card-rec.php?id='.$object->id.'&action=create">'.$langs->trans("ChangeIntoRepeatableInterventional").'</a>';
|
||||
// This feature is not yet implemented
|
||||
//print '<a class="butAction" href="'.DOL_URL_ROOT.'/fichinter/card-rec.php?id='.$object->id.'&action=create">'.$langs->trans("ChangeIntoRepeatableIntervention").'</a>';
|
||||
print '<a class="butAction" title="'.$langs->trans("ChangeIntoRepeatableIntervention").'" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">'.$langs->trans("not yet implemented").'</a>';
|
||||
print '</div>';
|
||||
}
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@ Interventions=Interventions
|
||||
InterventionCard=Intervention card
|
||||
NewIntervention=New intervention
|
||||
AddIntervention=Create intervention
|
||||
ChangeIntoRepeatableIntervention=Change to repeatable intervention
|
||||
ListOfInterventions=List of interventions
|
||||
ActionsOnFicheInter=Actions on intervention
|
||||
LastInterventions=Latest %s interventions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user