noalyss Version-9
operation_ods_confirm.inc.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of NOALYSS.
5 *
6 * NOALYSS is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * NOALYSS is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with NOALYSS; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21// Copyright Author Dany De Bontridder danydb@aevalys.eu
22
23/**\file
24 *
25 *
26 * \brief confirm ODS operation
27 *
28 */
29if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
30echo '<div class="content">';
31echo h2(_("Confirmation"),'class="info"');
32echo '<div id="jrn_name_div">';
33echo '<h1 id="jrn_name" style="display:inline">' . $ledger->get_name() . '</h1>';
34echo '</div>';
35
36echo '<div id="warning_ven_id" class="notice" style="width: 50%; margin-left: 0px; float: right;">';
37echo h2(_("Attention, cette opération n'est pas encore sauvée : vous devez encore confirmer"),' class="notice"');
38echo '</div>';
39
40echo '<FORM METHOD="POST" enctype="multipart/form-data" class="print">';
41echo HtmlInput::request_to_hidden(array('ac','p_currency_code','p_currency_rate'));
42echo $ledger->confirm($_POST,false);
43echo $ledger->input_extra_info();
44echo HtmlInput::submit("save",_("Confirmer"));
45echo HtmlInput::submit("correct",_("Corriger"));
46
47?>
48</FORM>
h2($p_string, $p_class="", $raw="")
Definition: ac_common.php:68
static request_to_hidden(array $array)
transform $_REQUEST data to hidden
static submit($p_name, $p_value, $p_javascript="", $p_class="smallbutton")
$_POST['ac']
Definition: do.php:310