Document Management
The Document Management module provides a comprehensive system for managing documents within the application.
Features
- Document Upload: Upload documents of various formats with support for drag-and-drop functionality
- Document Categories: Organize documents into customizable categories and folders
- Document Sharing: Share documents with specific employees, departments, or the entire organization
- Version Control: Track document versions and maintain revision history
- Access Permissions: Control who can view, edit, download, or delete documents
Requirements
- Open Core Business Suite (Base System)
- No additional module dependencies
Installation
- Purchase and download the Document Management module
- Extract the module files to
Modules/DocumentManagement - Run the installation command:
php artisan module:enable DocumentManagement
php artisan migrate
- Clear the application cache:
php artisan optimize:clear
Configuration
Navigate to Settings > Modules > Document Management to configure:
- Storage Settings: Configure storage location and limits
- Allowed File Types: Define permitted file extensions
- Maximum File Size: Set upload size limits
- Default Permissions: Configure default access levels
Usage
Managing Documents
- Navigate to Documents from the main menu
- Use the Upload button to add new documents
- Select a category or create a new one
- Set access permissions for the document
Document Categories
Create and manage categories to organize your documents:
- Go to Documents > Categories
- Click Add Category to create a new category
- Set the category name and optional parent category
- Configure default permissions for the category
Version Control
The module automatically tracks document versions:
- Each upload creates a new version
- Previous versions are retained for reference
- Users can view version history and restore previous versions
- Compare changes between versions
Sharing Documents
Share documents with team members:
- Select a document from the list
- Click the Share button
- Choose recipients (individuals, departments, or all employees)
- Set permission level (view, download, edit)
- Optionally set an expiration date for the share
Access Control
Configure who can access documents:
- Public: Visible to all employees
- Department: Visible to specific departments
- Private: Visible only to selected individuals
- Confidential: Restricted access with audit logging
API Endpoints
The module provides API endpoints for mobile and external integrations:
GET /api/V1/documents- List documentsPOST /api/V1/documents- Upload documentGET /api/V1/documents/{id}- Get document detailsPUT /api/V1/documents/{id}- Update documentDELETE /api/V1/documents/{id}- Delete documentGET /api/V1/documents/{id}/download- Download documentGET /api/V1/documents/{id}/versions- Get version history
Permissions
The module includes the following permissions:
| Permission | Description |
|---|---|
documents.view | View documents |
documents.create | Upload new documents |
documents.edit | Edit document details |
documents.delete | Delete documents |
documents.share | Share documents with others |
documents.manage_categories | Manage document categories |
Best Practices
- Establish a clear folder structure before importing documents
- Define naming conventions for consistent organization
- Regularly review and archive outdated documents
- Set appropriate permissions based on document sensitivity
- Use categories to group related documents