Operations calendar
Month, week and day views where events are dragged; the server checks the availability of suppliers and passengers and requires a reason for each change.
Internal system for a tour operator in San Pedro de Atacama: sales, calendar, cash, wholesale invoicing and commissions in one place.
The problem
The company ran on an inherited Power App used by the manager and the operators. It covered the basics (sales, quotes, transfers, passengers and tours), but searching and editing were slow, validations were weak and there was no real audit trail.
Functions the operation already needed were also missing: an operations calendar, passenger receptions at hotels, permissions by module, fast search and editing, and working documents such as the daily route sheet and the administrative spreadsheets.
The Power App held 3 years of operation (2023 to 2026) in Microsoft Lists, with columns added and renamed over time and references between lists maintained by hand. Moving that data into an orderly database meant extracting, cleaning and normalising it by period.
The solution
The new system covers everything the Power App did (sales, passengers, transfers, tours and operator assignment) with fast tables, filters and forms that validate the same way in the browser and on the server.
It adds what did not exist before: an events calendar where activities are dragged and the server checks for conflicts, receptions, wholesale invoicing, commissions, cash flow in CLP and USD, statistics, alerts, approvals and export to PDF and Excel. Each role sees only the modules it needs.
The 3 years of data were migrated in three steps: extraction from the Microsoft lists into a master Excel file, cleaning and normalisation in a second Excel file, and loading by period with a program that validated each batch. The system is independent of the client's company website and online shop, with its own database.
Month, week and day views where events are dragged; the server checks the availability of suppliers and passengers and requires a reason for each change.
Extraction from Microsoft Lists, normalisation in Excel and loading by period, with each batch validated before reaching production.
The sales of a wholesaler in a date range are selected and a consolidated billing PDF is generated; what used to be a monthly manual job now takes less than a minute.
Charts of sales, occupancy and countries served, plus PDF and Excel by day, range or selection: daily route sheet, passenger voucher and spreadsheets.
Each role has permissions to view, create, edit, delete or approve in each module, configurable from the interface and always checked on the server.
It records passengers arriving from other agencies and those sent to others, with their voucher and the trail of the original sale; this used to be handled over WhatsApp and Excel.
The screens of this system are confidential. These are reconstructions with the same structure and invented data.
Technology
Next.js 16
Heavy forms and operations that save a sale, its passengers and its events in one step are handled on the server, without building a parallel API.
Prisma 7 + PostgreSQL (Neon)
The relations between sale, passengers, event, supplier and commission are dense, and Prisma provides versioned migrations and types from one end of the application to the other.
Better Auth
Permissions by module were needed, not only roles, and Better Auth is flexible enough to model them.
TanStack Table + TanStack Virtual
The sales and passenger lists have hundreds of rows with combined filters, which are displayed without losing smoothness.
TanStack Form + Zod 4
Long forms, such as a sale with several passengers, with a single validation schema for the browser and the server.
DnD Kit
It lets events be dragged on the calendar, with the keyboard too, in the month, week and day views.
Timeline
October 2025
Start
First contact, definition of the scope and the decision to replace the Power App with a web system of their own.
October 2025 to May 2026
Development in stages
Receptions, transfers and suppliers; then invoicing and statistics; after that roles, alerts, commissions and approvals; and finally calendar and exports.
May 2026
User testing
The manager and the operators test the system while the historical data from 2023 to 2026 is migrated.
June 2026
Go-live
End of testing and final load of the historical data.
Next step
The assessment is free: we review your process and tell you what we would build, how long it takes and what it costs.
We reply within 24 business hours