alert(_("Changement impossible: on ne peut pas changer la date dans une période fermée")); } $html = ob_get_contents(); ob_end_clean(); break; //////////////////////////////////////////////////////////////////////////// // remove a reconciliation //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// // remove a reconciliation //////////////////////////////////////////////////////////////////////////// case 'rmr': if ($access == 'W') { $rec = new Acc_Reconciliation($cn); $rec->set_jr_id($jr_id); $rec->remove($_GET['jr_id2']); } break; //////////////////////////////////////////////////////////////////////////// // ask for a date for reversing the operation //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// // ask for a date for reversing the operation //////////////////////////////////////////////////////////////////////////// case 'ask_extdate': $date = new IDate('p_date'); $html .= "<form id=\"form_" . $div . "\" onsubmit=\"return reverseOperation(this);\">"; $html .= HtmlInput::hidden('jr_id', $_REQUEST['jr_id']) . HtmlInput::hidden('div', $div) . dossier::hidden() . HtmlInput::hidden('act', 'reverseop'); $html .= '<h2 class="info">' . _('entrez une date') . ' </H2>' . $date->input(); $html .= HtmlInput::submit('x', 'accepter'); $html .= HtmlInput::button_close($div);