noalyss Version-9
form_ledger_fin.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?><fieldset>
5 <div id="jrn_name_div">
6 <h1 id="jrn_name"> <?php echo $this->get_name()?></h1>
7</div>
8<legend><?php echo $f_legend ?> </legend>
9<?php
10 $wchdate=new ISelect('chdate');
11 $wchdate->value=array(
12 array('value'=>1,'label'=>_("Avec date d'extrait")),
13 array('value'=>2,'label'=>_("Avec date opérations"))
14 );
15 $wchdate->selected=(isset($chdate))?$chdate:1;
16 $wchdate->javascript='onchange="show_fin_chdate(\'chdate\');"';
17?>
18<table>
19 <tr>
20 <td>
21 <?php echo $label_ledger; ?>
22 </td>
23 <td>
24 <?php echo $wLedger->input()?>
25 </td>
26 </tr>
27 <tr>
28 <td>
29 <?php echo _('Banque')?>
30 </td>
31 <td>
32 <?php echo $f_bank ?>
33 </td>
34 </tr>
35 <tr>
36 <td>
37 <?php echo _("Style de date"); ?>
38
39 </td>
40 <td>
41 <?php echo $wchdate->input();?>
42
43 </td>
44 </tr>
45 <tr id="chdate_ext">
46 <td>
47 <?php echo _('Date'); ?>
48
49 </td>
50 <td>
51 <?php echo $f_date ?>
52 </td>
53 </tr>
54 <tr>
55 <td>
56 <?php echo _("Devise")?>
57 </td>
58 <td id="ledger_currency">
59 <?php echo $this->get_currency()->get_code();?>
60 </td>
61 </tr>
62</table>
63
64</p>
65<?php if ( $f_period <> "") :?>
66<p>
67
68<?php echo $f_period?><br>
69</p>
70<?php endif;?>
71
72</fieldset>
73
74<fieldset>
75<legend><?php echo $f_legend_detail?></legend>
76 <fieldset><legend><?php echo _('Extrait de compte')?></legend>
77 <?php echo _('Numéro extrait')?> <?php echo $f_extrait?>
78 <?php echo _('Solde début') ?> <?php echo $wFirst->input();?>
79<?php echo _('Solde Fin')?> <?php echo $wLast->input();?>
80</fieldset>
81 <fieldset><legend><?php echo _('Opérations')?></legend>
82<table id="fin_item" width="100%" border="0">
83<tr>
84<th id="thdate" style="display:none;text-align: left"><?php echo _('Date')?><?php echo Icon_Action::infobulle(16)?></TH>
85<th style="text-align: left;width: auto">code<?Icon_Action::infobulle(0)?></TH>
86 <th style="text-align: left"><?php echo _('Fiche')?></TH>
87 <th style="text-align: left" class="visible_gt800 visible_gt1155"><?php echo _('Commentaire')?></TH>
88 <th style="text-align: left"><?php echo _('Montant')?></TH>
89 <th style="text-align: left;width:auto"colspan="2"> <?php echo _('Op. Concernée(s)')?></th>
90</tr>
91
92<?php
93$i=0;
94foreach ($array as $item) {
95
96echo '<tr>';
97// echo td($item['dateop']);
98echo td($item['dateop'],' style="display:none" id="tdchdate'.$i.'"');
99echo td($item['qcode'].$item['search'].$item['card_add']);
100echo td($item['cname']);
101echo td($item['comment'],' class="visible_gt800 visible_gt1155" ');
102echo td($item['amount']);
103echo td($item['concerned']);
104echo '</tr>';
105$i++;
106
107}
108?>
109<tr>
110 <td>
111
112 </td>
113 <td>
114
115 </td>
116 <td>
117
118 </td>
119</tr>
120<tr>
121 <td>
122
123 </td>
124 <td>
125
126 </td>
127 <td>
128
129 </td>
130</tr>
131</table>
132</fieldset>
133</fieldset>
134<script>
135 show_fin_chdate('chdate');
136</script>
137
th($p_string, $p_extra='', $raw='')
Definition: ac_common.php:58
h1($p_string, $p_class="")
Definition: ac_common.php:72
tr($p_string, $p_extra='')
Definition: ac_common.php:88
p($p_string)
Definition: ac_common.php:39
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
$opd_description style
Html Input , create a tag <SELECT> ... </SELECT> if readonly == true then display the label correspon...
static infobulle($p_comment)
Display a info in a bubble, text is in message_javascript.
$all table
$desc width