/[dolibarr]/dolibarr/htdocs/expedition/commande.php
ViewVC logotype

Diff of /dolibarr/htdocs/expedition/commande.php

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

revision 1.20 by eldy, Fri Aug 12 01:34:47 2005 UTC revision 1.21 by eldy, Tue Aug 23 19:31:25 2005 UTC
# Line 104  if ($_GET["id"] > 0) Line 104  if ($_GET["id"] > 0)
104              $h++;              $h++;
105          }          }
106    
107          dolibarr_fiche_head($head, $hselected, $soc->nom." / ".$langs->trans("Order")." : $commande->ref");          dolibarr_fiche_head($head, $hselected, $langs->trans("Order").": $commande->ref");
108    
109          /*          /*
110          * Confirmation de la validation           * Confirmation de la validation
111          *           *
112          */           */
113          if ($_GET["action"] == 'cloture')          if ($_GET["action"] == 'cloture')
114          {          {
115              $html->form_confirm("commande.php?id=".$_GET["id"],"Clôturer la commande","Etes-vous sûr de vouloir clôturer cette commande ?","confirm_cloture");              $html->form_confirm("commande.php?id=".$_GET["id"],"Clôturer la commande","Etes-vous sûr de vouloir clôturer cette commande ?","confirm_cloture");
# Line 143  if ($_GET["id"] > 0) Line 144  if ($_GET["id"] > 0)
144              print '<tr><td colspan="3">'.nl2br($commande->note)."</td></tr>";              print '<tr><td colspan="3">'.nl2br($commande->note)."</td></tr>";
145          }          }
146    
147          print '</table><br />';          print '</table>';
148    
149    
150          /*          /*
151          * Lignes de commandes           * Lignes de commandes
152          *           *
153          */           */
154          echo '<table class="liste" width="100%">';          echo '<br><table class="liste" width="100%">';
155    
156          $sql = "SELECT l.fk_product, l.description, l.price, l.qty, l.rowid, l.tva_tx, l.remise_percent, l.subprice";          $sql = "SELECT l.fk_product, l.description, l.price, l.qty, l.rowid, l.tva_tx, l.remise_percent, l.subprice";
157          $sql.= " FROM ".MAIN_DB_PREFIX."commandedet as l ";          $sql.= " FROM ".MAIN_DB_PREFIX."commandedet as l ";
# Line 233  if ($_GET["id"] > 0) Line 235  if ($_GET["id"] > 0)
235              if (! $num)              if (! $num)
236              {              {
237                  print $langs->trans("None").'<br>';                  print $langs->trans("None").'<br>';
                 print '<br>';  
238              }              }
239                            
240          }          }
# Line 248  if ($_GET["id"] > 0) Line 249  if ($_GET["id"] > 0)
249          */          */
250          if ($reste_a_livrer_total > 0 && $commande->brouillon == 0)          if ($reste_a_livrer_total > 0 && $commande->brouillon == 0)
251          {          {
   
252              print '<form method="post" action="fiche.php">';              print '<form method="post" action="fiche.php">';
253              print '<input type="hidden" name="action" value="create">';              print '<input type="hidden" name="action" value="create">';
254              print '<input type="hidden" name="commande_id" value="'.$commande->id.'">';              print '<input type="hidden" name="commande_id" value="'.$commande->id.'">';

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

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