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

@@ -11,7 +11,7 @@
; run quicker, but you won't get error messages back to the calling
; application.
smtp_server=mail.sophal.dz
smtp_server=mail.sophal.net
; smtp port (normally 25)
@@ -43,8 +43,8 @@ debug_logfile=debug.log
; if your smtp server requires authentication, modify the following two lines
auth_username=crm@sophal.dz
auth_password=Sophal2019
auth_username=erp@mail.sophal.net
auth_password=Sophal@@25**
; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines. do not enable unless it is required.