New: Add option FACTURE_SENDBYEMAIL_FOR_ALL_STATUS to allow to send
invoice by email whatever is its status.
This commit is contained in:
parent
002e64d514
commit
01655d1757
@ -43,9 +43,11 @@ For users:
|
||||
- New: Can define custom fields for categories.
|
||||
- New: Prepare generation of SEPA files into module withdrawal.
|
||||
- New: Can filter on status for supplier order.
|
||||
- New: Add option FACTURE_SENDBYEMAIL_FOR_ALL_STATUS to allow to send invoice by email
|
||||
whatever is its status.
|
||||
- New: Add filter date in bank writing list page.
|
||||
- Fix: Project Task numbering customs rule works.
|
||||
- Fix: Add actions events not implemented.
|
||||
- New: Add filter date in bank writing list page.
|
||||
- Fix: Price min of composition is not supplier price min by quantity
|
||||
|
||||
TODO
|
||||
|
||||
@ -3332,9 +3332,11 @@ if ($action == 'create')
|
||||
|
||||
dol_fiche_end();
|
||||
|
||||
// Boutons actions
|
||||
|
||||
if ($action != 'prerelance' && $action != 'presend' && $action != 'valid' && $action != 'editline') {
|
||||
// Actions buttons
|
||||
|
||||
if ($action != 'prerelance' && $action != 'presend' && $action != 'valid' && $action != 'editline')
|
||||
{
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
$parameters = array();
|
||||
@ -3382,7 +3384,7 @@ if ($action == 'create')
|
||||
}
|
||||
|
||||
// Send by mail
|
||||
if (($object->statut == 1 || $object->statut == 2)) {
|
||||
if (($object->statut == 1 || $object->statut == 2) || ! empty($conf->global->FACTURE_SENDBYEMAIL_FOR_ALL_STATUS)) {
|
||||
if ($objectidnext) {
|
||||
print '<div class="inline-block divButAction"><span class="butActionRefused" title="' . $langs->trans("DisabledBecauseReplacedInvoice") . '">' . $langs->trans('SendByMail') . '</span></div>';
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user