|
@@ -693,9 +693,11 @@ if ($action == 'export_file') {
|
|
|
|
|
|
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?'.$param, $langs->trans("ExportFilteredList").' ('.$listofformat[$formatexportset].')', $langs->trans('ConfirmExportFile'), 'export_fileconfirm', $form_question, '', 1, 300, 600);
|
|
|
}
|
|
|
+
|
|
|
if ($action == 'delmouv') {
|
|
|
- $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?mvt_num='.GETPOST('mvt_num').$param, $langs->trans('DeleteMvt'), $langs->trans('ConfirmDeleteMvtPartial'), 'delmouvconfirm', '', 0, 1);
|
|
|
+ $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?mvt_num='.urlencode(GETPOST('mvt_num')).$param, $langs->trans('DeleteMvt'), $langs->trans('ConfirmDeleteMvtPartial'), 'delmouvconfirm', '', 0, 1);
|
|
|
}
|
|
|
+
|
|
|
if ($action == 'delbookkeepingyear') {
|
|
|
$form_question = array();
|
|
|
$delyear = GETPOST('delyear', 'int');
|
|
@@ -716,6 +718,7 @@ if ($action == 'delbookkeepingyear') {
|
|
|
'type' => 'select',
|
|
|
'label' => $langs->trans('DelMonth'),
|
|
|
'values' => $month_array,
|
|
|
+ 'morecss' => 'minwidth150',
|
|
|
'default' => ''
|
|
|
);
|
|
|
$form_question['delyear'] = array(
|
|
@@ -733,7 +736,7 @@ if ($action == 'delbookkeepingyear') {
|
|
|
'default' => $deljournal
|
|
|
);
|
|
|
|
|
|
- $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?'.$param, $langs->trans('DeleteMvt'), $langs->trans('ConfirmDeleteMvt', $langs->transnoentitiesnoconv("RegistrationInAccounting")), 'delbookkeepingyearconfirm', $form_question, '', 1, 300);
|
|
|
+ $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?'.$param, $langs->trans('DeleteMvt'), $langs->trans('ConfirmDeleteMvt', $langs->transnoentitiesnoconv("RegistrationInAccounting")), 'delbookkeepingyearconfirm', $form_question, '', 1, 320);
|
|
|
}
|
|
|
|
|
|
// Print form confirm
|