Look: Modif esthétiques mineures
This commit is contained in:
parent
fdf617a4c2
commit
a2a4da061a
@ -156,7 +156,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Commandes à valider
|
* Commandes brouillons
|
||||||
*/
|
*/
|
||||||
if ($conf->commande->enabled)
|
if ($conf->commande->enabled)
|
||||||
{
|
{
|
||||||
@ -175,16 +175,16 @@ if ($conf->commande->enabled)
|
|||||||
{
|
{
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td colspan="2">'.$langs->trans("OrdersToValid").'</td></tr>';
|
print '<td colspan="2">'.$langs->trans("DraftOrders").'</td></tr>';
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$var = False;
|
$var = true;
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$obj = $db->fetch_object();
|
|
||||||
print "<tr $bc[$var]><td width=\"25%\" nowrap><a href=\"../commande/fiche.php?id=$obj->rowid\">".img_object($langs->trans("ShowOrder"),"order")." ".$obj->ref."</a></td>";
|
|
||||||
print '<td><a href="fiche.php?socid='.$obj->idp.'">'.$obj->nom.'</a></td></tr>';
|
|
||||||
$i++;
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
$obj = $db->fetch_object();
|
||||||
|
print "<tr $bc[$var]><td nowrap><a href=\"../commande/fiche.php?id=$obj->rowid\">".img_object($langs->trans("ShowOrder"),"order")." ".$obj->ref."</a></td>";
|
||||||
|
print '<td><a href="fiche.php?socid='.$obj->idp.'">'.dolibarr_trunc($obj->nom,24).'</a></td></tr>';
|
||||||
|
$i++;
|
||||||
}
|
}
|
||||||
print "</table><br>";
|
print "</table><br>";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -333,7 +333,7 @@ if ($_GET["action"] == 'create' && $user->rights->commande->creer)
|
|||||||
{
|
{
|
||||||
print '<tr><td><select name="idprod'.$i.'">'.$opt.'</select></td>';
|
print '<tr><td><select name="idprod'.$i.'">'.$opt.'</select></td>';
|
||||||
print '<td><input type="text" size="3" name="qty'.$i.'" value="1"></td>';
|
print '<td><input type="text" size="3" name="qty'.$i.'" value="1"></td>';
|
||||||
print '<td><input type="text" size="4" name="remise_percent'.$i.'" value="0"> %</td></tr>';
|
print '<td><input type="text" size="3" name="remise_percent'.$i.'" value="0">%</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
@ -402,7 +402,7 @@ if ($_GET["action"] == 'create' && $user->rights->commande->creer)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $sql;
|
dolibarr_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
@ -730,15 +730,15 @@ else
|
|||||||
print $html->select_tva("tva_tx",$conf->defaulttx);
|
print $html->select_tva("tva_tx",$conf->defaulttx);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td align="center"><input type="text" name="qty" value="1" size="2"></td>';
|
print '<td align="center"><input type="text" name="qty" value="1" size="2"></td>';
|
||||||
print '<td align="right"><input type="text" name="remise_percent" size="3" value="0">%</td>';
|
print '<td align="right" nowrap><input type="text" name="remise_percent" size="2" value="0">%</td>';
|
||||||
print '<td align="right"><input type="text" name="pu" size="7"></td>';
|
print '<td align="right"><input type="text" name="pu" size="6"></td>';
|
||||||
|
|
||||||
print '<td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
print '<td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<tr $bc[$var]><td colspan=\"2\"><select name=\"p_idprod\">$opt</select></td>";
|
print "<tr $bc[$var]><td colspan=\"2\"><select name=\"p_idprod\">$opt</select></td>";
|
||||||
print '<td align="center"><input type="text" size="2" name="pqty" value="1"></td>';
|
print '<td align="center"><input type="text" size="2" name="pqty" value="1"></td>';
|
||||||
print '<td align="right"><input type="text" size="3" name="premise" value="0">%</td>';
|
print '<td align="right" nowrap><input type="text" size="2" name="premise" value="0">%</td>';
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print '<td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
print '<td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user