[CORE] modification légère, début de redirection pour créer une commande fournisseur si la demande est accépté (#new_ask_price).
This commit is contained in:
parent
aba3ec0612
commit
3b0fd5ec98
@ -2131,7 +2131,7 @@ if ($action == 'create')
|
||||
// Create an order
|
||||
if (! empty($conf->commande->enabled) && $object->statut == 2) {
|
||||
if ($user->rights->commande->creer) {
|
||||
print '<div class="inline-block divButAction"><a class="butAction" href="' . DOL_URL_ROOT . '/commande/card.php?action=create&origin=' . $object->element . '&originid=' . $object->id . '&socid=' . $object->socid . '">' . $langs->trans("AddOrder") . '</a></div>';
|
||||
print '<div class="inline-block divButAction"><a class="butAction" href="' . DOL_URL_ROOT . '/fourn/commande/card.php?action=create&origin=' . $object->element . '&originid=' . $object->id . '&socid=' . $object->socid . '">' . $langs->trans("AddOrder") . '</a></div>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -52,6 +52,7 @@ $langs->load('sendings');
|
||||
$langs->load('companies');
|
||||
$langs->load('bills');
|
||||
$langs->load('propal');
|
||||
$langs->load('askpricesupplier');
|
||||
$langs->load('deliveries');
|
||||
$langs->load('products');
|
||||
$langs->load('stocks');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user