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

Diff of /phpcompta/html/annulation.php

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

revision 1.21 by sparkyx, Thu Mar 31 21:16:35 2005 UTC revision 1.22 by sparkyx, Wed Apr 27 08:49:32 2005 UTC
# Line 118  if ( isset ($_POST['annul']) ) { Line 118  if ( isset ($_POST['annul']) ) {
118     // delete from jrnx & jrn     // delete from jrnx & jrn
119      $sql="update jrnx set j_montant = 0 where j_grpt=".$_POST['p_id'];      $sql="update jrnx set j_montant = 0 where j_grpt=".$_POST['p_id'];
120        
121  //    $Res=ExecSql($cn,$sql);     $Res=ExecSql($cn,$sql);
122    
123    
124    // build the sql stmt for jrn    // build the sql stmt for jrn
# Line 179  if ( $a != null ) { Line 179  if ( $a != null ) {
179  echo '  echo '
180    
181  <input type="hidden" name="p_id" value="'.$_GET['jrn_op'].'">  <input type="hidden" name="p_id" value="'.$_GET['jrn_op'].'">
182  <input type="submit" name="annul"  value="Annuler">  <input type="submit" name="annul"  value="Mise à zéro">
183  <input type="button" name="cancel" value="Retour" onClick="window.close();">  <input type="button" name="cancel" value="Retour" onClick="window.close();">
184  </form>';  </form>';
185    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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