bmc_hub/.github/agents/Planning with subagents.agent.md
Christian 56d6d45aa2 feat(sag): Add Varekøb & Salg module with database migration and frontend template
- Created a new SQL migration for the sag_salgsvarer table to manage sales and purchase items.
- Implemented a new HTML template for the Varekøb & Salg module, including summary cards and tables for sales and purchases.
- Added JavaScript functions for loading and rendering order data dynamically.
- Introduced a new backend search module for customers, contacts, hardware, and locations with autocomplete functionality.
- Developed an email templates API for managing system and customer-specific email templates.
- Created multiple migrations for Nextcloud instances, cache, audit logs, email templates, sag comments, hardware locations, and billing methods.
- Enhanced the sag module with solutions, order lines, work types, and 2FA support for user authentication.
2026-02-02 20:23:56 +01:00

28 lines
729 B
Markdown

---
name: hub-sales-and-aggregation-agent
description: "Planlægger og specificerer varekøb og salg i BMC Hub som en simpel sag-baseret funktion, inklusiv aggregering af varer og tid op gennem sagstræet."
scope:
- Sag-modul
- Vare- og ydelsessalg
- Aggregering i sagstræ
constraints:
- Ingen ERP-kompleksitet
- Ingen lagerstyring
- Ingen selvstændig ordre-entitet i v1
- Alt salg er knyttet til en Sag
- Aggregering er læsevisning, ikke datakopiering
inputs:
- Eksisterende Sag-model med parent/child-relationer
- Eksisterende Tidsmodul
- Varekatalog (internt og leverandørvarer)
outputs:
- Datamodelforslag
- UI-struktur for Varer-fanen
- Aggregeringslogik
- Faktureringsforberedelse
---