How rhems95/pecit-smart-inventory-system works
PSIS is a Laravel school inventory and requisition system. Faculty requests pass through accounting review and admission/admin approval before supply release; student purchases pass through shop checkout, payment and accounting verification before release. Both workflows reserve stock before release, when on-hand quantities are deducted and movements logged. The map also includes inventory operations, reporting, notifications, and AI-assisted insights documented in the README. Several controllers and services are represented from README-described capabilities; their internal wiring was not fully sampled.
Main entry points: SupplyRequestService.php Request Workflow · InventoryService.php Stock and Reservations · SupplyOperationsController.php Supply Operations · AccountingController.php Accounting Review
Components 24
Requests and Purchases
- Faculty Requests
app/Http/Controllers/FacultyRequestController.php - Student Purchases
app/Http/Controllers/PurchaseController.php - Uniform Shop
app/Http/Controllers/ShopController.php - Request Workflow
app/Services/SupplyRequestService.php - Purchase Workflow
app/Services/PurchaseRequestService.php
Inventory Operations
- Inventory Management
app/Http/Controllers/InventoryController.php - Supply Operations
app/Http/Controllers/SupplyOperationsController.php - Stock and Reservations
app/Services/InventoryService.php - Stock Cards
app/Services/StockCardService.php - Inventory and Movements
app/Models/Inventory.php
Administration and Reporting
- Accounting Review
app/Http/Controllers/AccountingController.php - Administration
app/Http/Controllers/Admin/DepartmentController.php - Reports
app/Http/Controllers/ReportController.php - Audit Logging
app/Services/AuditLogService.php
Notifications and AI
- Notifications
app/Services/NotificationService.php - AI Insights
app/Services/AiInsightService.php - Dashboard
app/Http/Controllers/DashboardController.php - Ollama
Application Core
- Authentication
app/Http/Controllers/Auth/AuthenticatedSessionController.php
Other components
- Faculty
- Student
- Accounting
- Admission / Admin
- Supply Personnel
Connections 28
- Faculty → Faculty Requests: submits requests
- Faculty Requests → Request Workflow: manages workflow
- Accounting → Accounting Review: reviews requests
- Accounting Review → Request Workflow: reviews
- Admission / Admin → Request Workflow: approves requests
- Student → Uniform Shop: browses and carts
- Uniform Shop → Student Purchases: checks out
- Student → Student Purchases: submits purchase
- Accounting → Accounting Review: verifies payments
- Accounting Review → Purchase Workflow: verifies
- Supply Personnel → Supply Operations: releases items
- Supply Operations → Request Workflow: releases requests
- Supply Operations → Purchase Workflow: releases purchases
- Request Workflow → Stock and Reservations: reserves and releases
- Purchase Workflow → Stock and Reservations: reserves and releases
- Inventory Management → Stock and Reservations: records stock changes
- Supply Operations → Stock and Reservations: records movements
- Stock and Reservations → Inventory and Movements: updates stock
- Inventory Management → Stock Cards: requests history
- Stock Cards → Inventory and Movements: reads movements
- Accounting → Reports: accesses reports
- Admission / Admin → Administration: manages departments
- Administration → Audit Logging: records changes
- Authentication → Audit Logging: records login events
- Dashboard → AI Insights: shows insights
- AI Insights → Ollama: requests chat wording
- Notifications → Student: notifies
- Notifications → Faculty: notifies