/[dolibarr]/dolibarr/htdocs/product/fiche.php
ViewVC logotype

Diff of /dolibarr/htdocs/product/fiche.php

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

revision 1.108 by eldy, Sun Oct 9 21:27:15 2005 UTC revision 1.109 by eldy, Wed Nov 23 00:43:20 2005 UTC
# Line 285  if ($_GET["action"] == 'create' && $user Line 285  if ($_GET["action"] == 'create' && $user
285    
286      $langs->load("bills");      $langs->load("bills");
287      print '<tr><td>'.$langs->trans("VATRate").'</td><td>';      print '<tr><td>'.$langs->trans("VATRate").'</td><td>';
288      print $html->select_tva("tva_tx",$conf->defaulttx);      print $html->select_tva("tva_tx",$conf->defaulttx,$mysoc,'');
289      print '</td></tr>';      print '</td></tr>';
290    
291      print '<tr><td>'.$langs->trans("Status").'</td><td>';      print '<tr><td>'.$langs->trans("Status").'</td><td>';
# Line 511  if ($_GET["id"]) Line 511  if ($_GET["id"])
511      }      }
512    
513      /*      /*
514      * Fiche en mode edition       * Fiche en mode edition
515      */       */
516      if (($_GET["action"] == 'edit' || $_GET["action"] == 're-edit') && $user->rights->produit->creer)      if (($_GET["action"] == 'edit' || $_GET["action"] == 're-edit') && $user->rights->produit->creer)
517      {      {
518    
519          print_fiche_titre('Edition de la fiche '.$types[$product->type].' : '.$product->ref, "");          print_fiche_titre($langs->trans('Edit').' '.$types[$product->type].' : '.$product->ref, "");
520    
521          if ($mesg) {          if ($mesg) {
522              print '<br><div class="error">'.$mesg.'</div><br>';              print '<br><div class="error">'.$mesg.'</div><br>';
# Line 532  if ($_GET["id"]) Line 532  if ($_GET["id"])
532          $langs->load("bills");          $langs->load("bills");
533          print '<tr><td>'.$langs->trans("VATRate").'</td><td colspan="2">';          print '<tr><td>'.$langs->trans("VATRate").'</td><td colspan="2">';
534          $html = new Form($db);          $html = new Form($db);
535          print $html->select_tva("tva_tx", $product->tva_tx);          print $html->select_tva("tva_tx", $product->tva_tx, $mysoc, '');
536          print '</td></tr>';          print '</td></tr>';
537          print '<tr><td>'.$langs->trans("Status").'</td><td colspan="2">';          print '<tr><td>'.$langs->trans("Status").'</td><td colspan="2">';
538          print '<select name="statut">';          print '<select name="statut">';

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109

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