How kavyysachaniya/priinteve-admin-panel works
Priinteve Business OS is an internal operations and accounting panel for a print, design, and digital-services business. Staff sign in, manage a customer sale from quotation through order or invoice and payment, then track fulfillment and accounting. The graph combines that documented workflow with the README’s major planning, finance, and administration capabilities. The README describes the page/action/service layering; sampled code confirms project API delegation and task service persistence. Most individual modules were not sampled, so their detailed call wiring is not inferred.
Main entry points: layout.tsx Signed-in pages · utils.ts Server Actions · prisma.ts Prisma data access · quotations.ts Quotations
Components 22
Sales
- Customer records
lib/services/customers.ts - Quotations
lib/services/quotations.ts - Orders
lib/services/orders.ts - Invoices
lib/services/invoices.ts - Payments
lib/services/payments.ts - Products and services
lib/services/products.ts
Operations
- Production
lib/services/production.ts - Deliveries
lib/services/deliveries.ts
Planning
- Projects and timers
lib/services/projects.ts - Planner and calendar
lib/services/calendar.ts - Tasks and notes
lib/services/tasks.ts
Finance
- Finance overview
lib/services/finance.ts - Expenses and vendors
lib/services/expenses.ts - Accounts and journals
lib/services/accounting/accounts.ts - Statements and reports
lib/services/accounting/reports.ts
Platform
- Sign in
app/(auth)/login/page.tsx - Authentication
auth.ts - Signed-in pages
app/(app)/layout.tsx - Server Actions
lib/actions/utils.ts - Prisma data access
lib/prisma.ts - Users and settings
lib/services/settings.ts
Other components
- Staff
Connections 48
- Staff → Sign in: signs in
- Sign in → Authentication: authenticates
- Staff → Signed-in pages: uses
- Signed-in pages → Authentication: checks session
- Signed-in pages → Customer records: reads data
- Signed-in pages → Quotations: reads data
- Signed-in pages → Orders: reads data
- Signed-in pages → Invoices: reads data
- Signed-in pages → Payments: reads data
- Signed-in pages → Production: reads data
- Signed-in pages → Deliveries: reads data
- Signed-in pages → Projects and timers: reads data
- Signed-in pages → Planner and calendar: reads data
- Signed-in pages → Tasks and notes: reads data
- Signed-in pages → Finance overview: reads data
- Signed-in pages → Expenses and vendors: reads data
- Signed-in pages → Accounts and journals: reads data
- Signed-in pages → Statements and reports: reads data
- Signed-in pages → Users and settings: reads data
- Signed-in pages → Products and services: reads data
- Signed-in pages → Server Actions: submits changes
- Server Actions → Authentication: checks permission
- Server Actions → Customer records: calls service
- Server Actions → Quotations: calls service
- Server Actions → Orders: calls service
- Server Actions → Invoices: calls service
- Server Actions → Payments: calls service
- Server Actions → Production: calls service
- Server Actions → Deliveries: calls service
- Server Actions → Projects and timers: calls service
- Server Actions → Planner and calendar: calls service
- Server Actions → Tasks and notes: calls service
- Server Actions → Expenses and vendors: calls service
- Server Actions → Accounts and journals: calls service
- Server Actions → Users and settings: calls service
- Quotations → Invoices: accepted sale
- Quotations → Orders: accepted sale
- Invoices → Payments: records payment
- Payments → Accounts and journals: updates accounts
- Customer records → Quotations: customer context
- Accounts and journals → Statements and reports: supplies balances
- Customer records → Prisma data access: reads and writes
- Quotations → Prisma data access: reads and writes
- Orders → Prisma data access: reads and writes
- Invoices → Prisma data access: reads and writes
- Payments → Prisma data access: reads and writes
- Products and services → Prisma data access: reads and writes
- Production → Prisma data access: reads and writes