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:
@@ -232,6 +232,8 @@ $viewer->view('CustomDashboard.tpl');
|
||||
|
||||
$active8 = "";
|
||||
|
||||
$active9 = "";
|
||||
|
||||
if($active == 1) $active1 = 'active';
|
||||
|
||||
if($active == 2) $active2 = 'active';
|
||||
@@ -248,6 +250,10 @@ $viewer->view('CustomDashboard.tpl');
|
||||
|
||||
if($active == 8) $active8 = 'active';
|
||||
|
||||
if($active == 9) $active9 = 'active';
|
||||
|
||||
if($active == 10) $active10 = 'active';
|
||||
|
||||
|
||||
|
||||
return '<div class="dashBoardContainer clearfix">
|
||||
@@ -272,6 +278,10 @@ $viewer->view('CustomDashboard.tpl');
|
||||
|
||||
<li class="dashboardTab font-large-2 '.$active8.'" ><a href="index.php?module=MonitoringVpObjective&view=MonitoringVpObjective"><div><strong>Objective</strong></div></a></li>
|
||||
|
||||
<li class="dashboardTab font-large-2 '.$active9.'" ><a href="index.php?module=PharmexObjective&view=PharmexObjective&event=Saidalya"><div><strong>Salon SIPHAL</strong></div></a></li>
|
||||
|
||||
<li class="dashboardTab font-large-2 '.$active10.'" ><a href="index.php?module=PharmexObjective&view=PharmexObjective&event=November"><div><strong>Offres SIPHAL</strong></div></a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user