Improve email subject configuration documentation
- Clarify subject template placeholders in system.xml comment
- Update README.md to be more explicit about {{month}} and {{year}} usage
- Add example in copilot-instructions.md for better clarity
This commit is contained in:
2
.github/copilot-instructions.md
vendored
2
.github/copilot-instructions.md
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user