Plugins  LAST
 All Data Structures Files Functions Variables Pages
material_add.php
Go to the documentation of this file.
1 <?php
2 /*
3  * Copyright 2010 De Bontridder Dany <dany@alchimerys.be>
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 ?>
21 <h2 class="title">Ajout de matériel</h2>
22 <form method="POST" id="amrt_add_material" onsubmit="confirm_new_material('amrt_add_material');return false;">
23 <span style="text-align:center;display:block;font-size:2em" id="p_card_label" >Nouveau matériel</span>
24 <table>
25 <tr>
26  <td>Fiche</td>
27  <td><?php echo $p_card->input()?><?php echo $p_card->search()?></td>
28 </tr>
29 <tr>
30  <td>Date d'acquisition</td>
31  <td><?php $p_date->id="amrt_date" ;echo $p_date->input()?></td>
32 </tr>
33 
34 <tr>
35  <td>Montant à amortir</td>
36  <td><?php echo $p_amount->input()?></td>
37 </tr>
38 
39 <tr>
40  <td>Année comptable d'achat</td>
41  <td> <?php echo $p_year->input();?></td>
42 </tr>
43 <tr>
44  <td>
45  Poste comptable ou fiche
46  </td>
47  <td>
48  <?php echo $select_type->input(); ?>
49  </td>
50 </tr>
51 <tr id="deb_use_account_tr_id">
52  <td>Poste de charge dotations amortissement (débit)</td>
53  <td><?php echo $p_deb->input()?></td>
54  <td><?php echo $deb_span->input()?></td>
55 </tr>
56 <tr id="cred_use_account_tr_id">
57  <td>Poste amortissement en contrepartie</td>
58  <td><?php echo $p_cred->input();?></td>
59  <td><?php echo $cred_span->input();?></td>
60 </tr>
61 <tr id="deb_use_card_tr_id">
62  <td>Fiche de charge pour amortissement (déb) </td>
63  <td><?php echo $p_card_deb->input()?><?php echo $p_card_deb->search()?></td>
64 </tr>
65 <tr id="cred_use_card_tr_id">
66  <td>Fiche amortissement en contrepartie</td>
67  <td><?php echo $p_card_cred->input();?><?php echo $p_card_cred->search()?></td>
68 </tr>
69 <tr>
70  <td>Nombre d'années amortissement</td>
71  <td><?php echo $p_number->input()?></td>
72 </tr>
73 <tr>
74  <td></td>
75  <td></td>
76 </tr>
77 <tr>
78  <td></td>
79  <td></td>
80 </tr>
81 <tr>
82  <td></td>
83  <td></td>
84 </tr>
85 </table>
86 <p style="text-align: center">
87 <?php
88  echo HtmlInput::button('close',_('Annuler'),"onclick=\"removeDiv('$t')\"");
89  echo HtmlInput::submit('sauver',_('Sauver'));
90  echo HtmlInput::extension();
91  echo dossier::hidden();
92  echo HtmlInput::hidden('p_new',1);
93 
94 ?>
95 </p>
96 </form>
97 
$note style
$select_type
$p_card_deb
$cred_span
$categorie_appel table
$p_card_cred