Respect user currency preference in renewal reminder emails #60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "copilot/sub-pr-58-again"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Renewal reminder emails hardcoded the
$currency symbol instead of using the configured currency preference fromSettingsService.Changes
internal/service/email.go: AddedCurrencySymbolfield toReminderDatastruct and populated it fromsettingsService.GetCurrencySymbol(){{.CurrencySymbol}}instead of hardcoded$This aligns email behavior with the rest of the application which already respects currency settings.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.
Pull Request Overview
This PR updates renewal reminder emails to respect the user's configured currency preference instead of hardcoding the
$symbol.CurrencySymbolfield to theReminderDatastruct and populated it fromsettingsService.GetCurrencySymbol()github.com/dromara/carbon/v2from indirect to direct dependency ingo.modReviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
CurrencySymbolfield in template data💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pull request closed