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:
shopkeeperdev
2025-11-03 17:29:40 -05:00
parent fc2838d68a
commit 9afacc7fe1
3 changed files with 3 additions and 3 deletions

View File

@@ -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