You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Quotes]: Email the company when a quote is approved or rejected in the client portal #672
v1 notified the quote's owner by email whenever a guest approved or rejected a quote: email_quote_status() (application/helpers/mailer_helper.php:178-210), called from application/modules/guest/controllers/Quotes.php:166,199 and View.php:266,291 — subject/body built from quote_status_email_subject/quote_status_email_body translations with client name, status, quote number, and a link to the quote view.
Blocked by:#392 (Client Portal / customer accounts) — there is no v2 surface where a client can approve/reject yet. File now so the portal work inherits the requirement; also relates to #259.
Specific
When a portal user (or signed guest link) sets a quote to Approved/Rejected:
Queue a notification mail to the quote's owning user (quote.user_id email; fallback company email) — no template needed, translation-driven strings like v1 (ip.quote_status_email_subject / ip.quote_status_email_body with client name, localized status, quote number, and an internal link to EditQuote).
Send only on the portal-driven transition, not when staff change status in the company panel.
Activity