How pesterian/mti-database works
Repair Management is a Tkinter desktop application for maintaining customer, device, repair-shop, supplier, module, repair, and payment records in SQL Server. The user opens a section from the main menu; its configured window uses shared CRUD forms for listing, validating, and saving records. Device, repair, and payment choices are selected through database-backed forms, while supplier and repair sections also manage module associations. The excerpts show the shared UI-to-database boundary; entity modules are represented by their documented configuration and entry-point roles.
Main entry points: main.py Main menu · ui_common.py CRUD windows · database.py Database helpers · suppliers.py Module suppliers
Components 15
Desktop interface
- Main menu
main.py
Management sections
- Customers
customers.py - Devices
devices.py - Repair shops
repair_shops.py - Module suppliers
suppliers.py - Modules
modules.py - Repairs
repairs.py - Payments
payments.py
Shared workflows
- CRUD windows
ui_common.py - Forms and validation
ui_common.py - Module associations
ui_common.py
Persistence
- Database helpers
database.py - SQL Server
- Database schema
sql/create_database.sql
Other components
- User
Connections 23
- User → Main menu: opens
main.py - Main menu → Customers: opens section
main.py - Main menu → Devices: opens section
main.py - Main menu → Repair shops: opens section
main.py - Main menu → Module suppliers: opens section
main.py - Main menu → Modules: opens section
main.py - Main menu → Repairs: opens section
main.py - Main menu → Payments: opens section
main.py - Customers → CRUD windows: configures
customers.py - Devices → CRUD windows: configures
devices.py - Repair shops → CRUD windows: configures
repair_shops.py - Module suppliers → CRUD windows: configures
suppliers.py - Modules → CRUD windows: configures
modules.py - Repairs → CRUD windows: configures
repairs.py - Payments → CRUD windows: configures
payments.py - CRUD windows → Forms and validation: opens
ui_common.py - Module suppliers → Module associations: enables
suppliers.py - Repairs → Module associations: enables
repairs.py - CRUD windows → Database helpers: loads records
ui_common.py - Forms and validation → Database helpers: reads and saves
ui_common.py - Module associations → Database helpers: reads and updates
ui_common.py - Database helpers → SQL Server: connects
README.md - Database schema → SQL Server: creates tables
README.md