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>'; |
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>'; |
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">'; |