Modification présentation html
This commit is contained in:
parent
e42ce05682
commit
6b87eabb76
@ -335,6 +335,7 @@ else
|
|||||||
if ($_GET["action"] == 'delete')
|
if ($_GET["action"] == 'delete')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=$expedition->id","Supprimer l'expedition","Etes-vous sûr de vouloir supprimer cette expedition ?","confirm_delete");
|
$html->form_confirm("fiche.php?id=$expedition->id","Supprimer l'expedition","Etes-vous sûr de vouloir supprimer cette expedition ?","confirm_delete");
|
||||||
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -344,6 +345,7 @@ else
|
|||||||
if ($_GET["action"] == 'valid')
|
if ($_GET["action"] == 'valid')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=$expedition->id","Valider l'expédition","Etes-vous sûr de vouloir valider cette expédition ?","confirm_valid");
|
$html->form_confirm("fiche.php?id=$expedition->id","Valider l'expédition","Etes-vous sûr de vouloir valider cette expédition ?","confirm_valid");
|
||||||
|
print '<br>';
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Confirmation de l'annulation
|
* Confirmation de l'annulation
|
||||||
@ -352,6 +354,7 @@ else
|
|||||||
if ($_GET["action"] == 'annuler')
|
if ($_GET["action"] == 'annuler')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=$expedition->id",$langs->trans("Cancel"),"Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel");
|
$html->form_confirm("fiche.php?id=$expedition->id",$langs->trans("Cancel"),"Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel");
|
||||||
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -476,13 +479,14 @@ else
|
|||||||
print '<a class="butAction" href="fiche.php?id='.$expedition->id.'&action=valid">'.$langs->trans("Validate").'</a>';
|
print '<a class="butAction" href="fiche.php?id='.$expedition->id.'&action=valid">'.$langs->trans("Validate").'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '<a class="butAction" href="fiche.php?id='.$expedition->id.'&action=pdf">'.$langs->trans('BuildPDF').'</a>';
|
||||||
|
|
||||||
if ($expedition->brouillon && $user->rights->expedition->supprimer)
|
if ($expedition->brouillon && $user->rights->expedition->supprimer)
|
||||||
{
|
{
|
||||||
print '<a class="butActionDelete" href="fiche.php?id='.$expedition->id.'&action=delete">'.$langs->trans("Delete").'</a>';
|
print '<a class="butActionDelete" href="fiche.php?id='.$expedition->id.'&action=delete">'.$langs->trans("Delete").'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
print "</div>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -542,11 +546,7 @@ else
|
|||||||
}
|
}
|
||||||
$db->free($resql);
|
$db->free($resql);
|
||||||
}
|
}
|
||||||
//Barre d'action
|
|
||||||
print '<div class="tabsAction">';
|
|
||||||
//Build PDF
|
|
||||||
print '<a class="butAction" href="fiche.php?id='.$expedition->id.'&action=pdf">'.$langs->trans('BuildPDF').'</a>';
|
|
||||||
print '</div><br>';
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Documents générés
|
* Documents générés
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user