NEW Events on Proposal to Return to Draft
This commit is contained in:
parent
25fbd3b385
commit
fc6228a48c
@ -186,6 +186,14 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||||||
}
|
}
|
||||||
$object->actionmsg = $langs->transnoentities("PropalValidatedInDolibarr", ($object->newref ? $object->newref : $object->ref));
|
$object->actionmsg = $langs->transnoentities("PropalValidatedInDolibarr", ($object->newref ? $object->newref : $object->ref));
|
||||||
|
|
||||||
|
$object->sendtoid = 0;
|
||||||
|
} elseif ($action == 'PROPAL_MODIFY') {
|
||||||
|
// Load translation files required by the page
|
||||||
|
$langs->loadLangs(array("agenda", "other", "propal"));
|
||||||
|
|
||||||
|
if (empty($object->actionmsg2)) $object->actionmsg2 = $langs->transnoentities("PropalBackToDraftInDolibarr", ($object->newref ? $object->newref : $object->ref));
|
||||||
|
$object->actionmsg = $langs->transnoentities("PropalBackToDraftInDolibarr", ($object->newref ? $object->newref : $object->ref));
|
||||||
|
|
||||||
$object->sendtoid = 0;
|
$object->sendtoid = 0;
|
||||||
} elseif ($action == 'PROPAL_SENTBYMAIL') {
|
} elseif ($action == 'PROPAL_SENTBYMAIL') {
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
|
|||||||
@ -45,6 +45,7 @@ CONTRACT_DELETEInDolibarr=Contract %s deleted
|
|||||||
PropalClosedSignedInDolibarr=Proposal %s signed
|
PropalClosedSignedInDolibarr=Proposal %s signed
|
||||||
PropalClosedRefusedInDolibarr=Proposal %s refused
|
PropalClosedRefusedInDolibarr=Proposal %s refused
|
||||||
PropalValidatedInDolibarr=Proposal %s validated
|
PropalValidatedInDolibarr=Proposal %s validated
|
||||||
|
PropalBackToDraftInDolibarr=Proposal %s go back to draft status
|
||||||
PropalClassifiedBilledInDolibarr=Proposal %s classified billed
|
PropalClassifiedBilledInDolibarr=Proposal %s classified billed
|
||||||
InvoiceValidatedInDolibarr=Invoice %s validated
|
InvoiceValidatedInDolibarr=Invoice %s validated
|
||||||
InvoiceValidatedInDolibarrFromPos=Invoice %s validated from POS
|
InvoiceValidatedInDolibarrFromPos=Invoice %s validated from POS
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user