noalyss Version-9
ledger_search.php
Go to the documentation of this file.
1<?php
2//This file is part of NOALYSS and is under GPL
3//see licence.txt
4
5?>
6<table id="<?=$this->div?>table_search">
7
8<tr>
9<td style="text-align:right;width:30em">
10<?php echo _('Dans le journal')?>
11</td>
12<td>
13 <?php echo $f_ledger; ?>
14 <span id="ledger_id<?php echo $this->div;?>">
15 <?php
16 echo $hid_jrn;
17 ?>
18 </span>
19</td>
20</tr>
21
22<tr>
23<td style="text-align:right;width:30em">
24<?php echo _('Et Compris entre les date')?>
25</td>
26<td>
27<?php echo $f_date_start->input(); ?> <?php echo _('et')?> <?php echo $f_date_end->input(); ?>
28
29</td>
30</tr>
31<tr>
32<td style="text-align:right;width:30em">
33<?php echo _('Et paiement compris entre les date ').Icon_Action::infobulle(36); ?>
34</td>
35<td>
36<?php echo $f_date_paid_start->input(); ?> <?php echo _('et')?> <?php echo $f_date_paid_end->input(); ?>
37<?php echo $date_start_hidden,$date_end_hidden;?>
38</td>
39</tr>
40
41<tr>
42<td style="text-align:right;width:30em">
43<?php echo _('Et contenant dans le libellé, pièce justificative ou n° interne')?>
44</td>
45
46<td>
47<?php echo $f_descript->input(); ?>
48</td>
49</tr>
50<tr>
51<td style="text-align:right;width:30em">
52<?php echo _('Et compris entre les montants')?>
53</td>
54<td >
55 <?php echo Icon_Action::clean_zone(uniqid(),sprintf("$('%s').value=0",$f_amount_min->id));
56 echo $f_amount_min->input(); ?>
57 <?php echo _('et')?> <?php
58 echo HtmlInput::button_action("=",sprintf("$('%s').value=%s.value",$f_amount_max->id,$f_amount_min->id) ,uniqid(), "smallbutton");
59 echo $f_amount_max->input(); ; ?>
60</td>
61</tr>
62<tr>
63<td style="text-align:right;width:30em">
64 <?php echo _('Et utilisant la fiche (quick code)')?>
65</td>
66<td>
67 <?php echo $f_qcode->input(); echo $f_qcode->search(); ?>
68</td>
69</tr>
70<tr>
71<td style="text-align:right;width:30em">
72 <?php echo _('Et utilisant le poste comptable').$info?>
73</td>
74
75<td>
76<?php
77 echo Icon_Action::clean_zone(uniqid(),sprintf("$('%s').value=''",$f_accounting->id));
78echo $f_accounting->input(); ?>
79</td>
80</tr>
81 <?php
82 // if TVA
83 if ( $g_parameter->MY_TVA_USE=="Y"):
84 ?>
85<tr>
86 <td style="text-align:right;width:30em">
87 <?=_("Code TVA")?>
88 </td>
89 <td>
90 <?=$tva_id_search->input()?>
91 </td>
92</tr>
93 <?php endif;?>
94<tr>
95<td style="text-align:right;width:30em">
96 <?php echo _('Etat')?>
97</td>
98
99<td>
100<?php echo $f_paid->input(); ?>
101</td>
102</tr>
103
104<tr>
105<td style="text-align:right;width:30em">
106 <?php echo _('Devise')?>
107</td>
108
109<td>
110<?php echo $sCurrency->input(); ?>
111</td>
112</tr>
113
114<tr>
115
116<td style="text-align:right;width:30em">
117
118 <?php
119 $iselect= new ISelect($this->div."tag_option");
120 $iselect->value=array(
121 array("value"=>0,"label"=>_("Toutes les étiquettes")),
122 array("value"=>1,"label"=>_("Au moins une étiquette"))
123 );
124
125 $iselect->set_value($http->request($this->div."tag_option","number",0));
126 echo $iselect->input();
127
128 ?>
129 <?php
130 echo Tag_Operation::select_tag_search($this->div);
131 ?>
132</td>
133 <td >
134 <span id="<?=$this->div?>tag_choose_td">
135 <?php
136 $aTag= $http->request($this->div."tag","string",0);
137 if (is_array($aTag) ) {
138 $nb_tag=count($aTag);
139 for ($j=0;$j< $nb_tag;$j++) {
140 $tag_operation=new Tag_Operation($this->cn,$aTag[$j]);
141 $tag_operation->update_search_cell($this->div);
142 }
143 }
144 ?>
145
146 </span>
147 </td>
148</tr>
149
150</table>
span($p_string, $p_extra='')
Definition: ac_common.php:43
tr($p_string, $p_extra='')
Definition: ac_common.php:88
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
global $g_parameter
$opd_description style
$input_from cn
Definition: balance.inc.php:66
static button_action($action, $javascript, $id=NULL, $p_class="button", $p_symbole="")
button Html with javascript
Html Input , create a tag <SELECT> ... </SELECT> if readonly == true then display the label correspon...
static clean_zone($id, $p_javascript, $p_style="")
concerns the tags linked to an accountancy writing
static select_tag_search($p_prefix)
Show a button to select tag for Search.
$all table
$tag_operation
if($g_parameter->MY_TVA_USE=="Y")("Code TVA")?></td >< td ><? endif
$iselect
$date_end_hidden