|
@@ -1207,11 +1207,7 @@ if ($action == 'edit_vat' && ($user->rights->produit->creer || $user->rights->se
|
|
|
|
|
|
print dol_get_fiche_end();
|
|
|
|
|
|
- print '<div class="center">';
|
|
|
- print '<input type="submit" class="button button-save" value="'.$langs->trans("Save").'">';
|
|
|
- print ' ';
|
|
|
- print '<input type="submit" class="button button-cancel" name="cancel" value="'.$langs->trans("Cancel").'">';
|
|
|
- print '</div>';
|
|
|
+ print $form->buttonsSaveCancel();
|
|
|
|
|
|
print '<br></form><br>';
|
|
|
}
|
|
@@ -1321,13 +1317,9 @@ if ($action == 'edit_price' && $object->getRights()->creer) {
|
|
|
|
|
|
print dol_get_fiche_end();
|
|
|
|
|
|
- print '<div class="center">';
|
|
|
- print '<input type="submit" class="button button-save" value="'.$langs->trans("Save").'">';
|
|
|
- print ' ';
|
|
|
- print '<input type="submit" class="button button-cancel" name="cancel" value="'.$langs->trans("Cancel").'">';
|
|
|
- print '</div>';
|
|
|
+ print $form->buttonsSaveCancel();
|
|
|
|
|
|
- print '<br></form>';
|
|
|
+ print '</form>';
|
|
|
} else {
|
|
|
print '<!-- Edit price per level -->'."\n";
|
|
|
?>
|
|
@@ -1444,10 +1436,8 @@ if ($action == 'edit_price' && $object->getRights()->creer) {
|
|
|
|
|
|
//print dol_get_fiche_end();
|
|
|
|
|
|
- print '<div style="text-align: center">';
|
|
|
- print '<input type="submit" class="button button-save" value="'.$langs->trans("Save").'">';
|
|
|
- print ' ';
|
|
|
- print '<input type="submit" class="button button-cancel" name="cancel" value="'.$langs->trans("Cancel").'"></div>';
|
|
|
+ print $form->buttonsSaveCancel();
|
|
|
+
|
|
|
print '</form>';
|
|
|
}
|
|
|
}
|
|
@@ -1776,10 +1766,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
|
|
print '<label for="updatechildprice">'.$langs->trans('ForceUpdateChildPriceSoc').'</label>';
|
|
|
print '</div>';
|
|
|
|
|
|
- print '<input type="submit" class="button button-save" value="'.$langs->trans("Save").'">';
|
|
|
- print ' ';
|
|
|
- print '<input type="submit" class="button button-cancel" name="cancel" value="'.$langs->trans("Cancel").'">';
|
|
|
- print '</div>';
|
|
|
+ print $form->buttonsSaveCancel();
|
|
|
|
|
|
print '</form>';
|
|
|
} elseif ($action == 'edit_customer_price') {
|
|
@@ -1861,10 +1848,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
|
|
|
print '<label for="updatechildprice">'.$langs->trans('ForceUpdateChildPriceSoc').'</label>';
|
|
|
print "</div>";
|
|
|
|
|
|
- print '<input type="submit" class="button button-save" value="'.$langs->trans("Save").'">';
|
|
|
- print ' ';
|
|
|
- print '<input type="submit" class="button button-cancel" name="cancel" value="'.$langs->trans("Cancel").'">';
|
|
|
- print '</div>';
|
|
|
+ print $form->buttonsSaveCancel();
|
|
|
|
|
|
print '<br></form>';
|
|
|
} elseif ($action == 'showlog_customer_price') {
|