Refactor to generic ERP base
Remove influencer-specific features (campaigns, TikTok, gifts, shadow ledger, contracts, briefings) and consolidate into a clean ERP foundation with core bookkeeping, invoicing, receipts, tax reporting, and calendar functionality. Reorganize database migrations into a clean numbered sequence. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a25d10a528
commit
0aecf5b41c
+3
-3
@@ -2,7 +2,7 @@ import { Resend } from 'resend'
|
||||
|
||||
// Default sender configuration
|
||||
// Using a fixed From address with dynamic Reply-To
|
||||
// From: "Företagsnamn via Influencer Biz" <fakturor@influencer-biz.se>
|
||||
// From: "Företagsnamn via ERP Base" <fakturor@erp-base.se>
|
||||
// Reply-To: user's company email from company_settings
|
||||
const DEFAULT_FROM_EMAIL = 'fakturor@arcim.io'
|
||||
|
||||
@@ -66,8 +66,8 @@ export async function sendEmail(options: SendEmailOptions): Promise<SendEmailRes
|
||||
|
||||
// Construct from address with optional name
|
||||
const from = fromName
|
||||
? `${fromName} via Influencer Biz <${DEFAULT_FROM_EMAIL}>`
|
||||
: `Influencer Biz <${DEFAULT_FROM_EMAIL}>`
|
||||
? `${fromName} via ERP Base <${DEFAULT_FROM_EMAIL}>`
|
||||
: `ERP Base <${DEFAULT_FROM_EMAIL}>`
|
||||
|
||||
try {
|
||||
const resend = getResendClient()
|
||||
|
||||
Reference in New Issue
Block a user