How jimmy-network1/tp_restaurant works
Restaurant Web is a French-language Django restaurant-management application. Customers browse the public menu and make reservations or orders; staff manage tables, orders, kitchen progress, deliveries, and payments, while managers review reports and inventory. The main order lifecycle spans order creation, kitchen preparation, delivery or service, and cash-desk payment. The map includes documented capabilities whose detailed implementations were not sampled; edges are limited to documented relationships or connections named in the source index.
Main entry points: orders/views.py Order handling · models.py Orders and status · reports/views.py Reports and statistics · dashboard/views.py Operational dashboard
Components 20
Public access
- Public menu and ordering
restaurant_web/public_views.py
Restaurant operations
- Menu and dishes
menu/models.py - Dining tables
tablesapp/models.py - Reservations
reservations/models.py - Reservation handling
reservations/views.py - Orders and status
orders/models.py - Order handling
orders/views.py - Cash desk and payments
billing/models.py - Payment handling
billing/views.py
Kitchen and delivery
- Kitchen tickets
kitchen/models.py - Kitchen workflow
kitchen/views.py - Delivery operations
delivery/views.py
Management
- Stock and suppliers
inventory/models.py - Inventory handling
inventory/views.py - Reports and statistics
reports/views.py - Operational dashboard
dashboard/views.py
Accounts and access
- Accounts and profiles
accounts/models.py - Authentication and roles
accounts/views.py
Other components
- Customer
- Restaurant staff
Connections 31
- Customer → Public menu and ordering: browses and orders
- Customer → Reservation handling: requests reservations
- Restaurant staff → Authentication and roles: signs in
- Restaurant staff → Order handling: manages orders
- Restaurant staff → Reservation handling: manages bookings
- Restaurant staff → Inventory handling: manages stock
- Restaurant staff → Reports and statistics: reviews reports
- Public menu and ordering → Menu and dishes: reads menu
restaurant_web/public_views.py - Public menu and ordering → Orders and status: creates orders
- Reservation handling → Reservations: reads and updates
reservations/views.py - Reservation handling → Dining tables: checks availability
reservations/views.py - Order handling → Orders and status: creates and updates
orders/views.py - Order handling → Menu and dishes: reads dishes
orders/views.py - Order handling → Dining tables: checks tables
orders/views.py - Order handling → Reservations: reads reservations
orders/views.py - Order handling → Kitchen tickets: records kitchen work
orders/views.py - Kitchen workflow → Orders and status: updates order status
kitchen/views.py - Delivery operations → Orders and status: assigns and updates
delivery/views.py - Payment handling → Cash desk and payments: records payments
billing/views.py - Payment handling → Orders and status: marks paid
billing/views.py - Payment handling → Accounts and profiles: writes audit logs
billing/views.py - Inventory handling → Stock and suppliers: manages stock records
inventory/views.py - Reports and statistics → Cash desk and payments: aggregates payments
reports/views.py - Reports and statistics → Orders and status: aggregates orders
reports/views.py - Reports and statistics → Stock and suppliers: reads stock data
reports/views.py - Reports and statistics → Menu and dishes: ranks dishes
reports/views.py - Operational dashboard → Cash desk and payments: reads payments
dashboard/views.py - Operational dashboard → Orders and status: reads orders
dashboard/views.py - Operational dashboard → Reservations: reads reservations
dashboard/views.py - Operational dashboard → Stock and suppliers: reads inventory
dashboard/views.py - Authentication and roles → Accounts and profiles: manages profiles
accounts/views.py