Plugins  LAST
 All Data Structures Files Functions Variables Pages
param_detail_new.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 /* $Revision$ */
21 
22 // Copyright (c) 2002 Author Dany De Bontridder dany@alchimerys.be
23 
24 /**
25  * @file
26  * @brief add parameter for declaration
27  *
28  */
29 
30 ?>
31 <ul class="tabs" >
32  <li class="tabs" id="new_formula_id_bt" >
33  <a class="mtitle" href="javascript:void(0)" onclick="show_rapport_formula('new_formula_id')">
34  Formule
35  </a>
36  </li>
37  <li class="tabs" id="new_compute_id_bt" >
38  <a class="mtitle" href="javascript:void(0)"
39  onclick="show_rapport_formula('new_compute_id')">
40  Compute
41  </a>
42  </li>
43  <li class="tabs" id="new_account_tva_id_bt">
44  <a class="mtitle" href="javascript:void(0)" onclick="show_rapport_formula('new_account_tva_id')">
45  Poste comptable et code TVA
46  </a>
47  </li>
48  <li class="tabs" id="new_account_id_bt">
49  <a class="mtitle" href="javascript:void(0)" onclick="show_rapport_formula('new_account_id')">
50  Poste comptable
51  </a>
52  </li>
53  <li class="tabs" id="new_reconcile_id_bt">
54  <a class="mtitle" href="javascript:void(0)" onclick="show_rapport_formula('new_reconcile_id')">
55  Opérations rapprochées
56  </a>
57  </li>
58 </ul>
59 <div style="width:100%;height:290px;margin:1px">
60  <span class="error" id="param_detail_info_div"></span>
61 
62  <div style="padding: 10px">
63 <div id="new_formula_id" style="display: block">
64  <p>
65  Entrez une formule avec des postes comptables, la syntaxe est la même que celle des "rapports"
66  </p>
67  <p>
68  Exemple : [70%]*0.25+[71%]
69  </p>
70 
71 <form id="new_padef" method="POST" onsubmit="save_param_detail('new_padef');return false">
72  <?php echo HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
73  <p>
74  <?php echo HtmlInput::hidden('tab','formula')?>
75  <?php echo RAPAV_Formula::new_row()?>
76  </p>
77 
78 <?php echo HtmlInput::submit('save','Sauve','style=" position: absolute;
79  bottom: 10px"')?>
80 </form>
81 </div>
82 <div id="new_account_tva_id" style="display: none">
83  <p>
84  Entrez un poste comptable et un code de TVA
85  </p>
86 <form id="new_padea" method="POST" onsubmit="save_param_detail('new_padea');return false">
87  <?php echo HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
88 
89  <?php echo HtmlInput::hidden('tab','account_tva')?>
90  <?php echo RAPAV_Account_Tva::new_row()?>
91 
92 <?php echo HtmlInput::submit('save','Sauve','style=" position: absolute;
93  bottom: 10px"')?>
94 
95 </form>
96 </div>
97 <div id="new_compute_id" style="display: none">
98  <p>
99  Entrez une formule avec des codes utilisés dans ce formulaire
100  </p>
101 <form id="new_padec" method="POST" onsubmit="save_param_detail('new_padec');return false">
102  <?php echo HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
103 
104  <?php echo HtmlInput::hidden('tab','compute_id')?>
105  <?php echo RAPAV_Compute::new_row($p_id)?>
106  <p >
107 <?php echo HtmlInput::submit('save','Sauve','style=" position: absolute;
108  bottom: 10px"')?> </p>
109 
110 </form>
111 </div>
112  <div id="new_account_id" style="display: none">
113 <form id="new_paded" method="POST" onsubmit="save_param_detail('new_paded');return false">
114 
115  <?php echo HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
116 
117  <?php echo HtmlInput::hidden('tab','new_account_id')?>
118  <?php echo RAPAV_Account::new_row($p_id)?>
119  Une ligne par poste comptable qui dépend du poste donné en (1)
120 <?php echo HtmlInput::submit('save','Sauve','style=" left:16px;position: absolute;
121  bottom: 10px"')?>
122 </form>
123 </div>
124  <div id="new_reconcile_id" style="display: none">
125 <form id="new_padee" method="POST" onsubmit="save_param_detail('new_padee');return false">
126 
127  <?php echo HtmlInput::request_to_hidden(array('gDossier','ac','plugin_code','p_id'))?>
128 
129  <?php echo HtmlInput::hidden('tab','new_reconcile_id')?>
130  <?php echo RAPAV_Reconcile::new_row($p_id)?>
131 
132 <?php echo HtmlInput::submit('save','Sauve','style=" position: absolute;
133  bottom: 10px"')?>
134 </form>
135 </div>
136 </div>
137 </div>
$note style