noalyss  Version-6.7.2
 All Data Structures Namespaces Files Functions Variables Enumerations
operation_detail_fin.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  *   This file is part of NOALYSS.
00005  *
00006  *   NOALYSS is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License as published by
00008  *   the Free Software Foundation; either version 2 of the License, or
00009  *   (at your option) any later version.
00010  *
00011  *   NOALYSS is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *   GNU General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU General Public License
00017  *   along with NOALYSS; if not, write to the Free Software
00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 /* $Revision$ */
00021 
00022 // Copyright Author Dany De Bontridder danydb@aevalys.eu
00023 
00024 /**
00025  * @file
00026  * @brief show detail of a operation of fin
00027  *
00028  */
00029 echo '<table class="result">';
00030 echo '<tr>';
00031 echo th(_('Compte en banque'));
00032 echo th(_('Tiers'));
00033 echo th(_('Libellé'));
00034 echo th(_('Montant'));
00035 echo '</tr>';
00036 
00037 echo '<tr>';
00038 $bk = new Fiche($cn, $obj->det->array[0]['qf_bank']);
00039 $view_card_detail = HtmlInput::card_detail($bk->get_quick_code(), h($bk->getName()), ' class="line" ');
00040 echo  td($view_card_detail);
00041 $other = new Fiche($cn, $obj->det->array[0]['qf_other']);
00042 $view_card_detail = HtmlInput::card_detail($other->get_quick_code(), h($other->getName()), ' class="line" ');
00043 echo  td($view_card_detail);
00044 $comment = strip_tags($obj->det->jr_comment);
00045 echo  td($comment);
00046 echo td(nbm($obj->det->array[0]['qf_amount']), ' class="inum"');
00047 echo '</tr>';
00048 echo '</table>';
00049 ?>
00050 
 All Data Structures Namespaces Files Functions Variables Enumerations