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

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

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

revision 1.9 by eldy, Wed Aug 31 21:56:05 2005 UTC revision 1.10 by eldy, Sun Oct 9 23:08:04 2005 UTC
# Line 64  if ($_GET["id"] > 0) Line 64  if ($_GET["id"] > 0)
64                
65        $h = 0;        $h = 0;
66        $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;
67        $head[$h][1] = $langs->trans("Order").": $commande->ref";        $head[$h][1] = $langs->trans("OrderCard");
68        $h++;        $h++;
69    
70        $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 72  if ($_GET["id"] > 0) Line 72  if ($_GET["id"] > 0)
72        $h++;        $h++;
73    
74        $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;
75        $head[$h][1] = $langs->trans("History");        $head[$h][1] = $langs->trans("OrderFollow");
76        $a = $h;        $a = $h;
77    
78        $h++;        $h++;
79    
80        dolibarr_fiche_head($head, $a, $soc->nom);                  $title=$langs->trans("Order").": $commande->ref";
81          dolibarr_fiche_head($head, $a, $title);    
82    
83                
84        /*        /*
# Line 85  if ($_GET["id"] > 0) Line 86  if ($_GET["id"] > 0)
86         */         */
87    
88        print '<table class="border" width="100%">';        print '<table class="border" width="100%">';
89        print "<tr><td>".$langs->trans("Supplier")."</td>";        print '<tr><td width="20%">'.$langs->trans("Supplier")."</td>";
90        print '<td colspan="2">';        print '<td colspan="3">';
91        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>';
92              print '</tr>';
93                        
94        print '<td width="50%">';        print '<tr><td>'.$langs->trans("Status").'</td><td colspan="3">';
95        print '<img src="statut'.$commande->statut.'.png">&nbsp;';        print '<img src="statut'.$commande->statut.'.png">&nbsp;';
96        print $commande->statuts[$commande->statut];        print $commande->statuts[$commande->statut];
97        print "</td></tr>";        print "</td></tr>";
# Line 102  if ($_GET["id"] > 0) Line 104  if ($_GET["id"] > 0)
104            print "</td></tr>";            print "</td></tr>";
105          }          }
106    
107          // Auteur
108        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>';
109                      print '<td width="50%">&nbsp;</td></tr>';  
       print '<td>&nbsp;</td></tr>';    
110        print "</table>\n";        print "</table>\n";
111    
112                        
# Line 133  if ($_GET["id"] > 0) Line 135  if ($_GET["id"] > 0)
135                  $obj = $db->fetch_object($resql);                  $obj = $db->fetch_object($resql);
136                  print "<tr $bc[$var]>";                  print "<tr $bc[$var]>";
137                    
138                  print '<td width="20%">'.strftime("%a %d %B %Y %H:%M:%S",$obj->dl)."</td>\n";                  print '<td width="20%">'.dolibarr_print_date($obj->dl,"%a %d %b %Y %H:%M:%S")."</td>\n";
139                    
140                  print '<td width="10%"><img src="statut'.$obj->fk_statut.'.png">&nbsp;';                  print '<td width="10%"><img src="statut'.$obj->fk_statut.'.png">&nbsp;';
141                    

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