NEW Save one click to select on delivery ack, on emails.
This commit is contained in:
parent
574cba906f
commit
b1136f6115
@ -1205,8 +1205,8 @@ class FormMail extends Form
|
||||
*/
|
||||
public function getHtmlForDeliveryreceipt()
|
||||
{
|
||||
global $conf, $langs, $form;
|
||||
$out = '<tr><td>'.$langs->trans("DeliveryReceipt").'</td><td>';
|
||||
global $conf, $langs;
|
||||
$out = '<tr><td><label for="deliveryreceipt">'.$langs->trans("DeliveryReceipt").'</label></td><td>';
|
||||
|
||||
if (!empty($this->withdeliveryreceiptreadonly)) {
|
||||
$out .= yn($this->withdeliveryreceipt);
|
||||
@ -1227,7 +1227,8 @@ class FormMail extends Form
|
||||
if (!empty($conf->global->MAIL_FORCE_DELIVERY_RECEIPT_SUPPLIER_ORDER) && !empty($this->param['models']) && $this->param['models'] == 'order_supplier_send') {
|
||||
$defaultvaluefordeliveryreceipt = 1;
|
||||
}
|
||||
$out .= $form->selectyesno('deliveryreceipt', (GETPOSTISSET("deliveryreceipt") ? GETPOST("deliveryreceipt") : $defaultvaluefordeliveryreceipt), 1);
|
||||
//$out .= $form->selectyesno('deliveryreceipt', (GETPOSTISSET("deliveryreceipt") ? GETPOST("deliveryreceipt") : $defaultvaluefordeliveryreceipt), 1);
|
||||
$out .= '<input type="checkbox" id="deliveryreceipt" name="deliveryreceipt" value="1"'.((GETPOSTISSET("deliveryreceipt") ? GETPOST("deliveryreceipt") : $defaultvaluefordeliveryreceipt) ? ' checked="checked"' : '').'>';
|
||||
}
|
||||
$out .= "</td></tr>\n";
|
||||
return $out;
|
||||
|
||||
@ -7,10 +7,10 @@ MailCard=EMailing card
|
||||
MailRecipients=Recipients
|
||||
MailRecipient=Recipient
|
||||
MailTitle=Description
|
||||
MailFrom=Sender
|
||||
MailFrom=From
|
||||
MailErrorsTo=Errors to
|
||||
MailReply=Reply to
|
||||
MailTo=Receiver(s)
|
||||
MailTo=To
|
||||
MailToUsers=To user(s)
|
||||
MailCC=Copy to
|
||||
MailToCCUsers=Copy to users(s)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user