NEW last generated doc if main not found for mailing mass action
This commit is contained in:
parent
bcc645ce38
commit
0a48c09a74
@ -781,7 +781,11 @@ class FormMail extends Form
|
||||
} elseif ($this->withmaindocfile == -1) {
|
||||
$out .= '<input type="checkbox" id="addmaindocfile" name="addmaindocfile" value="1" checked="checked" />';
|
||||
}
|
||||
$out .= ' <label for="addmaindocfile">'.$langs->trans("JoinMainDoc").'.</label><br>';
|
||||
if (!empty($conf->global->MAIL_MASS_ACTION_ADD_LAST_IF_MAIN_DOC_NOT_FOUND)) {
|
||||
$out .= ' <label for="addmaindocfile">'.$langs->trans("JoinMainDocOrLastGenerated").'.</label><br>';
|
||||
} else {
|
||||
$out .= ' <label for="addmaindocfile">'.$langs->trans("JoinMainDoc").'.</label><br>';
|
||||
}
|
||||
}
|
||||
|
||||
if (is_numeric($this->withfile)) {
|
||||
|
||||
@ -621,6 +621,7 @@ MonthVeryShort11=N
|
||||
MonthVeryShort12=D
|
||||
AttachedFiles=Attached files and documents
|
||||
JoinMainDoc=Join main document
|
||||
JoinMainDocOrLastGenerated=Send the main document or the last generated one if not found
|
||||
DateFormatYYYYMM=YYYY-MM
|
||||
DateFormatYYYYMMDD=YYYY-MM-DD
|
||||
DateFormatYYYYMMDDHHMM=YYYY-MM-DD HH:SS
|
||||
@ -1172,4 +1173,4 @@ AddLineOnPosition=Add line on position (at the end if empty)
|
||||
ConfirmAllocateCommercial=Assign sales representative confirmation
|
||||
ConfirmAllocateCommercialQuestion=Are you sure you want to assign the %s selected record(s)?
|
||||
CommercialsAffected=Sales representatives affected
|
||||
CommercialAffected=Sales representative affected
|
||||
CommercialAffected=Sales representative affected
|
||||
|
||||
@ -620,6 +620,7 @@ MonthVeryShort11=N
|
||||
MonthVeryShort12=D
|
||||
AttachedFiles=Fichiers et documents joints
|
||||
JoinMainDoc=Joindre le document principal
|
||||
JoinMainDocOrLastGenerated=Joindre le document principal ou le dernier généré s'il n'a pas été trouvé
|
||||
DateFormatYYYYMM=YYYY-MM
|
||||
DateFormatYYYYMMDD=YYYY-MM-DD
|
||||
DateFormatYYYYMMDDHHMM=YYYY-MM-DD HH:SS
|
||||
|
||||
Loading…
Reference in New Issue
Block a user