/[phpcompta]/phpcompta/html/jrn_csv.php
ViewVC logotype

Diff of /phpcompta/html/jrn_csv.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by sparkyx, Mon Mar 7 19:50:22 2005 UTC revision 1.8 by sparkyx, Tue Mar 15 18:46:47 2005 UTC
# Line 38  if ( $User->CheckAction($cn,IMP) == 0 || Line 38  if ( $User->CheckAction($cn,IMP) == 0 ||
38    }    }
39    
40    
41   $p_cent=( isset ( $_POST['central']) )?'on':'off';   $p_cent=( isset ( $_POST['central']) )?$_POST['central']:'off';
42    
43  $Jrn=new jrn($cn,$_POST['jrn_id']);  $Jrn=new jrn($cn,$_POST['jrn_id']);
44    
# Line 47  $Jrn->GetRow( $_POST['from_periode'], Line 47  $Jrn->GetRow( $_POST['from_periode'],
47                $_POST['to_periode'],                $_POST['to_periode'],
48                $p_cent);                $p_cent);
49    
50      if ( count($Jrn->row) == 0)
51            exit;
52    foreach ( $Jrn->row as $op ) {    foreach ( $Jrn->row as $op ) {
53        // should clean description : remove <b><i> tag and '; char        // should clean description : remove <b><i> tag and '; char
54      $desc=$op['description'];      $desc=$op['description'];

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26