# g-h-o-s-t-h-u-b/dailycollection architecture

> Architecture diagram of the GitHub repository g-h-o-s-t-h-u-b/dailycollection, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/g-h-o-s-t-h-u-b/dailycollection
- Repository: https://github.com/g-h-o-s-t-h-u-b/dailycollection

## Overview

Dokaan appears to be an ASP.NET Web Forms application for tracking work, agents, customer work entries, expenses, and billing. The visible workflow is staff entering work and related customer details, maintaining work and agent records, and reviewing or updating work entries; dashboard and expense pages provide separate operational views. The excerpts show SQL Server access through shared helpers and direct stored-procedure calls. The README is empty, and several pages are indexed but not excerpted, so their internal relationships are not asserted.

Main entry points: [`commanClass/commanCode.cs`](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/commanClass/commanCode.cs) (SQL Helpers), [`forms/frmWorkEntry.aspx.cs`](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmWorkEntry.aspx.cs) (Work Entry), [`forms/workEntry.aspx.cs`](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/workEntry.aspx.cs) (Work Register), [`forms/addWork.aspx.cs`](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/addWork.aspx.cs) (Work Catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_operations["Work Operations"]
  node_work_entry["Work Entry"]
  node_work_list["Work Register<br/>[workEntry.aspx.cs]"]
  node_work_query["Work Search<br/>[queryWork.aspx.cs]"]
  node_pending["Pending Work"]
  node_processing["Processing Work"]
  node_completed["Completed Work<br/>[doneWork.aspx.cs]"]
  node_rejected["Rejected Work<br/>[rejectWork.aspx.cs]"]
  node_billing["Work Billing"]
  node_expense["Expense Entry<br/>[frmExpense.aspx.cs]"]
end

subgraph group_admin["Setup"]
  node_agent_list["Agent List<br/>[addAgent.aspx.cs]"]
  node_agent_form["Agent Setup"]
  node_work_list_admin["Work Catalog<br/>[addWork.aspx.cs]"]
  node_work_form["Work Setup<br/>[frmAddWork.aspx.cs]"]
end

subgraph group_insights["Reporting"]
  node_dashboard["Dashboard<br/>[Dashboard.aspx.cs]"]
end

subgraph group_data["Data Access"]
  node_shared_data["SQL Helpers<br/>[commanCode.cs]"]
  node_helper_data["Query Helpers<br/>[helperClass.cs]"]
  node_sql_server[("SQL Server")]
end

node_staff(("Staff"))

node_staff -.->|"enters work"| node_work_entry
node_staff -.->|"reviews work"| node_work_list
node_staff -.->|"manages agents"| node_agent_list
node_staff -.->|"manages catalog"| node_work_list_admin
node_staff -.->|"views metrics"| node_dashboard
node_staff -.->|"records expense"| node_expense
node_work_list -.->|"opens bill"| node_billing
node_work_entry -->|"fills lists"| node_shared_data
node_work_entry -->|"writes transactions"| node_sql_server
node_work_list -->|"queries and updates"| node_shared_data
node_work_query -->|"fills and deletes"| node_shared_data
node_agent_form -->|"saves agent"| node_shared_data
node_work_list_admin -->|"fills grid"| node_shared_data
node_work_list_admin -->|"updates catalog"| node_sql_server
node_expense -->|"calls procedure"| node_sql_server
node_helper_data -->|"reads data"| node_sql_server

click node_work_entry "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmWorkEntry.aspx.cs"
click node_work_list "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/workEntry.aspx.cs"
click node_work_query "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/queryWork.aspx.cs"
click node_pending "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/pendingWork.aspx.cs"
click node_processing "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/proccessWork.aspx.cs"
click node_completed "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/doneWork.aspx.cs"
click node_rejected "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/rejectWork.aspx.cs"
click node_billing "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmWorkBill.aspx.cs"
click node_expense "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmExpense.aspx.cs"
click node_dashboard "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/Dashboard.aspx.cs"
click node_agent_list "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/addAgent.aspx.cs"
click node_agent_form "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmAddAgent.aspx.cs"
click node_work_list_admin "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/addWork.aspx.cs"
click node_work_form "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmAddWork.aspx.cs"
click node_shared_data "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/commanClass/commanCode.cs"
click node_helper_data "https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/commanClass/helperClass.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_work_entry,node_work_list,node_work_query,node_pending,node_processing,node_completed,node_rejected,node_billing,node_expense toneBlue
class node_agent_list,node_agent_form,node_work_list_admin,node_work_form toneAmber
class node_dashboard toneMint
class node_shared_data,node_helper_data,node_sql_server toneRose
class node_staff toneIndigo
```

## Components

### Work Operations

- [Work Entry](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmWorkEntry.aspx.cs): `forms/frmWorkEntry.aspx.cs`
- [Work Register](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/workEntry.aspx.cs): `forms/workEntry.aspx.cs`
- [Work Search](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/queryWork.aspx.cs): `forms/queryWork.aspx.cs`
- [Pending Work](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/pendingWork.aspx.cs): `forms/pendingWork.aspx.cs`
- [Processing Work](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/proccessWork.aspx.cs): `forms/proccessWork.aspx.cs`
- [Completed Work](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/doneWork.aspx.cs): `forms/doneWork.aspx.cs`
- [Rejected Work](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/rejectWork.aspx.cs): `forms/rejectWork.aspx.cs`
- [Work Billing](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmWorkBill.aspx.cs): `forms/frmWorkBill.aspx.cs`
- [Expense Entry](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmExpense.aspx.cs): `forms/frmExpense.aspx.cs`

### Setup

- [Agent List](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/addAgent.aspx.cs): `forms/addAgent.aspx.cs`
- [Agent Setup](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmAddAgent.aspx.cs): `forms/frmAddAgent.aspx.cs`
- [Work Catalog](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/addWork.aspx.cs): `forms/addWork.aspx.cs`
- [Work Setup](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/frmAddWork.aspx.cs): `forms/frmAddWork.aspx.cs`

### Reporting

- [Dashboard](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/forms/Dashboard.aspx.cs): `forms/Dashboard.aspx.cs`

### Data Access

- [SQL Helpers](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/commanClass/commanCode.cs): `commanClass/commanCode.cs`
- [Query Helpers](https://github.com/g-h-o-s-t-h-u-b/dailycollection/blob/master/commanClass/helperClass.cs): `commanClass/helperClass.cs`
- **SQL Server**

### Other components

- **Staff**

## Connections

- Staff → Work Entry: enters work
- Staff → Work Register: reviews work
- Staff → Agent List: manages agents
- Staff → Work Catalog: manages catalog
- Staff → Dashboard: views metrics
- Staff → Expense Entry: records expense
- Work Register → Work Billing: opens bill
- Work Entry → SQL Helpers: fills lists (evidence: `forms/frmWorkEntry.aspx.cs`)
- Work Entry → SQL Server: writes transactions (evidence: `forms/frmWorkEntry.aspx.cs`)
- Work Register → SQL Helpers: queries and updates (evidence: `forms/workEntry.aspx.cs`)
- Work Search → SQL Helpers: fills and deletes (evidence: `forms/queryWork.aspx.cs`)
- Agent Setup → SQL Helpers: saves agent (evidence: `forms/frmAddAgent.aspx.cs`)
- Work Catalog → SQL Helpers: fills grid (evidence: `forms/addWork.aspx.cs`)
- Work Catalog → SQL Server: updates catalog (evidence: `forms/addWork.aspx.cs`)
- Expense Entry → SQL Server: calls procedure (evidence: `forms/frmExpense.aspx.cs`)
- Query Helpers → SQL Server: reads data (evidence: `commanClass/helperClass.cs`)
