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:
BACHIR SOULDI
2026-02-17 15:59:31 +01:00
parent 2794e62571
commit 2a647b138a
46 changed files with 25100 additions and 1296 deletions

View File

@@ -1,4 +1,4 @@
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-26 16:15:58
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-30 08:19:20
compiled from "C:\xampp\htdocs\sophalcrm\includes\runtime/../../layouts/v7\modules\Vtiger\Footer.tpl" */ ?>
<?php /*%%SmartyHeaderCode:147362918768d6bc3e892923-48997099%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
@@ -7,7 +7,7 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'710e620183d7eba30794adcdaa65a6b9b5aba915' =>
array (
0 => 'C:\\xampp\\htdocs\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Vtiger\\Footer.tpl',
1 => 1758796679,
1 => 1759179585,
2 => 'file',
),
),
@@ -15,13 +15,13 @@ $_valid = $_smarty_tpl->decodeProperties(array (
'function' =>
array (
),
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68d6bc3e9002c',
'variables' =>
array (
'LANGUAGE_STRINGS' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.7',
'unifunc' => 'content_68d6bc3e9002c',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_68d6bc3e9002c')) {function content_68d6bc3e9002c($_smarty_tpl) {?>