mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix: Statut ferm des propales non traduit
This commit is contained in:
@@ -781,14 +781,14 @@ if ($_GET['propalid'])
|
||||
{
|
||||
if ($user->rights->propale->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="propal.php?propalid='.$propal->id.'&action=modif">'.$langs->trans('Edit').'</a>';
|
||||
print '<a class="butAction" href="propal.php?propalid='.$propal->id.'&action=modif">'.$langs->trans('Edit').'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
// Build PDF
|
||||
if ($propal->statut < 2 && $user->rights->propale->creer)
|
||||
{
|
||||
print '<a class="tabAction" href="propal.php?propalid='.$propal->id.'&action=pdf">'.$langs->trans('BuildPDF').'</a>';
|
||||
print '<a class="butAction" href="propal.php?propalid='.$propal->id.'&action=pdf">'.$langs->trans('BuildPDF').'</a>';
|
||||
}
|
||||
|
||||
// Send
|
||||
@@ -801,7 +801,7 @@ if ($_GET['propalid'])
|
||||
$file = $conf->propal->dir_output . '/'.$propref.'/'.$propref.'.pdf';
|
||||
if (file_exists($file))
|
||||
{
|
||||
print '<a class="tabAction" href="propal.php?propalid='.$propal->id.'&action=presend">'.$langs->trans('Send').'</a>';
|
||||
print '<a class="butAction" href="propal.php?propalid='.$propal->id.'&action=presend">'.$langs->trans('Send').'</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -811,7 +811,7 @@ if ($_GET['propalid'])
|
||||
{
|
||||
if ($user->rights->propale->supprimer)
|
||||
{
|
||||
print '<a class="butDelete" href="propal.php?propalid='.$propal->id.'&action=delete">'.$langs->trans('Delete').'</a>';
|
||||
print '<a class="butActionDelete" href="propal.php?propalid='.$propal->id.'&action=delete">'.$langs->trans('Delete').'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -820,7 +820,7 @@ if ($_GET['propalid'])
|
||||
{
|
||||
if ($propal->statut == 1 && $user->rights->propale->cloturer)
|
||||
{
|
||||
print '<a class="tabAction" href="propal.php?propalid='.$propal->id.'&action=statut">'.$langs->trans('Close').'</a>';
|
||||
print '<a class="butAction" href="propal.php?propalid='.$propal->id.'&action=statut">'.$langs->trans('Close').'</a>';
|
||||
}
|
||||
}
|
||||
print '</div><br>';
|
||||
|
||||
@@ -26,6 +26,7 @@ PropalsDraft=Drafts
|
||||
PropalsOpened=Opened
|
||||
PropalStatusDraft=Draft (need to be validated)
|
||||
PropalStatusValidated=Validated (proposal is opened)
|
||||
PropalStatusClosed=Closed
|
||||
ListOfProposals=List of commercial proposals
|
||||
ActionsOnPropal=Tasks on proposal
|
||||
NoOpenedPropals=No opened commercial proposals
|
||||
|
||||
@@ -26,6 +26,7 @@ PropalsDraft=Brouillons
|
||||
PropalsOpened=Ouvertes
|
||||
PropalStatusDraft=Brouillon (<28> valider)
|
||||
PropalStatusValidated=Valid<69>e (propale ouverte)
|
||||
PropalStatusClosed=Ferm<72>
|
||||
ListOfProposals=Liste des devis/propositions commerciales
|
||||
ActionsOnPropal=Actions sur la proposition
|
||||
NoOpenedPropals=Pas de proposition ouverte
|
||||
|
||||
@@ -79,8 +79,10 @@ class Propal
|
||||
$langs->load("propals");
|
||||
$this->labelstatut[0]=$langs->trans("PropalStatusDraft");
|
||||
$this->labelstatut[1]=$langs->trans("PropalStatusValidated");
|
||||
$this->labelstatut[2]=$langs->trans("PropalStatusClosed");
|
||||
$this->labelstatut_short[0]=$langs->trans("PropalStatusDraft");
|
||||
$this->labelstatut_short[1]=$langs->trans("Opened");
|
||||
$this->labelstatut_short[2]=$langs->trans("PropalStatusClosed");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user