noalyss Version-9
param_pcmn.inc.php
Go to the documentation of this file.
1<?php
2/*
3 * This file is part of NOALYSS.
4 *
5 * NOALYSS is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * NOALYSS is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with NOALYSS; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18*/
19// Copyright Author Dany De Bontridder danydb@aevalys.eu
20/*! \file
21 * \brief concerns the management of the "Plan Comptable"
22 */
23if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
24require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
25require_once NOALYSS_INCLUDE.'/constant.php';
26require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
29
30
31/* Admin. Dossier */
33
34
35require_once NOALYSS_INCLUDE.'/lib/user_menu.php';
36echo '<div id="acc_update" class="inner_box" style="display:none;position:absolute;text-align:left;width:auto;z-index:1"></div>';
37
38/* Store the p_start parameter */
39
40$g_start=$http->get('p_start',"number",1);
41?>
42<a id="top"></a>
43
44<div class="content">
45<?php
47?>
48</div>
49
50<DIV CLASS="myfieldset" style="width:auto">
51<?php
52/**
53 * @file
54 * @brief Test the Acc_Plan_MTable
55 */
57/**
58 * Test $obj
59 */
60
62$mtable->add_json_param("op", "accounting");
63$obj->set_limit_fiche_qcode(5);
64$mtable->set_callback("ajax_misc.php");
65$mtable->create_js_script();
66
67echo $mtable->display_table(" where pcm_val::text like '{$g_start}%' order by pcm_val::text ");
68/* it will override the classic onscroll (see noalyss_script.js)
69 * @see noalyss_script.js
70*/
71
72 ?>
73 <div id="go_up" class="" style="padding:0px;left:auto;width:250px;height: 100px;display:none;position:fixed;bottom:30%;right:20px">
74 <div style="margin:3%;padding:3%">
75 <a class="icon" href="#up_top" >&#xe81a;</a><a href="javascript:show_calc()" class="icon">&#xf1ec;</a>
76 <input type="button" class="smallbutton" id="pcmn_update_add_bt3" value="<?php echo _('Ajout poste comptable'); ?>">
77 </div>
78 </div>
79 </div>
80 <script>
81 window.onscroll=function () {
82 if ( document.viewport.getScrollOffsets().top> 0) {
83 if ($('go_up').visible() == false) {
84 $('go_up').setOpacity(0.8);
85 $('go_up').show();
86 }
87 } else {
88 $('go_up').hide();
89 }
90 }
91 $('pcmn_update_add_bt3').onclick=function() {
92 <?php printf("%s.input(-1,'%s')",$mtable->get_object_name(),$mtable->get_object_name());?>
93 }
94</script>
95<?php
97?>
html_page_stop()
end tag
Definition: ac_common.php:468
$opd_description style
$input_from id
Definition: balance.inc.php:63
$input_from type
Definition: balance.inc.php:65
this instance extends Manage_Table_SQL and aims to manage the Table tmp_pcmn thanks a web interface (...
this class is above tmp_pcmn_sql and is a view of tmp_pcmn
static connect()
manage the http input (get , post, request) and extract from an array
$g_start
$gDossier
$mtable
Test $obj.
menu_acc_plan($p_start=1)
Show the menu from the pcmn page.
Definition: user_menu.php:120