Challenge
Our education software development work on Edvento (edvento.uz) started with a testing system, not a CRM. A centre builds a test, an applicant takes it through a link and gets a level. That MVP has its own write-up, the adaptive testing SaaS case.
A level is where a centre's work starts. The person still has to join a group, get a slot in the timetable and be charged. Parents need a reminder when a payment is late, and the teacher has to be paid for the lessons actually taught. So tests became one module among many.
The screens were the easy part. The system carries money that does not belong to us: students pay the centre, and the centre pays its teachers. A wrong charge means an argument with a parent or a teacher paid short. All of it sits in one database shared by different centres that must never see each other.
Solution
We fixed the boundaries first. Centres and their branches are separated at the level of database queries. A staff member is linked to every branch, to one, or to a chosen few, and gets no data from a branch outside that list. Owners, administrators, managers and teachers each have different permissions.
Client money lives in its own append-only ledgers, one for student payments, one for teacher pay and one for the centre's expenses. A record cannot be edited or deleted. A trigger in the database forbids it, so the rule does not rest on application code alone. A mistake is corrected by a new record that points to the old one. Every charge keeps what it was built from: the price and where it came from, the lessons scheduled that month and how many of them counted. A year later the amount can still be explained without recalculating anything. The centre's own subscription goes through a separate flow and never mixes with student money.
The charging rules were written down and agreed before the first line of code. A full month costs exactly the monthly price, whatever the number of lessons in it. Join or leave mid-month and you pay for your own lessons. A lesson the centre cancels without rescheduling lowers the charge. With no price set, no charge is created and the student goes on a list of students without a price. The system never fills in a zero. Teacher pay is based on the group price, not on a student's personal discount. The discount is the centre's decision, and the teacher should not pay for it.
Lessons became the common denominator. Attendance, partial-month charges and splitting pay when a teacher changes mid-month are all counted from lessons actually held.
Enquiries move through a pipeline from a new lead to a trial lesson and a place in a group. The level test is built in as one of the stages. Once the applicant finishes it, the lead moves forward on its own, and its card shows the result with a suggested group. Parents get messages in Telegram and by SMS, and a centre can connect a bot of its own.
Stack: Laravel, Vue 3 and Inertia with server-side rendering, PostgreSQL, Redis for queues.
The AI assistant sees only its own centre's data
It is the most carefully built part of Edvento. It is there for the centre owner and answers questions about the business. Who owes what? How much came in and went out this month, where did attendance drop, who stopped coming, which lessons were never marked? How many enquiries arrived and from where, and what is the teacher payroll? It also explains how to do things in the system itself. Cards at the top of the page flag what needs attention now, such as overdue debts, students who missed several lessons in a row, and enquiries stuck at one stage.
Most answers never touch a language model. Common questions are recognised from phrases in Russian, Uzbek and English, and they get a ready answer calculated on the server. Only what the rules do not recognise goes to the model through the Claude API.
We built the protection so that the model has nothing to give away:
· its context holds data from one centre and nothing else
· it reaches that data only through a small set of server functions that read summaries and cannot change anything
· the server sets the centre, the branches and the permissions, and no function input has a field that could even name another centre
· people reach the model as anonymous labels, and phone numbers and emails in a question are hidden
· the server puts real names back only when the answer is displayed, and only for a user allowed to see them
· the question is checked before the model and the answer after it, and code, stray links, key-like strings, other centres' names or invented labels turn the answer into a refusal
We also ran attack scenarios against the assistant on the real model, in Russian, Uzbek and English. We asked for its internal instructions and for another centre's data, and hid commands inside student names and enquiries. No scenario got out another centre's data or internal details. The issues the test did find were fixed the same day.
Every question sent to the model is debited as one unit from the same append-only ledger that holds the centre's balance of tests and SMS. The debit happens before the call. If the answer never arrives, a counter-entry gives the question back. Ready answers take nothing from the quota.
Result
Edvento is live at edvento.uz in Russian, Uzbek and English. At the time of publication, more than 100 training centres use it, and the AI assistant answers owners from their own centres' data.
For a client, this case shows a road most SaaS products travel: from a one-feature MVP to a system that handles other people's money and personal data. Multi-tenancy, append-only ledgers and an AI layer with no direct access to the database carry over to any industry. If your project needs education software development, or a CRM for any business that runs on subscriptions, we would start with the same questions as here. What money will flow through the system, and who is allowed to see what?
Gallery