Commit Graph

12 Commits

Author SHA1 Message Date
HarithaRandunu 0d2b0d553d Facility booking-mode redesign, Classes tab, and calendar quick-book
Implements the facility-classes-booking-dashboard plan (frontend):

- Facility create/edit replaces the single Booking Mode dropdown with
  two independent checkboxes (Classes / Walk-in booking), showing both
  capacity fields when both apply.
- New Classes tab (Memberships): create/edit recurring classes
  (Daily/Weekly/Monthly/Custom), view occurrence history, mark an
  occurrence not held, and a "Manage Plan" action that creates a
  membership plan linked to that class (with an optional "also grant
  gym access" toggle). Old Sessions tab/dialog removed from Bookings,
  superseded by this.
- Booking Dashboard calendar now shows class occurrences as distinct
  blocks (capacity/booked count, muted+dashed when not held and open
  again), clicking any event opens a status/payment detail dialog, and
  dragging a time range in Day/Week view jumps to Book Now with the
  time pre-filled (snapped to 15-minute marks).
- Renamed adhoc-booking-tab.tsx to walkin-booking-tab.tsx (component
  WalkInBookingTab, tab key "book-now") and every other "AdHoc"
  reference to "WalkIn" for a clearer, simpler name.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-09 14:27:17 +05:30
HarithaRandunu 6263c99767 Add Stock Tracking tab to Inventory
New read-only ledger tab combining every GRN, Sale and Return across
all products into one filterable table (type, product, category,
date range), showing all movements by default.
2026-10-09 14:22:19 +05:30
HarithaRandunu 4a9ebe07b8 feat: add inventory management components and API integration
- Implemented InventorySalesTab for recording and viewing sales.
- Created InventorySuppliersTab for managing suppliers.
- Developed InventoryView to consolidate inventory-related tabs.
- Added API functions for handling products, suppliers, sales, and GRNs.
- Defined necessary TypeScript models for inventory entities.
- Updated navigation to include an Inventory section.
2026-10-07 15:43:17 +05:30
Dhananjaya99 01fc955764 fix: update API URLs in production environment configuration 2026-10-06 18:04:03 +05:30
Dhananjaya99 97e6b1d391 fix: adjust formatting in OnboardingLayoutProps interface
CI/CD - Vijaya hexafitness web / Build & Deploy (Test) (pull_request) Failing after 10m51s
CI/CD - Vijaya hexafitness web / Build & Deploy (pull_request) Failing after 13m27s
2026-10-06 16:29:25 +05:30
kalana_Thilakarathna dbf9ffc340 Merge pull request 'Update Dockerfile to use Node.js 22-alpine and add CI/CD workflow for build and deployment' (#2) from production into dev
Reviewed-on: #2
2026-10-06 10:51:36 +00:00
ashan_rusiru 9428c0055e Merge pull request 'Feat/booking new 0928' (#1) from feat/booking-new-0928 into dev
Reviewed-on: #1
2026-10-06 10:49:17 +00:00
Kalana B. Thilakarathna d5dc959f56 Update Dockerfile to use Node.js 22-alpine and add CI/CD workflow for build and deployment 2026-10-06 16:17:43 +05:30
HarithaRandunu 698fd4239b feat: integrate FullCalendar for booking management and add booking dashboard
- Added FullCalendar component to display bookings in a calendar view.
- Implemented BookingDashboardTab to show summary statistics including bookings today, revenue, checked-in guests, and outstanding payments.
- Created BookingInvoicesTab to manage and display booking payment receipts separately from membership invoices.
- Enhanced AdhocBookingTab to allow selection of existing members for guest bookings.
- Updated BookingRosterTab to include payment methods and improved UI for guest identification.
- Introduced new API endpoints for fetching booking invoices and dashboard summaries.
- Updated models to support new features including payment methods and invoice structures.
2026-10-01 03:45:55 +05:30
HarithaRandunu 0ba1e6a9e6 feat: add hours, minutes, and price per hour fields to AdhocBookingTab; update booking price calculation 2026-09-30 11:41:53 +05:30
HarithaRandunu 23ae7b39d0 refactor: replace PlacesView with FacilitiesView in MembershipsView and remove PlacesView component
feat: add RfidTagsTab component for managing RFID tags

refactor: update auth API endpoints to use unified auth endpoint

feat: enhance bookings API with AdHoc booking functionality and new booking management features

refactor: update facilities API to include device assignment and availability checks

delete: remove obsolete places API and model definitions

feat: introduce RFID tag management API and model definitions
2026-09-29 13:02:16 +05:30
Dhananjaya99 a1b870fa8a first commit 2026-09-28 11:48:14 +05:30