Changed Stor plan to cost 4000 kr per week by updating:
- AbonnemangCheckout.tsx: pricePerKg for Stor to 400
- PlansSection.tsx: Stor priceWeekExclVat to 4 000 kr
- AbonnemangForm.tsx: Stor display updated to 4 000 kr
Also updated related display values to reflect new weekly price.
X-Lovable-Edit-ID: edt-76f108ac-aa0b-4efe-8bab-fcdb4ae291c8
Co-authored-by: wolfoftyreso-debug <250630591+wolfoftyreso-debug@users.noreply.github.com>
Changed the AI email prompt to remove reference to 1974, removing the sentence "sedan 1974" from the generated emails. This updates the edge function to avoid outdated branding cues.
X-Lovable-Edit-ID: edt-07e35830-62ea-4a07-b6d1-629273a9c3a7
Changed email generation to sign off with "Med vänliga hälsningar, Lennart Svenssons Konditorivaror" and removed placeholder "(ditt namn)"; updated system prompt to reflect sender details and permanent signature.
X-Lovable-Edit-ID: edt-c7eb027b-3504-4c71-b527-ffe455a54aa0
Implements full research and email generation workflow:
- Added research-company edge function to perform Firecrawl-based company research and Lovable AI email generation, returning personalized email content.
- Enhanced LeadsGenerator UI to support per-lead research, show AI-generated emails, and copy email content, with a new dialog for previews.
- Wired edge function deployment and config updates, enabling generation of personalized outreach emails for selected leads.
X-Lovable-Edit-ID: edt-9738b1ad-729e-441b-8266-2bd5f79bd3b9
Implements AI-powered LeadsGenerator component and integrates into Admin with a new Leads tab. Adds edge function generate-leads to fetch Stockholm-based potential B2B customers and display in a table with company, industry, employees, district, and reason. Updates Admin page to include Leads tab and renders LeadsGenerator.
X-Lovable-Edit-ID: edt-c44d9a27-9e41-41bd-9ec5-c4acb79c4b09
Added real-time Stockholm postal code validation across AbonnemangForm and Account, with red error styling and messages indicating delivery is limited to Storstockholm. Updated schemas to enforce 10000–19999 range, and surfaced user-friendly error text.
X-Lovable-Edit-ID: edt-c9c35c3c-ea66-45eb-9ea2-ca7f2a31ccc0
Update DeliverySection descriptions to end with a period for both "Veckoleverans" and "Dagtid" texts.
X-Lovable-Edit-ID: edt-fca45e64-5604-4127-b5df-a825ae8df07f
Changed delivery section texts to be more descriptive:
- Veckoleverans: "Kakorna levereras samma dag varje vecka"
- Dagtid: "Kakorna levereras alltid under dagtid"
X-Lovable-Edit-ID: edt-23bad494-264e-41a5-8049-a99eef22cc99
Added descriptive text under Veckoleverans and Dagtid headings in delivery section to show schedules.
X-Lovable-Edit-ID: edt-40e76fe5-a08e-425e-ba5c-430e96d15a80
Updated DeliverySection.tsx to replace headings:
- Veckoleverans -> Samma dag varje vecka
- Dagtid -> Levereras under dagtid
X-Lovable-Edit-ID: edt-bc67d90f-1a6d-420a-a534-708719ba8a09
Removed the extra descriptions from Veckoleverans and Dagtid in DeliverySection, and deleted the "Alltid med fullständig nöjdhetsgaranti" line from PlansSection. Simplified headers styling accordingly.
X-Lovable-Edit-ID: edt-7f8f8ba4-4228-4ee1-890c-d43bffe479b0