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