Author: danydb
Date: 2011-11-23 20:50:38 +0100 (Wed, 23 Nov 2011)
New Revision: 4455

Added:
   phpcompta/trunk/include/template/list_mod_payment.php
Log:

add missing file


Added: phpcompta/trunk/include/template/list_mod_payment.php
===================================================================
--- phpcompta/trunk/include/template/list_mod_payment.php                       
        (rev 0)
+++ phpcompta/trunk/include/template/list_mod_payment.php       2011-11-23 
19:50:38 UTC (rev 4455)
@@ -0,0 +1,86 @@
+<?php
+
+/*
+ *   This file is part of PhpCompta.
+ *
+ *   PhpCompta is free software; you can redistribute it and/or modify
+ *   it under the terms of the GNU General Public License as published by
+ *   the Free Software Foundation; either version 2 of the License, or
+ *   (at your option) any later version.
+ *
+ *   PhpCompta is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with PhpCompta; if not, write to the Free Software
+ *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+/* $Revision$ */
+
+// Copyright Author Dany De Bontridder [email protected]
+
+/**
+ * @file
+ * @brief list payment method
+ *
+ */
+
+?>
+ <table class="table_large" >
+        <tr >
+                <th>
+                        <?=$header->get_header(0)?>
+                </th>
+                <th style="text-align:center">
+                        <?=$header->get_header(1)?>
+                </th>
+                <th style="text-align:center">
+                        <?=$header->get_header(2)?>
+                </th>
+                <th style="text-align:center">
+                        <?=$header->get_header(3)?>
+                </th>
+                <th style="text-align:center">
+                        <?=$header->get_header(4)?>
+                </th>
+                <th>
+
+                </th>
+        </tr>
+<? for ($i=0;$i<count($array);$i++):
+       if ($i%2==0):
+               $class='class="odd" ';
+       else:
+               $class='class="even"';
+       endif;
+?>
+        <tr <?=$class?>>
+                <td>
+                        <?=h($array[$i]['mp_lib'])?>
+                </td>
+                <td style="text-align:center">
+                        <?=h($array[$i]['jrn_def_name'])?>
+
+                </td>
+                <td style="text-align:center">
+                        <?=h($array[$i]['fd_label'])?>
+
+                </td>
+                <td style="text-align:center">
+                        <?=h($array[$i]['jrn_target'])?>
+                </td>
+                <td style="text-align:center">
+                        <?=h($array[$i]['vw_name'])?>
+                </td>
+
+<?
+echo 
$td.HtmlInput::button_anchor(_('Modifie'),'?ac='.$_REQUEST['ac'].'&sa=mp&sb=change&'.dossier::get().
+                                              '&id='.$array[$i]['mp_id']);
+?>
+
+        </tr>
+<? endfor;?>
+
+</table>
\ No newline at end of file


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to