@adminide-stack/clock-tik-browser 12.0.22-alpha.0 → 12.0.22-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/lib/templates/content/content-manifest.json +1075 -64
  2. package/lib/templates/content/docs/books/books-overview.md +93 -0
  3. package/lib/templates/content/docs/books/dashboard.md +133 -0
  4. package/lib/templates/content/docs/books/expenses.md +151 -0
  5. package/lib/templates/content/docs/books/notes.md +102 -0
  6. package/lib/templates/content/docs/books/purchase-orders.md +142 -0
  7. package/lib/templates/content/docs/books/quotes.md +152 -0
  8. package/lib/templates/content/docs/books/sales-orders.md +142 -0
  9. package/lib/templates/content/docs/books/vendor-credits.md +135 -0
  10. package/lib/templates/content/docs/books/vendors.md +142 -0
  11. package/lib/templates/content/docs/gettingstarted.md +1 -1
  12. package/lib/templates/content/docs/hrm/dashboard.md +162 -0
  13. package/lib/templates/content/docs/hrm/hr-letters.md +66 -0
  14. package/lib/templates/content/docs/hrm/hrm-overview.md +50 -0
  15. package/lib/templates/content/docs/hrm/leave.md +85 -0
  16. package/lib/templates/content/docs/hrm/members.md +79 -0
  17. package/lib/templates/content/docs/hrm/my-space.md +173 -0
  18. package/lib/templates/content/docs/hrm/offboarding.md +63 -0
  19. package/lib/templates/content/docs/hrm/onboarding.md +115 -0
  20. package/lib/templates/content/docs/hrm/settings.md +158 -0
  21. package/lib/templates/content/docs/hrm/travel.md +94 -0
  22. package/lib/templates/content/docs/{timetracking-main.md → timer/timetracking-main.md} +1 -1
  23. package/lib/templates/content/docs/{timetracking.md → timer/timetracking.md} +8 -8
  24. package/lib/templates/static/img/hrm/dashboard-candidates-employees.png +0 -0
  25. package/lib/templates/static/img/hrm/dashboard-overview.png +0 -0
  26. package/lib/templates/static/img/hrm/dashboard-pending-approvals.png +0 -0
  27. package/lib/templates/static/img/hrm/dashboard-pending-letters.png +0 -0
  28. package/lib/templates/static/img/hrm/dashboard-pending-offboarding.png +0 -0
  29. package/lib/templates/static/img/hrm/dashboard-pending-travels.png +0 -0
  30. package/lib/templates/static/img/hrm/dashboard-trends-analytics.png +0 -0
  31. package/lib/templates/static/img/hrm/hr-letters-add-request.png +0 -0
  32. package/lib/templates/static/img/hrm/hr-letters-main.png +0 -0
  33. package/lib/templates/static/img/hrm/hrm-dashboard.png +0 -0
  34. package/lib/templates/static/img/hrm/hrm-offboarding.png +0 -0
  35. package/lib/templates/static/img/hrm/hrm-onboarding.png +0 -0
  36. package/lib/templates/static/img/hrm/hrm-overview-time-logs.png +0 -0
  37. package/lib/templates/static/img/hrm/hrm-overview.png +0 -0
  38. package/lib/templates/static/img/hrm/hrm-settings.png +0 -0
  39. package/lib/templates/static/img/hrm/hrm-sidebar-expanded.png +0 -0
  40. package/lib/templates/static/img/hrm/hrm-travel.png +0 -0
  41. package/lib/templates/static/img/hrm/inv-members.png +0 -0
  42. package/lib/templates/static/img/hrm/letter-hr-letters.png +0 -0
  43. package/lib/templates/static/img/hrm/members-invites.png +0 -0
  44. package/lib/templates/static/img/hrm/members-list.png +0 -0
  45. package/lib/templates/static/img/hrm/myspace-attendance.png +0 -0
  46. package/lib/templates/static/img/hrm/offboarding-full.png +0 -0
  47. package/lib/templates/static/img/hrm/onboarding-candidates.png +0 -0
  48. package/lib/templates/static/img/hrm/onboarding-instances.png +0 -0
  49. package/lib/templates/static/img/hrm/onboarding-main.png +0 -0
  50. package/lib/templates/static/img/hrm/onboarding-tasks.png +0 -0
  51. package/lib/templates/static/img/hrm/org-overview-hierarchy.png +0 -0
  52. package/lib/templates/static/img/hrm/settings-main.png +0 -0
  53. package/lib/templates/static/img/hrm/settings-permissions-full.png +0 -0
  54. package/lib/templates/static/img/hrm/settings-permissions.png +0 -0
  55. package/lib/templates/static/img/hrm/settings-user-access.png +0 -0
  56. package/lib/templates/static/img/hrm/timeoff-balance.png +0 -0
  57. package/lib/templates/static/img/hrm/timeoff-requests.png +0 -0
  58. package/lib/templates/static/img/hrm/timeoff-timeline.png +0 -0
  59. package/lib/templates/static/img/hrm/timeoff-timeoff.png +0 -0
  60. package/lib/templates/static/img/hrm/travel-new-request-menu.png +0 -0
  61. package/lib/templates/static/img/hrm/travel-request-form.png +0 -0
  62. package/lib/templates/static/img/timer/timer-mode-new2.jpg +0 -0
  63. package/package.json +2 -2
  64. /package/lib/templates/static/img/{timer-billable-toggle.png → timer/timer-billable-toggle.png} +0 -0
  65. /package/lib/templates/static/img/{timer-dashboard.png → timer/timer-dashboard.png} +0 -0
  66. /package/lib/templates/static/img/{timer-entries-list.png → timer/timer-entries-list.png} +0 -0
  67. /package/lib/templates/static/img/{timer-page-overview.png → timer/timer-page-overview.png} +0 -0
  68. /package/lib/templates/static/img/{timer-paused.png → timer/timer-paused.png} +0 -0
  69. /package/lib/templates/static/img/{timer-project-dropdown.png → timer/timer-project-dropdown.png} +0 -0
  70. /package/lib/templates/static/img/{timer-running-controls.png → timer/timer-running-controls.png} +0 -0
  71. /package/lib/templates/static/img/{timer-tags-dropdown.png → timer/timer-tags-dropdown.png} +0 -0
  72. /package/lib/templates/static/img/{timer-with-description.png → timer/timer-with-description.png} +0 -0
