/[dolibarr]/dolibarr/htdocs/compta/prelevement/ligne.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/prelevement/ligne.php

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

revision 1.9 by eldy, Sat Sep 17 00:53:50 2005 UTC revision 1.10 by rodolphe, Wed Nov 16 14:43:14 2005 UTC
# Line 44  if ($_POST["action"] == 'confirm_rejet') Line 44  if ($_POST["action"] == 'confirm_rejet')
44              {              {
45                $rej = new RejetPrelevement($db, $user);                $rej = new RejetPrelevement($db, $user);
46                                
47                $rej->create($user, $_GET["id"], $_POST["motif"], $daterej, $lipre->bon_rowid);                $rej->create($user, $_GET["id"], $_POST["motif"], $daterej, $lipre->bon_rowid, $_POST["facturer"]);
48                                
49                Header("Location: ligne.php?id=".$_GET["id"]);                Header("Location: ligne.php?id=".$_GET["id"]);
50              }              }
# Line 165  if ($_GET["id"]) Line 165  if ($_GET["id"])
165        print '<td class="valid" align="center">';        print '<td class="valid" align="center">';
166        print '<input type="submit" value="Confirmer"></td></tr>';        print '<input type="submit" value="Confirmer"></td></tr>';
167    
168          print '<tr><td class="valid">Facturation du rejet</td>';
169          print '<td class="valid" colspan="2">';
170          print '<select name="facturer">';
171          print '<option value="0">Ne Pas Facturer le rejet</option>';
172          print '<option value="1">Facturer le rejet au client</option>';
173          print '</select>';
174          print '</td>';
175        print '</table></form>';        print '</table></form>';
   
176      }      }
177    
178    $page = $_GET["page"];    $page = $_GET["page"];

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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