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; |
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 |
/* |
/* |
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"> '; |
print '<img src="statut'.$commande->statut.'.png"> '; |
96 |
print $commande->statuts[$commande->statut]; |
print $commande->statuts[$commande->statut]; |
97 |
print "</td></tr>"; |
print "</td></tr>"; |
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%"> </td></tr>'; |
|
print '<td> </td></tr>'; |
|
110 |
print "</table>\n"; |
print "</table>\n"; |
111 |
|
|
112 |
|
|
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"> '; |
print '<td width="10%"><img src="statut'.$obj->fk_statut.'.png"> '; |
141 |
|
|