@@ -0,0 +1,93 @@
1
+ ---
2
+ id: books-overview
3
+ title: Books (Accounting & Finance)
4
+ sidebar_label: Books Overview
5
+ ---
6
+
7
+ ## Books Module
8
+
9
+ Clockbook's **Books** module provides a complete accounting and finance suite for managing your organization's purchases, sales, expenses, vendors, and financial notes — all from one centralized interface.
10
+
11
+ ### Accessing Books
12
+
13
+ Click **Books** in the left sidebar to expand the Books menu. The module contains the following sub-sections:
14
+
15
+ ![Books Sidebar Navigation](/static/img/books/books-sidebar-expanded.png)
16
+
17
+ | Sub-module | Description |
18
+ |------------|-------------|
19
+ | [**Purchase Orders**](/docs/books/purchase-orders) | Create and manage purchase orders to vendors |
20
+ | [**Expenses**](/docs/books/expenses) | Track, categorize, and manage business expenses |
21
+ | [**Vendors**](/docs/books/vendors) | Maintain your vendor/supplier directory |
22
+ | [**Vendor Credits**](/docs/books/vendor-credits) | Issue and track credit notes against vendors |
23
+ | [**Quotes**](/docs/books/quotes) | Create and send sales quotes to customers |
24
+ | [**Sales Orders**](/docs/books/sales-orders) | Manage confirmed sales orders |
25
+ | [**Notes**](/docs/books/notes) | Organize financial notes and memos |
26
+ | [**Dashboard**](/docs/books/dashboard) | Visual analytics and customizable panels |
27
+
28
+ ---
29
+
30
+ ### Sidebar Structure
31
+
32
+ The Books sidebar organizes pages into two main groups:
33
+
34
+ ```
35
+ Books
36
+ ├── Purchase
37
+ │ ├── Purchase Orders
38
+ │ ├── Expenses
39
+ │ ├── Vendors
40
+ │ └── Vendor Credits
41
+ ├── Sales
42
+ │ ├── Quotes
43
+ │ └── Sales Orders
44
+ └── Notes
45
+ ```
46
+
47
+ ---
48
+
49
+ ### Key Features at a Glance
50
+
51
+ - **Purchase management** — Create purchase orders, track delivery status, and manage vendor relationships
52
+ - **Expense tracking** — Log expenses with receipt uploads, categorize by account, and set up recurring expenses
53
+ - **Vendor directory** — Maintain a full vendor database with contacts, bank details, and payment terms
54
+ - **Vendor credits** — Issue credit notes with PDF generation and attachment support
55
+ - **Sales quotes** — Generate professional quotes with line items, taxes, and terms & conditions
56
+ - **Sales orders** — Convert quotes into confirmed orders with shipment tracking
57
+ - **Notes** — Color-coded note cards with tags, pinning, and archiving
58
+ - **Dashboard** — Customizable panels for timesheet, project, and distribution analytics
59
+ - **Role-based permissions** — Granular control over who can view, create, edit, approve, and manage each resource
60
+ - **Auto-generated numbers** — Purchase orders, quotes, sales orders, and vendor credits get auto-incrementing reference numbers with configurable prefixes
61
+ - **Tax support** — TDS/TCS tax type selection with predefined rate tables
62
+ - **File attachments** — Drag-and-drop file uploads on quotes, sales orders, vendor credits, and expense receipts
63
+ - **PDF export** — Generate PDF documents for vendor credits
64
+
65
+ ---
66
+
67
+ ### How Books Works with Other Modules
68
+
69
+ The Books module integrates with several other Clockbook features:
70
+
71
+ - **Dashboard** — Custom dashboard panels pull data from timesheets and projects for financial insights
72
+ - **Members** — Salesperson fields in quotes and sales orders link to organization members
73
+ - **Time Tracker** — Dashboard panels display timesheet approval rates and time distribution analytics
74
+ - **Projects** — Expenses can be linked to specific projects; quotes and sales orders reference project data
75
+
76
+ ---
77
+
78
+ ### Permissions
79
+
80
+ The Books module uses role-based permissions following the pattern `organization.{resource}.{self|others}.{action}`. Resources include:
81
+
82
+ | Resource | Available Actions |
83
+ |----------|------------------|
84
+ | **expenses** | view, create, edit, delete, manage, approve |
85
+ | **purchases** | view, create, edit, delete, manage, approve |
86
+ | **vendors** | view, create, edit, delete, manage |
87
+ | **vendorCredits** | view, create, edit, delete, manage, approve |
88
+ | **quotes** | view, create, edit, delete, manage, convert |
89
+ | **salesOrders** | view, create, edit, delete, manage, approve |
90
+ | **notes** | view, create, edit, delete, manage |
91
+ | **dashboards** | view, create, edit, delete, manage |
92
+
93
+ Permissions can be configured per role through the organization's settings.
@@ -0,0 +1,133 @@
1
+ ---
2
+ id: books-dashboard
3
+ title: Dashboard
4
+ sidebar_label: Dashboard
5
+ ---
6
+
7
+ ## Dashboard
8
+
9
+ The **Dashboard** provides customizable visual analytics and reporting panels. Navigate to `/dashboard` to access it.
10
+
11
+ ![Dashboard Overview](/static/img/books/dashboard-overview.png)
12
+
13
+ ---
14
+
15
+ ### Overview
16
+
17
+ The Dashboard is a flexible, panel-based reporting tool that displays key metrics from your timesheets, projects, and team activity. You can create multiple dashboards, each with a different set of panels tailored to your needs.
18
+
19
+ ---
20
+
21
+ ### Managing Dashboards
22
+
23
+ #### Creating a Dashboard
24
+
25
+ 1. Click the **dashboard selector** dropdown
26
+ 2. Click **Create Dashboard**
27
+ 3. Enter a name for the dashboard
28
+ 4. Configure access control (see below)
29
+ 5. Click **Save**
30
+
31
+ #### Editing a Dashboard
32
+
33
+ 1. Select the dashboard from the dropdown
34
+ 2. Click the **Edit** (pencil) icon
35
+ 3. Modify the name or access settings
36
+ 4. Click **Save**
37
+
38
+ #### Deleting a Dashboard
39
+
40
+ 1. Select the dashboard from the dropdown
41
+ 2. Click the **Delete** icon
42
+ 3. Confirm the deletion
43
+
44
+ #### Setting a Default Dashboard
45
+
46
+ You can mark one dashboard as your default, which loads automatically when you visit the Dashboard page.
47
+
48
+ ---
49
+
50
+ ### Access Control
51
+
52
+ Each dashboard has an access level that determines who can see it:
53
+
54
+ | Access Level | Description |
55
+ |-------------|-------------|
56
+ | **Only Me** | Only you can view this dashboard |
57
+ | **Selected Users** | Share with specific users and/or roles |
58
+ | **Everyone** | Visible to all organization members |
59
+
60
+ When choosing **Selected Users**, you can add individual users or entire roles to the sharing list.
61
+
62
+ ---
63
+
64
+ ### Dashboard Panels
65
+
66
+ Panels are the building blocks of your dashboard. Each panel displays a specific metric or visualization.
67
+
68
+ #### Available Panel Types
69
+
70
+ | Panel | Description |
71
+ |-------|-------------|
72
+ | **Active Projects** | Shows currently active projects and their status |
73
+ | **Billable Time** | Displays billable vs. non-billable time breakdown |
74
+ | **Project Distribution** | Chart showing time distribution across projects |
75
+ | **Project Logs** | Recent project activity and log entries |
76
+ | **Project Timing** | Time spent per project with comparisons |
77
+ | **Task Distribution** | Breakdown of time by task type |
78
+ | **Time Distribution** | Overall time distribution analytics |
79
+ | **Timesheet Approval Rate** | Percentage of approved vs. pending timesheets |
80
+ | **Timesheet** | Timesheet summary and status overview |
81
+ | **Timesheet Status** | Breakdown of timesheet statuses |
82
+ | **User Timing** | Time tracking per team member |
83
+ | **Weekly Summary** | Week-over-week summary of key metrics |
84
+ | **Custom Panel** | Create a custom panel with your own configuration |
85
+
86
+ #### Panel Categories
87
+
88
+ Panels are grouped into these categories for easy browsing:
89
+
90
+ - **Timesheet** — Timesheet-related metrics and statuses
91
+ - **Project Timing** — Project time tracking analytics
92
+ - **Time Distribution** — How time is distributed across categories
93
+ - **Project Distribution** — Project-level distribution charts
94
+ - **Timesheet Status** — Timesheet approval and status breakdowns
95
+ - **User Timing** — Per-user time tracking data
96
+ - **Project Logs** — Activity and logging data
97
+
98
+ ---
99
+
100
+ ### Adding Panels
101
+
102
+ 1. Open the dashboard you want to customize
103
+ 2. Click **Manage Panels** or the **Add Panel** button
104
+ 3. Browse available panel types
105
+ 4. Select the panels you want to add
106
+ 5. Click **Save**
107
+
108
+ ---
109
+
110
+ ### Configuring Panels
111
+
112
+ Each panel has configurable preferences:
113
+
114
+ | Setting | Description |
115
+ |---------|-------------|
116
+ | **Time Period** | Select the time range for data (e.g., This Week, This Month, Custom) |
117
+ | **Date Range** | Custom start and end dates |
118
+ | **Group By** | How data is grouped (e.g., by project, by user, by day) |
119
+ | **Filters** | Additional filters to narrow the displayed data |
120
+
121
+ ---
122
+
123
+ ### Reordering Panels
124
+
125
+ Drag and drop panels to reorder them on your dashboard. The layout is saved automatically and persists across sessions.
126
+
127
+ ---
128
+
129
+ ### Removing Panels
130
+
131
+ 1. Open **Manage Panels**
132
+ 2. Click the **Remove** button on the panel you want to remove
133
+ 3. The panel is removed from the dashboard (it can be re-added later)
@@ -0,0 +1,151 @@
1
+ ---
2
+ id: books-expenses
3
+ title: Expense Management
4
+ sidebar_label: Expenses
5
+ ---
6
+
7
+ ## Expense Management
8
+
9
+ The **Expenses** module (`Books > Purchase > Expenses`) lets you track, categorize, and manage all business expenses. Navigate to `/books/purchase/expenses` to access it.
10
+
11
+ ![Expenses List](/static/img/books/expenses-list.png)
12
+
13
+ ---
14
+
15
+ ### Overview
16
+
17
+ The Expenses page provides a centralized interface for recording business expenses, uploading receipts, categorizing them by account, and tracking their approval status.
18
+
19
+ ---
20
+
21
+ ### Expense List
22
+
23
+ The main page displays a data table of all expenses with:
24
+
25
+ | Column | Description |
26
+ |--------|-------------|
27
+ | **Date** | Date the expense was incurred |
28
+ | **Expense Account** | Category/account the expense is charged to |
29
+ | **Amount** | Expense amount with currency |
30
+ | **Vendor** | Vendor or payee |
31
+ | **Status** | Current status of the expense |
32
+ | **Actions** | View, edit, or delete the expense |
33
+
34
+ #### Searching & Filtering
35
+
36
+ - **Search bar** — Find expenses by description, vendor, or invoice number
37
+ - **Status filter** — Filter by expense status
38
+ - **Expense Account** — Filter by account category
39
+ - **Vendor** — Filter by specific vendor
40
+ - **Customer** — Filter by associated customer
41
+ - **Date range** — Filter by date range (From / To)
42
+ - **Pagination** — Navigate through results
43
+
44
+ ---
45
+
46
+ ### Expense Statuses
47
+
48
+ | Status | Description |
49
+ |--------|-------------|
50
+ | **Draft** | Expense recorded but not yet submitted |
51
+ | **Submitted** | Expense submitted for approval |
52
+ | **Approved** | Expense has been approved |
53
+ | **Rejected** | Expense has been rejected |
54
+ | **Paid** | Expense has been reimbursed or paid |
55
+
56
+ ---
57
+
58
+ ### Creating an Expense
59
+
60
+ ![Expense Form](/static/img/books/expense-form.png)
61
+
62
+ 1. Navigate to **Books > Purchase > Expenses**
63
+ 2. Click **New Expense**
64
+ 3. Fill in the form fields
65
+ 4. Optionally upload receipts
66
+ 5. Click **Save**
67
+
68
+ #### Form Fields
69
+
70
+ | Field | Required | Description |
71
+ |-------|----------|-------------|
72
+ | **Date** | Yes | Date the expense was incurred |
73
+ | **Expense Account** | Yes | Select from categorized account list |
74
+ | **Amount** | Yes | Expense amount |
75
+ | **Currency** | Yes | Transaction currency |
76
+ | **Paid Through** | No | Account/method used for payment |
77
+ | **Vendor** | No | Vendor or payee |
78
+ | **Invoice Number** | No | Vendor's invoice reference number |
79
+ | **Notes** | No | Additional details or description |
80
+ | **Customer** | No | Customer to associate with this expense |
81
+ | **Reporting Tags** | No | Tags for reporting and categorization |
82
+ | **Is Billable** | No | Whether this expense is billable to a customer |
83
+ | **Project** | No | Link expense to a specific project |
84
+ | **Tax Amount** | No | Tax portion of the expense |
85
+ | **Tax Rate** | No | Applicable tax rate |
86
+
87
+ #### Receipt Upload
88
+
89
+ You can attach receipt images or documents to any expense:
90
+
91
+ 1. Click the **Upload Receipt** area in the form
92
+ 2. Select or drag-and-drop your receipt file
93
+ 3. The receipt is uploaded and linked to the expense
94
+
95
+ ---
96
+
97
+ ### Expense Account Categories
98
+
99
+ Expenses are organized into the following account categories:
100
+
101
+ | Category | Examples |
102
+ |----------|---------|
103
+ | **Cost of Goods Sold** | Direct materials, manufacturing costs |
104
+ | **Expense** | Advertising & Marketing, Bank Fees & Charges, Consultant Expense, IT & Internet Expenses, Janitorial Expense, Meals & Entertainment, Office Supplies, Postage, Printing & Stationery, Rent Expense, Repairs & Maintenance, Salaries & Employee Wages, Telephone Expense, Travel Expense, and more (30+ accounts) |
105
+ | **Non Current Liability** | Long-term obligations |
106
+ | **Other Current Liability** | Short-term obligations |
107
+ | **Fixed Asset** | Equipment, furniture, vehicles |
108
+ | **Other Current Asset** | Prepaid expenses, deposits |
109
+
110
+ ---
111
+
112
+ ### Bulk Expense Entry
113
+
114
+ For entering multiple expenses at once:
115
+
116
+ 1. Navigate to **Books > Purchase > Expenses**
117
+ 2. Click **Bulk Add**
118
+ 3. Enter multiple expense rows in the bulk entry form
119
+ 4. Submit all rows at once
120
+
121
+ This is useful for recording several expenses from a single trip or event.
122
+
123
+ ---
124
+
125
+ ### Recurring Expenses
126
+
127
+ You can set up recurring expenses that are automatically created on a schedule:
128
+
129
+ | Field | Description |
130
+ |-------|-------------|
131
+ | **Profile Name** | Name for the recurring expense profile |
132
+ | **Repeat Every** | Frequency (e.g., every month, every week) |
133
+ | **Start Date** | When to begin recurring |
134
+ | **End Date** | When to stop recurring (optional) |
135
+ | **Never Expires** | Toggle to make the expense recur indefinitely |
136
+
137
+ To set up a recurring expense:
138
+
139
+ 1. Create a new expense
140
+ 2. Enable the **Recurring** toggle
141
+ 3. Fill in the recurrence fields
142
+ 4. Save the expense
143
+
144
+ ---
145
+
146
+ ### Approval Workflow
147
+
148
+ 1. **Employee** records an expense and submits it
149
+ 2. **Manager/Admin** reviews the expense
150
+ 3. Expense is either **Approved** or **Rejected**
151
+ 4. Approved expenses can be marked as **Paid** once reimbursed
@@ -0,0 +1,102 @@
1
+ ---
2
+ id: books-notes
3
+ title: Notes
4
+ sidebar_label: Notes
5
+ ---
6
+
7
+ ## Notes
8
+
9
+ The **Notes** module (`Books > Notes`) provides a simple, visual way to organize financial notes and memos. Navigate to `/books/notes` to access it.
10
+
11
+ ![Notes Page](/static/img/books/notes-page.png)
12
+
13
+ ---
14
+
15
+ ### Overview
16
+
17
+ Notes are displayed as color-coded cards in a grid layout — similar to sticky notes. Use them for keeping track of financial reminders, meeting notes, vendor follow-ups, or any other information related to your books.
18
+
19
+ ---
20
+
21
+ ### Notes Grid
22
+
23
+ Unlike other Books pages that use data tables, Notes uses a **card-based grid layout**:
24
+
25
+ - Each note appears as a colored card
26
+ - Cards show the **title**, a **content preview**, **tags**, and the **date**
27
+ - Pinned notes appear at the top
28
+ - Use the **search bar** to find notes by title or content
29
+ - Use the **tags filter** to filter by specific tags
30
+ - Toggle between **active**, **pinned**, and **archived** views
31
+
32
+ ---
33
+
34
+ ### Creating a Note
35
+
36
+ 1. Navigate to **Books > Notes**
37
+ 2. Click **New Note**
38
+ 3. Fill in the note details
39
+ 4. Click **Save**
40
+
41
+ #### Form Fields
42
+
43
+ | Field | Required | Description |
44
+ |-------|----------|-------------|
45
+ | **Title** | Yes | Note title/heading |
46
+ | **Content** | No | Rich text content of the note |
47
+ | **Color** | No | Background color for the note card (default: white) |
48
+ | **Tags** | No | Tags for categorization and filtering |
49
+
50
+ ---
51
+
52
+ ### Note Actions
53
+
54
+ Each note card provides the following actions:
55
+
56
+ | Action | Description |
57
+ |--------|-------------|
58
+ | **Edit** | Open the note for editing |
59
+ | **Delete** | Permanently remove the note |
60
+ | **Pin** | Pin the note to the top of the grid |
61
+ | **Archive** | Move the note to the archive |
62
+
63
+ ---
64
+
65
+ ### Pinning Notes
66
+
67
+ Pin important notes so they always appear at the top of your notes grid:
68
+
69
+ 1. Click the **Pin** action on a note card
70
+ 2. The note moves to the top of the grid and stays there
71
+ 3. Click **Unpin** to return it to normal position
72
+
73
+ ---
74
+
75
+ ### Archiving Notes
76
+
77
+ Archive notes you no longer need in your active view but want to keep:
78
+
79
+ 1. Click the **Archive** action on a note card
80
+ 2. The note is removed from the active view
81
+ 3. Switch to the **Archived** view to see archived notes
82
+ 4. Unarchive a note to restore it to the active view
83
+
84
+ ---
85
+
86
+ ### Color Coding
87
+
88
+ Assign colors to your notes for visual organization:
89
+
90
+ - Use the **color picker** when creating or editing a note
91
+ - Different colors can represent categories (e.g., red for urgent, green for completed, blue for follow-up)
92
+ - The default color is white (`#ffffff`)
93
+
94
+ ---
95
+
96
+ ### Tags
97
+
98
+ Tags help you categorize and filter notes:
99
+
100
+ - Add one or more tags when creating or editing a note
101
+ - Use the **tags filter** on the Notes page to show only notes with specific tags
102
+ - Tags appear on each note card for quick identification
@@ -0,0 +1,142 @@
1
+ ---
2
+ id: books-purchase-orders
3
+ title: Purchase Orders
4
+ sidebar_label: Purchase Orders
5
+ ---
6
+
7
+ ## Purchase Orders
8
+
9
+ The **Purchase Orders** module (`Books > Purchase > Purchase Orders`) lets you create and manage purchase orders to your vendors. Navigate to `/books/purchase/orders` to access it.
10
+
11
+ ![Purchase Orders List](/static/img/books/purchase-orders-list.png)
12
+
13
+ ---
14
+
15
+ ### Overview
16
+
17
+ Purchase Orders (POs) formalize your procurement process by documenting what you're buying, from whom, at what price, and when it should be delivered.
18
+
19
+ ---
20
+
21
+ ### Purchase Order List
22
+
23
+ The main page displays a data table of all purchase orders with:
24
+
25
+ | Column | Description |
26
+ |--------|-------------|
27
+ | **PO Number** | Auto-generated purchase order number |
28
+ | **Date** | Date the PO was created |
29
+ | **Vendor** | Vendor/supplier the order is placed with |
30
+ | **Status** | Current status of the order |
31
+ | **Total Amount** | Order total with currency |
32
+ | **Actions** | View, edit, or delete the purchase order |
33
+
34
+ #### Searching & Filtering
35
+
36
+ - **Search bar** — Find POs by number, vendor name, or reference
37
+ - **Status filter** — Filter by PO status
38
+ - **Date range** — Filter by date range (From / To)
39
+ - **Pagination** — Navigate through results with offset/limit controls
40
+
41
+ ---
42
+
43
+ ### Purchase Order Statuses
44
+
45
+ | Status | Description |
46
+ |--------|-------------|
47
+ | **Draft** | PO has been created but not yet sent to the vendor |
48
+ | **Sent** | PO has been sent to the vendor |
49
+ | **Partially Received** | Some items from the PO have been received |
50
+ | **Received** | All items from the PO have been received |
51
+ | **Cancelled** | PO has been cancelled |
52
+
53
+ ---
54
+
55
+ ### Creating a Purchase Order
56
+
57
+ ![Purchase Order Form](/static/img/books/purchase-order-form.png)
58
+
59
+ 1. Navigate to **Books > Purchase > Purchase Orders**
60
+ 2. Click **New Purchase Order**
61
+ 3. Fill in the form fields (see below)
62
+ 4. Add line items
63
+ 5. Click **Save as Draft** or **Send**
64
+
65
+ #### Form Fields
66
+
67
+ | Field | Required | Description |
68
+ |-------|----------|-------------|
69
+ | **PO Number** | Auto | Auto-generated with configurable prefix (see [Settings](#settings)) |
70
+ | **Date** | Yes | Purchase order date |
71
+ | **Vendor** | Yes | Select from your vendor directory |
72
+ | **Delivery Address Type** | No | Choose between Organization address or Customer address |
73
+ | **Customer** | No | Select customer (if delivery is to a customer) |
74
+ | **Reference Number** | No | External reference number |
75
+ | **Delivery Date** | No | Expected delivery date |
76
+ | **Payment Terms** | No | Payment terms (e.g., Net 30, Net 60) |
77
+ | **Shipment Preference** | No | Preferred shipping method |
78
+ | **Notes** | No | Additional notes or instructions |
79
+
80
+ #### Delivery Address
81
+
82
+ When entering a delivery address, the following sub-fields are available:
83
+
84
+ - Name
85
+ - Address Line 1
86
+ - Address Line 2
87
+ - City
88
+ - State
89
+ - Zip Code
90
+ - Country
91
+
92
+ #### Line Items
93
+
94
+ Each line item includes:
95
+
96
+ | Field | Description |
97
+ |-------|-------------|
98
+ | **Item Details** | Description of the item being purchased |
99
+ | **Quantity** | Number of units |
100
+ | **Rate** | Price per unit |
101
+ | **Amount** | Auto-calculated (Quantity × Rate) |
102
+
103
+ #### Financial Summary
104
+
105
+ | Field | Description |
106
+ |-------|-------------|
107
+ | **Sub Total** | Sum of all line item amounts |
108
+ | **Discount** | Discount amount or percentage |
109
+ | **Tax Amount** | Applicable tax |
110
+ | **Total Amount** | Final amount after discount and tax |
111
+ | **Currency** | Currency for the transaction (default: INR) |
112
+
113
+ ---
114
+
115
+ ### Editing a Purchase Order
116
+
117
+ 1. Click the **Edit** action on a purchase order in the list
118
+ 2. Modify the required fields
119
+ 3. Click **Save**
120
+
121
+ > **Note:** Only POs in **Draft** status can be freely edited. Sent or received POs may have restricted editing.
122
+
123
+ ---
124
+
125
+ ### Viewing a Purchase Order
126
+
127
+ Click the **View** action or the PO number link to open the detail page, which displays all PO information in a read-only format.
128
+
129
+ ---
130
+
131
+ ### Deleting a Purchase Order
132
+
133
+ Click the **Delete** action on a purchase order in the list. A confirmation dialog will appear before the PO is permanently removed.
134
+
135
+ ---
136
+
137
+ ### Settings
138
+
139
+ The PO number prefix can be configured in your organization settings:
140
+
141
+ - **Setting:** `books.purchase.poNumberPrefix`
142
+ - **Example:** Setting the prefix to `PO-` will generate numbers like `PO-0001`, `PO-0002`, etc.