Fix: add link to go close form
This commit is contained in:
parent
7bda345c7f
commit
0aa35985ce
@ -1731,6 +1731,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$form_close.= '<tr><td align="center" colspan="2">';
|
$form_close.= '<tr><td align="center" colspan="2">';
|
||||||
$form_close.= '<input type="submit" class="button" name="validate" value="'.$langs->trans('Validate').'">';
|
$form_close.= '<input type="submit" class="button" name="validate" value="'.$langs->trans('Validate').'">';
|
||||||
$form_close.= ' <input type="submit" class="button" name="cancel" value="'.$langs->trans('Cancel').'">';
|
$form_close.= ' <input type="submit" class="button" name="cancel" value="'.$langs->trans('Cancel').'">';
|
||||||
|
$form_close.= '<a name="close"> </a>';
|
||||||
$form_close.= '</td>';
|
$form_close.= '</td>';
|
||||||
$form_close.= '</tr></table></form>';
|
$form_close.= '</tr></table></form>';
|
||||||
|
|
||||||
@ -1774,7 +1775,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
// Close
|
// Close
|
||||||
if ($propal->statut == 1 && $user->rights->propale->cloturer)
|
if ($propal->statut == 1 && $user->rights->propale->cloturer)
|
||||||
{
|
{
|
||||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?propalid='.$propal->id.'&action=statut"';
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?propalid='.$propal->id.'&action=statut#close"';
|
||||||
print '>'.$langs->trans('Close').'</a>';
|
print '>'.$langs->trans('Close').'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user