noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
form_ledger_fin.php
Go to the documentation of this file.
00001 <?php
00002 //This file is part of NOALYSS and is under GPL 
00003 //see licence.txt
00004 ?><fieldset>
00005         <div id="jrn_name_div">
00006         <h2  id="jrn_name"> <?php echo $this->get_name()?></h2>
00007 </div>
00008 <legend><?php echo $f_legend ?> </legend>
00009 <?php 
00010         $wchdate=new ISelect('chdate');
00011         $wchdate->value=array(
00012                         array('value'=>1,'label'=>_("Avec date d'extrait")),
00013                         array('value'=>2,'label'=>_("Avec date opérations"))
00014         );
00015         $wchdate->selected=(isset($chdate))?$chdate:1;
00016         $wchdate->javascript='onchange="show_fin_chdate(\'chdate\')"';
00017 ?>
00018 <?php echo $wchdate->input();?>
00019 <span id="chdate_ext">
00020    <?php echo _('Date').' '.$f_date ?>
00021 </span>
00022 
00023 <?php echo $f_period?><br>
00024 <?php echo $f_jrn?><br>
00025 <?php echo _('Banque')?><?php echo $f_bank ?>
00026 
00027 </fieldset>
00028 
00029 <fieldset>
00030 <legend><?php echo $f_legend_detail?></legend>
00031    <fieldset><legend><?php echo _('Extrait de compte')?></legend>
00032    <?php echo _('Numéro extrait')?> <?php echo $f_extrait?>
00033    <?php echo _('Solde début') ?> <?php echo $wFirst->input();?>
00034 <?php echo _('Solde Fin')?> <?php echo $wLast->input();?>
00035 </fieldset>
00036 <?php echo $str_add_button?>
00037    <fieldset><legend><?php echo _('Opérations')?></legend>
00038 <table id="fin_item" width="100%" border="0">
00039 <tr>
00040 <th id="thdate" style="display:none;text-align: left"><?php echo _('Date')?><?php echo HtmlInput::infobulle(16)?></TH>
00041 <th style="text-align: left;width: auto">code<?HtmlInput::infobulle(0)?></TH>
00042    <th style="text-align: left"><?php echo _('Fiche')?></TH>
00043    <th style="text-align: left"><?php echo _('Commentaire')?></TH>
00044    <th style="text-align: left"><?php echo _('Montant')?></TH>
00045    <th style="text-align: left;width:auto"colspan="2"> <?php echo _('Op. Concernée(s)')?></th>
00046 </tr>
00047 
00048 <?php 
00049 $i=0;
00050 foreach ($array as $item) {
00051 
00052 echo '<tr>';
00053 // echo td($item['dateop']);
00054 echo td($item['dateop'],' style="display:none" id="tdchdate'.$i.'"');
00055 echo td($item['qcode'].$item['search']);
00056 echo td($item['cname']);
00057 echo td($item['comment']);
00058 echo td($item['amount']);
00059 echo td($item['concerned']);
00060 echo '</tr>';
00061 $i++;
00062 
00063 }
00064 ?>
00065 </table>
00066 </fieldset>
00067 </fieldset>
00068 <script>
00069         show_fin_chdate('chdate');
00070 </script>
00071 
 All Data Structures Namespaces Files Functions Variables Enumerations