diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index aa8c454..6d43395 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -93,7 +93,7 @@ SELECT * FROM cron_schedule WHERE job_code = 'shopkeeper_vendorsalesreport_month ### Configuration - **Email Recipients**: Must be comma-separated, validated before sending - **Order Status**: Stored as comma-separated string, converted to array by helper -- **Subject Templates**: Support `{{month}}` and `{{year}}` placeholders +- **Subject Templates**: Support `{{month}}` and `{{year}}` placeholders for dynamic email subjects (e.g., "Monthly Report - {{month}} {{year}}") ### Performance - **Raw SQL**: Used for performance with large datasets - avoid ORM for report queries diff --git a/README.md b/README.md index dec808c..ebacfde 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ php bin/magento cache:flush #### Email Settings - **Enable Email**: Enable/disable email delivery - **Email Recipients**: Comma-separated list of email addresses -- **Email Subject**: Subject line for automated emails (supports {{month}} and {{year}} placeholders) +- **Email Subject**: Subject line for automated emails (use {{month}} and {{year}} placeholders for dynamic values) - **Email Sender**: Choose which store email identity to use as sender ### Example Configuration diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 06ec480..7cef2c4 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -37,7 +37,7 @@ - Subject line for automated report emails. Use {{month}} and {{year}} for dynamic values. + Subject line for automated report emails. Use {{month}} and {{year}} placeholders for dynamic values (e.g., "Monthly Report - {{month}} {{year}}"). 1