Commit Graph

11 Commits

Author SHA1 Message Date
07987788f8 feat(frontend): Add CRM and Projects modules frontend
- CRM module: Types, API client, hooks (useLeads, useOpportunities,
  usePipeline, useStages, useActivities), and pages (LeadsPage,
  OpportunitiesPage)
- Projects module: Types, API client, hooks (useProjects, useTasks,
  useTaskBoard, useTaskStages, useTimesheets), and pages (ProjectsPage,
  TasksPage)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 10:36:23 -06:00
54c14f87c8 feat(purchases): Add Purchasing module frontend (hooks + pages)
- Create purchases hooks (usePurchaseOrders, usePurchaseReceipts)
- Create PurchaseOrdersPage with order management and PDF download
- Create PurchaseReceiptsPage with receipt validation
- Update feature index to export hooks

MGN-012 Purchasing frontend implementation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 10:19:43 -06:00
836ebaf638 feat(financial): Add complete Financial module frontend
- Create financial types (Account, Journal, JournalEntry, Invoice, Payment)
- Create financial API client with full CRUD operations
- Create comprehensive hooks (useAccounts, useJournals, useJournalEntries, etc.)
- Create AccountsPage with account type filtering and stats
- Create JournalEntriesPage with journal filtering and post/cancel actions
- Create InvoicesPage with customer/supplier filtering and validation

MGN-010 Financial frontend implementation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 10:12:43 -06:00
32f2c06264 feat(sales): Add complete sales frontend pages and hooks (MGN-013)
New pages:
- SalesOrdersPage: Sales orders list with confirm/cancel/invoice actions
- QuotationsPage: Quotations management with send/accept/reject/convert actions

New hooks:
- useSalesOrders: Fetch and manage sales orders with CRUD and actions
- useSalesOrder: Single order management with line items
- useQuotations: Quotations lifecycle management
- useQuotation: Single quotation fetching

Features:
- Status filters (draft, sent, sale, done, cancelled)
- Date range filtering
- Invoice and delivery status tracking
- PDF download for quotations
- Convert quotation to sales order

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 10:03:15 -06:00
28c8bbb768 feat(inventory): Add complete inventory frontend pages and hooks (MGN-011)
New pages:
- StockLevelsPage: View and manage stock levels by warehouse/product
- MovementsPage: Stock movements history with filters and actions
- InventoryCountsPage: Physical inventory counts management
- ReorderAlertsPage: Low stock alerts and reorder suggestions
- ValuationReportsPage: Inventory valuation by FIFO/average cost

New hooks:
- useStockLevels: Fetch and manage stock levels
- useMovements: Fetch stock movements with CRUD operations
- useWarehouses: Manage warehouses
- useLocations: Manage warehouse locations
- useStockOperations: Stock adjust, transfer, reserve operations
- useInventoryCounts: Inventory count lifecycle management
- useInventoryAdjustments: Inventory adjustments management

Extended API client with:
- Inventory counts endpoints
- Inventory adjustments endpoints
- Stock valuation endpoints

Extended types with:
- InventoryCount, InventoryCountLine, CreateInventoryCountDto
- InventoryAdjustment, InventoryAdjustmentLine, CreateInventoryAdjustmentDto
- StockValuationLayer, ValuationSummary

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 09:54:51 -06:00
c9e1c3fb06 feat(catalogs): Add fiscal catalog components (MGN-005)
- Add types for fiscal entities (TaxCategory, FiscalRegime, CfdiUse, etc.)
- Add API clients for fiscal endpoints
- Add hooks for fiscal data fetching
- Add components:
  - FiscalRegimeSelect - SAT fiscal regime selector
  - CfdiUseSelect - CFDI use code selector
  - FiscalPaymentMethodSelect - SAT payment method selector
  - FiscalPaymentTypeSelect - PUE/PPD selector
  - TaxCategorySelect - Tax category selector
  - WithholdingTypeSelect - Withholding type selector
  - FiscalDataInput - Compound component for fiscal data collection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 09:31:14 -06:00
94ba9f6bcd feat(catalogs): Add complete catalog frontend module (MGN-005)
- Types: Country, State, Currency, CurrencyRate, Uom, UomCategory, PaymentTerm, DiscountRule
- API clients: countries.api, currencies.api, uom.api
- Hooks: useCountries, useStates, useCurrencies, useCurrencyRates, useLatestRates, useCurrencyConversion, useUomCategories, useUom, useUomConversion, useConversionTable
- Components: CountrySelect, StateSelect, CurrencySelect, CurrencyInput, UomCategorySelect, UomSelect, UomQuantityInput, AddressInput, ConversionTableDisplay, CurrencyRatesDisplay

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 09:09:41 -06:00
28b27565f8 feat(billing): Add billing-usage frontend module with components, pages and routes
- Add billing-usage feature module with types, API clients, hooks, and components
- Create PlanCard, PlanSelector, SubscriptionStatusBadge, InvoiceList, UsageSummaryCard, CouponInput components
- Add BillingPage, PlansPage, InvoicesPage, UsagePage
- Update routes to include billing section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 08:23:59 -06:00
b996680777 chore: Add .gitignore for build artifacts
Ignore node_modules, dist, tsbuildinfo and other common artifacts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 06:23:50 -06:00
6cb8e99f50 feat(frontend): Add API services for invoices, inventory, sales, purchases
- Add invoices feature: types, API service for CRUD, validation, payments, PDF
- Add inventory feature: types, API service for stock, movements, warehouses, locations
- Add sales feature: types, API service for orders, quotations, PDF
- Add purchases feature: types, API service for orders, receipts

Part of FASE 2: P0 Frontend API Services
2026-01-18 02:47:54 -06:00
d3fdc0b9c0 Initial commit - erp-core-frontend-web 2026-01-04 06:40:18 -06:00