line deleted when updated after rapproched
Fix an issue that deletes line when we update data after its rappro.
This commit is contained in:
parent
b4e1bac32d
commit
ec00c6fef2
@ -607,7 +607,11 @@ if ($result) {
|
|||||||
print dol_get_fiche_end();
|
print dol_get_fiche_end();
|
||||||
|
|
||||||
|
|
||||||
print '<div class="center"><input type="submit" class="button" value="'.$langs->trans("Update").'"></div><br>';
|
if (!$objp->rappro) {
|
||||||
|
print '<div class="center"><input type="submit" class="button" value="'.$langs->trans("Update").'"></div><br>';
|
||||||
|
}else{
|
||||||
|
print '<div class="center"><input type="submit" class="button" value="'.$langs->trans("Update").'" disabled></div><br>';
|
||||||
|
}
|
||||||
|
|
||||||
print "</form>";
|
print "</form>";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user