Christmas gifts and timed gift e-mails
- Gifts bought 15 Nov - 6 Jan get a Christmas card ("Boldog karácsonyt és
csillagos 2027-et!", snowflakes) and a Christmas e-mail subject.
- The buyer can time the gift e-mail (e.g. Christmas morning); "Küldés most"
replaces a waiting one, a refund takes it back.
- Admin: timed e-mails by hour (waiting / sent / failed), e-mail state per gift.
- /karacsony landing page; seasonal hints on /csomagok and /ajandek.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -28,6 +28,7 @@ fn main() {
|
||||
code: &code,
|
||||
redeem_url: &url,
|
||||
recipient_name: Some(to.as_str()),
|
||||
christmas: std::env::var("CHRISTMAS").ok().and_then(|y| y.parse().ok()),
|
||||
from_name: Some(from.as_str()),
|
||||
message: (!message.is_empty()).then_some(message.as_str()),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user