How satar2007/proyek-informatika works
JIMNY COFFEE is a Laravel point-of-sale and coffee-shop operations system for cashier, admin, and owner roles. The core workflow is cashier order entry, transaction and stock handling, payment, then operational and sales reporting. Separate branches cover staff attendance and administration, owner forecasting and restock decisions, and a role-scoped Smart Assistant with optional local Ollama responses. The graph reflects documented features and sampled call relationships; unsampled route and subsystem wiring is left out rather than inferred.
Main entry points: TransactionController.php Transactions · index.blade.php POS Interface · StockReservationService.php Stock Reservation · jimny-smart-assistant.js Assistant Components
Components 31
POS and Payments
- POS Interface
jimny-coffee/resources/views/kasir/index.blade.php - POS Components
jimny-coffee/resources/js/jimny-pos-components.js - Transactions
jimny-coffee/app/Http/Controllers/TransactionController.php - Transaction Records
jimny-coffee/app/Models/Transaction.php - Order Details
jimny-coffee/app/Models/TransactionDetail.php - Stock Reservation
jimny-coffee/app/Services/StockReservationService.php - Stock Logs
jimny-coffee/app/Models/StockLog.php - Payment Handling
jimny-coffee/app/Services/PaymentService.php - Midtrans Gateway
jimny-coffee/app/Services/MidtransService.php
Store Operations
- Menu Catalog
jimny-coffee/app/Models/Menu.php - Menu Management
jimny-coffee/app/Http/Controllers/MenuController.php - Staff Operations
jimny-coffee/app/Http/Controllers/AttendanceController.php - Staff Records
jimny-coffee/app/Models/Attendance.php - Admin Tools
jimny-coffee/app/Http/Controllers/AdminController.php
Owner Intelligence
- Sales Reports
jimny-coffee/app/Http/Controllers/LaporanController.php - Owner Dashboard
jimny-coffee/app/Http/Controllers/OwnerController.php - Forecasting
jimny-coffee/app/Services/JimnyOwnerV20Service.php - Forecast Engine
jimny-coffee/app/Support/JimnyOwnerForecast.php
Smart Assistant
- Assistant Interface
jimny-coffee/resources/views/components/smart-assistant.blade.php - Assistant Components
jimny-coffee/resources/js/jimny-smart-assistant.js - POS Assistant
jimny-coffee/app/Http/Controllers/SmartAssistantController.php - Owner Assistant
jimny-coffee/app/Http/Controllers/JimnyOwnerV20Controller.php - Local AI Responses
jimny-coffee/app/Http/Controllers/JimnyLocalAiController.php - POS Analytics
jimny-coffee/app/Services/JsaAnalyticsService.php
Access and Security
- Authentication
jimny-coffee/app/Http/Controllers/Auth/AuthenticatedSessionController.php - User Accounts
jimny-coffee/app/Models/User.php - Role Access
jimny-coffee/app/Http/Middleware/RoleMiddleware.php - Security Events
jimny-coffee/app/Support/SecurityEventLogger.php
Other components
- Cashier
- Midtrans
- Ollama
Connections 25
- Cashier → POS Interface: enters orders
- POS Interface → POS Components: uses controls
- POS Interface → Transactions: submits transactions
- Transactions → Transaction Records: reads and updates
jimny-coffee/app/Http/Controllers/TransactionController.php - Transactions → Stock Reservation: reserves stock
jimny-coffee/app/Http/Controllers/TransactionController.php - Stock Reservation → Menu Catalog: checks stock
jimny-coffee/app/Services/StockReservationService.php - Stock Reservation → Stock Logs: records changes
jimny-coffee/app/Services/StockReservationService.php - Transactions → Order Details: manages details
jimny-coffee/app/Http/Controllers/TransactionController.php - Transactions → Midtrans Gateway: handles QRIS
jimny-coffee/app/Http/Controllers/TransactionController.php - Midtrans Gateway → Midtrans: requests payment
jimny-coffee/app/Services/MidtransService.php - Menu Management → Menu Catalog: manages catalog
- Staff Operations → Staff Records: records attendance
- Admin Tools → Menu Management: offers management
- Owner Dashboard → Sales Reports: views sales
- Owner Dashboard → Forecasting: views forecasts
- Forecasting → Forecast Engine: uses forecasts
- Assistant Interface → Assistant Components: uses components
- Assistant Components → POS Assistant: requests insights
- Assistant Components → Local AI Responses: requests chat
- POS Assistant → POS Analytics: queries analytics
jimny-coffee/app/Http/Controllers/SmartAssistantController.php - Owner Assistant → Forecasting: loads forecast data
jimny-coffee/app/Http/Controllers/JimnyOwnerV20Controller.php - Local AI Responses → Ollama: streams chat
jimny-coffee/app/Http/Controllers/JimnyLocalAiController.php - Authentication → User Accounts: authenticates users
jimny-coffee/app/Http/Controllers/Auth/AuthenticatedSessionController.php - Authentication → Security Events: records events
jimny-coffee/app/Http/Controllers/Auth/AuthenticatedSessionController.php - Role Access → User Accounts: checks roles