feat: Enhance email functionality and PDF generation for Sales Orders
- Enabled SMTP debugging in PHPMailer for better error tracking. - Added a "Test send email" link in the Inventory Detail View for quick email testing. - Implemented automatic PDF generation and email sending upon Sales Order creation. - Created a new action for sending Sales Order emails with attached PDFs. - Added a new AJAX action for testing outgoing email server configurations. - Updated outgoing server settings to use new SMTP credentials. - Improved email templates for better user experience. - Added test scripts for validating PDF generation and email sending.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-26 16:22:51
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-30 08:46:30
|
||||
compiled from "C:\xampp\htdocs\sophalcrm\includes\runtime/../../layouts/v7\modules\Vtiger\ModalFooter.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:35691707368d6bddb322281-34526287%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
@@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'2627944103942efed50bd439d9d1dbdcc67dc480' =>
|
||||
array (
|
||||
0 => 'C:\\xampp\\htdocs\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Vtiger\\ModalFooter.tpl',
|
||||
1 => 1758796678,
|
||||
1 => 1759179619,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
@@ -15,6 +15,8 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_68d6bddb32583',
|
||||
'variables' =>
|
||||
array (
|
||||
'BUTTON_NAME' => 0,
|
||||
@@ -23,8 +25,6 @@ $_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'BUTTON_LABEL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_68d6bddb32583',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_68d6bddb32583')) {function content_68d6bddb32583($_smarty_tpl) {?>
|
||||
<div class="modal-footer "><center><?php if ($_smarty_tpl->tpl_vars['BUTTON_NAME']->value!=null){?><?php $_smarty_tpl->tpl_vars['BUTTON_LABEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['BUTTON_NAME']->value, null, 0);?><?php }else{ ?><?php ob_start();?><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
Reference in New Issue
Block a user