/[dolibarr]/dolibarr/htdocs/fourn/commande/note.php
ViewVC logotype

Diff of /dolibarr/htdocs/fourn/commande/note.php

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

revision 1.8 by eldy, Wed Aug 31 21:56:06 2005 UTC revision 1.9 by eldy, Sun Oct 9 23:08:04 2005 UTC
# Line 76  if ($_GET["id"] > 0) Line 76  if ($_GET["id"] > 0)
76                
77        $h = 0;        $h = 0;
78        $head[$h][0] = DOL_URL_ROOT.'/fourn/commande/fiche.php?id='.$commande->id;        $head[$h][0] = DOL_URL_ROOT.'/fourn/commande/fiche.php?id='.$commande->id;
79        $head[$h][1] = $langs->trans("Order").": $commande->ref";        $head[$h][1] = $langs->trans("OrderCard");
80        $h++;        $h++;
81    
82        $head[$h][0] = DOL_URL_ROOT.'/fourn/commande/note.php?id='.$commande->id;        $head[$h][0] = DOL_URL_ROOT.'/fourn/commande/note.php?id='.$commande->id;
# Line 85  if ($_GET["id"] > 0) Line 85  if ($_GET["id"] > 0)
85        $h++;        $h++;
86    
87        $head[$h][0] = DOL_URL_ROOT.'/fourn/commande/history.php?id='.$commande->id;        $head[$h][0] = DOL_URL_ROOT.'/fourn/commande/history.php?id='.$commande->id;
88        $head[$h][1] = $langs->trans("History");        $head[$h][1] = $langs->trans("OrderFollow");
89        $h++;        $h++;
90    
91        dolibarr_fiche_head($head, $a, $soc->nom);                  $title=$langs->trans("Order").": $commande->ref";
92          dolibarr_fiche_head($head, $a, $title);    
93                
94    
95        /*        /*
# Line 98  if ($_GET["id"] > 0) Line 99  if ($_GET["id"] > 0)
99        print '<input type="hidden" name="action" value="updatenote">';        print '<input type="hidden" name="action" value="updatenote">';
100    
101        print '<table class="border" width="100%">';        print '<table class="border" width="100%">';
102        print "<tr><td>".$langs->trans("Supplier")."</td>";        print '<tr><td width="20%">'.$langs->trans("Supplier").'</td>';
103        print '<td colspan="2">';        print '<td colspan="3">';
104        print '<b><a href="'.DOL_URL_ROOT.'/fourn/fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';        print '<b><a href="'.DOL_URL_ROOT.'/fourn/fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';
105          print '</tr>';
106                        
107        print '<td width="50%">';        print '<tr>';
108          print '<td>'.$langs->trans("Status").'</td>';
109          print '<td colspan="3">';
110        print '<img src="statut'.$commande->statut.'.png">&nbsp;';        print '<img src="statut'.$commande->statut.'.png">&nbsp;';
111        print $commande->statuts[$commande->statut];        print $commande->statuts[$commande->statut];
112        print "</td></tr>";        print "</td></tr>";
# Line 124  if ($_GET["id"] > 0) Line 128  if ($_GET["id"] > 0)
128              }              }
129            print "</td></tr>";            print "</td></tr>";
130          }          }
131          
132          // Auteur
133        print '<tr><td>'.$langs->trans("Author").'</td><td colspan="2">'.$author->fullname.'</td>';              print '<tr><td>'.$langs->trans("Author").'</td><td colspan="2">'.$author->fullname.'</td>';      
134        print '<td>';        print '<td width="50%">';
135        print "&nbsp;</td></tr>";        print "&nbsp;</td></tr>";
136        
137        // Ligne de 3 colonnes        // Ligne de 3 colonnes
# Line 134  if ($_GET["id"] > 0) Line 140  if ($_GET["id"] > 0)
140        print '<td>'.$langs->trans("Currency".$conf->monnaie).'</td>';        print '<td>'.$langs->trans("Currency".$conf->monnaie).'</td>';
141        print '<td valign="top">&nbsp;</td></tr>';        print '<td valign="top">&nbsp;</td></tr>';
142    
143        print '<tr><td>'.$langs->trans("VAT").'</td><td align="right">'.price($commande->total_tva).'</td>';        print '<tr><td>'.$langs->trans("AmountVAT").'</td><td align="right">'.price($commande->total_tva).'</td>';
144        print '<td>'.$langs->trans("Currency".$conf->monnaie).'</td><td>&nbsp;</td></tr>';        print '<td>'.$langs->trans("Currency".$conf->monnaie).'</td><td>&nbsp;</td></tr>';
145        print '<tr><td>'.$langs->trans("TotalTTC").'</td><td align="right">'.price($commande->total_ttc).'</td>';        print '<tr><td>'.$langs->trans("AmountTTC").'</td><td align="right">'.price($commande->total_ttc).'</td>';
146        print '<td>'.$langs->trans("Currency".$conf->monnaie).'</td><td>&nbsp;</td></tr>';        print '<td>'.$langs->trans("Currency".$conf->monnaie).'</td><td>&nbsp;</td></tr>';
147    
148    
149        if ($user->rights->fournisseur->commande->creer)        if ($user->rights->fournisseur->commande->creer)
150          {          {
151            print '<tr><td>'.$langs->trans("Note").'</td><td colspan="3"><textarea cols="60" rows="10" name="note">'.nl2br($commande->note)."</textarea></td></tr>";            print '<tr><td valign="top">'.$langs->trans("Note").'</td><td colspan="3"><textarea cols="60" rows="10" name="note">'.nl2br($commande->note)."</textarea></td></tr>";
152            print '<tr><td colspan="4" align="center"><input type="submit" class="button"></td></tr>';            print '<tr><td colspan="4" align="center"><input type="submit" class="button"></td></tr>';
153          }          }
154        else        else

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

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