We must use the dol_fiche_head and dol_fiche_end also for "create"
forms.
This commit is contained in:
parent
2b071a6091
commit
fb868bc8f9
@ -958,6 +958,8 @@ if ($action == 'create')
|
|||||||
print '<input type="hidden" name="socid" value="'.$soc->id.'">'."\n";
|
print '<input type="hidden" name="socid" value="'.$soc->id.'">'."\n";
|
||||||
print '<input type="hidden" name="remise_percent" value="0">';
|
print '<input type="hidden" name="remise_percent" value="0">';
|
||||||
|
|
||||||
|
dol_fiche_head();
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
// Ref
|
// Ref
|
||||||
@ -1053,7 +1055,9 @@ if ($action == 'create')
|
|||||||
|
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
||||||
print '<br><div align="center"><input type="submit" class="button" value="'.$langs->trans("Create").'"></div>';
|
dol_fiche_end();
|
||||||
|
|
||||||
|
print '<div align="center"><input type="submit" class="button" value="'.$langs->trans("Create").'"></div>';
|
||||||
|
|
||||||
if (is_object($objectsrc))
|
if (is_object($objectsrc))
|
||||||
{
|
{
|
||||||
@ -1067,8 +1071,6 @@ if ($action == 'create')
|
|||||||
}
|
}
|
||||||
|
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
|
|
||||||
dol_fiche_end();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
/* *************************************************************************** */
|
/* *************************************************************************** */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user