Commit Graph

7 Commits

Author SHA1 Message Date
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