noalyss  Version-9
list_mod_payment.php
Go to the documentation of this file.
1 <?php
2 
3 /*
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 /* $Revision$ */
21 
22 // Copyright Author Dany De Bontridder danydb@aevalys.eu
23 
24 /**
25  * @file
26  * @brief list payment method
27  *
28  */
29 
30 ?>
31  <table class="table_large" >
32  <tr >
33  <th>
34  <?php echo $header->get_header(0)?>
35  </th>
36  <th style="text-align:center">
37  <?php echo $header->get_header(1)?>
38  </th>
39  <th style="text-align:center">
40  <?php echo $header->get_header(2)?>
41  </th>
42  <th style="text-align:center">
43  <?php echo $header->get_header(3)?>
44  </th>
45  <th style="text-align:center">
46  <?php echo $header->get_header(4)?>
47  </th>
48  <th>
49 
50  </th>
51  </tr>
52 <?php for ($i=0;$i<count($array);$i++):
53  if ($i%2==0):
54  $class='class="odd" ';
55  else:
56  $class='class="even"';
58 ?>
59  <tr <?php echo $class?>>
60  <td>
61  <?php echo h($array[$i]['mp_lib'])?>
62  </td>
63  <td style="text-align:center">
64  <?php echo h($array[$i]['jrn_def_name'])?>
65 
66  </td>
67  <td style="text-align:center">
68  <?php echo h($array[$i]['fd_label'])?>
69 
70  </td>
71  <td style="text-align:center">
72  <?php echo h($array[$i]['jrn_target'])?>
73  </td>
74  <td style="text-align:center">
75  <?php echo h($array[$i]['vw_name'])?>
76  </td>
77 
78 <?php
79 echo $td.HtmlInput::button_anchor(_('Modifie'),'?ac='.$_REQUEST['ac'].'&sa=mp&sb=change&'.dossier::get().
80  '&id='.$array[$i]['mp_id'],"","","smallbutton");
81 ?>
82 
83  </tr>
84 <?php endfor;?>
85 
86 </table>
$class
$class
Definition: cfgplugin.inc.php:128
h
h( $row[ 'oa_description'])
Definition: ajax_anc_detail_operation.php:46
style
$opd_description style
Definition: ajax_mod_predf_op.php:52
tr
tr($p_string, $p_extra='')
Definition: ac_common.php:88
$header
if(count($a_poste)==0) $header
Definition: export_gl_pdf.php:82
endfor
endfor
Definition: list_mod_payment.php:80
$array
$array
Definition: ajax_add_concerned_card.php:115
$i
$i
Definition: action_document_type_mtable_input.php:83
endif
endif
Definition: list_mod_payment.php:57
$_REQUEST
$_REQUEST['ac']
Definition: ajax_search_action.php:26
table
$all table
Definition: company.inc.php:138
th
th($p_string, $p_extra='', $raw='')
Definition: ac_common.php:58
td
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83