type
Screen Set
title
Staff screens
description
Teachers and salaries — routes from routes_teachers.go.
tags
screens, teachers, salaries, staff
status
stable
stale_after
Fri Apr 30 2027 02:00:00 GMT+0200 (Central European Summer Time)
generated
techwriter/mimo-v2.6-flash · Sat Oct 31 2026 11:02:38 GMT+0100 (Central European Standard Time)
sources
routes → internal/interfaces/http/routes_teachers.go

Staff screens

internal/interfaces/http/routes_teachers.go. Teachers are users with the teacher role; the teachers resource is manager-only by default (not granted to accountant/teacher/parent).

Method Path Gate
GET /teachers teachers read
GET /teachers/new teachers write
POST /teachers teachers write
GET /teachers/:id teachers read (details)
GET/POST /teachers/:id/edit teachers write
POST /teachers/:id/delete teachers delete
POST /teachers/:id/salary-pay salaries write (pay modal from the teacher page)
GET /salaries salaries read
GET /salaries/new salaries write
POST /salaries salaries write
POST /salaries/:id/pay salaries write
GET/POST /salaries/:id/edit salaries write
POST /salaries/:id/delete salaries delete

A salary may be attached to a non-teacher user; the pay flow resolves the employee's default currency from their existing salaries.

Rendered from simple-lms/screens/staff.md · OKF bundle · regenerate with npm run render