BYTE ON
Software Company
TKAMOL · Documentation
BYTE ONSOFTWARE COMPANY
TKAMOL · Legal Operations SaaS · Documentation
Part II · System Docs

Chapter 3 - System Workflows and State Transitions

WF-1 Project Creation → Billing (?) workflow not relevant. This section documents flows verified from code.

WF-EMAIL-AI assignment (detailed already in major-workflow.mmd)

Prompt utilises:

WF-TASK-KANBAN

WF-EXPENSE APPROVAL

WF-INVOICE-001 (public checkout)

frontend payment page relies on InvoicePaymentController token sales endpoints and /api/payment-methods filtered list & payment methods remote. Payment gateway callback update. Specifically endpoints (payment/{token}) are public, no login needed.

WF-ZOOM

WF-REPORTS

Every report keeps JSON stats tables (task_stats, report JSON agregates).

Diagrams

See Appendix A - Diagrams.

State Transitions Summary

EntityStatus valuesEvidence
Projectplanning/active/on_hold/completed/cancelledprojects migration
Task stagecustom, reordered per workspaceTaskStage migration
Timesheetdraft/submitted/approved/rejectedtimesheets migration
Expensepending/approved/rejected/requires_infoproject_expenses migration
Invoicedraft/sent/viewed/paid/partial_paid/overdue/cancelledinvoice migration
Bug statuscustom per workspacebug_statuses
Zoom meetinginferred standard statuseszoom_meetings migration
Monthly reportdraft/pending_review/approved/rejectedmonthly_reports migration
AI batch logenum? (started/processing completed/failed?)migration inside of ai_batch_logs (status string)
TaskEvent event_typeassigned/submitted/returned/approvedtask_events table
AI chat conversationstring field (status) default 20 chars; likely open/closedai_chat_conversations
Expense workflowpending/approved/rejected/waiting/cancelledexpense_workflows
Plan orderpending/approved/rejected/cancelledplan_orders migration
Payment statusexpected by Invoice/payment flowsPayments migration

Sequence diagrams main workflows highlighted under each UC in Part I - Software Requirements Specification, Chapter 4 (Use Cases and Acceptance Criteria).>

← Functional Modules Roles and Permissions →