New: Can create manually order from proposal
This commit is contained in:
parent
fdcf07035f
commit
22b24049e9
@ -18,6 +18,7 @@ For users:
|
|||||||
- New: task #10577: Use a numbering module for shipment and contract
|
- New: task #10577: Use a numbering module for shipment and contract
|
||||||
- New: Add a first workflow module to create automatic action on some
|
- New: Add a first workflow module to create automatic action on some
|
||||||
events (create order on proposal closing).
|
events (create order on proposal closing).
|
||||||
|
- New: Can create manually order from proposal.
|
||||||
- Fix: Better Postgresql compatibility.
|
- Fix: Better Postgresql compatibility.
|
||||||
|
|
||||||
For developers:
|
For developers:
|
||||||
|
|||||||
@ -1494,7 +1494,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
{
|
{
|
||||||
if ($user->rights->commande->creer)
|
if ($user->rights->commande->creer)
|
||||||
{
|
{
|
||||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/commande/fiche.php?action=create&origin='.$object->element.'&originid='.$object->id.'&socid='.$object->socid.'">'.$langs->trans("CreateOrder").'</a>';
|
print '<a class="butAction" href="'.DOL_URL_ROOT.'/commande/fiche.php?action=create&origin='.$object->element.'&originid='.$object->id.'&socid='.$object->socid.'">'.$langs->trans("AddOrder").'</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1503,7 +1503,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
{
|
{
|
||||||
if ($user->rights->facture->creer)
|
if ($user->rights->facture->creer)
|
||||||
{
|
{
|
||||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/facture.php?action=create&origin='.$object->element.'&originid='.$object->id.'&socid='.$object->socid.'">'.$langs->trans("BuildBill").'</a>';
|
print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/facture.php?action=create&origin='.$object->element.'&originid='.$object->id.'&socid='.$object->socid.'">'.$langs->trans("AddBill").'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$arraypropal=$object->getInvoiceArrayList();
|
$arraypropal=$object->getInvoiceArrayList();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user