diff --git a/IT_asset_management/app/templates/doc_templates/index.html b/IT_asset_management/app/templates/doc_templates/index.html index 2ea3c70..5bab288 100644 --- a/IT_asset_management/app/templates/doc_templates/index.html +++ b/IT_asset_management/app/templates/doc_templates/index.html @@ -74,4 +74,198 @@ No templates yet. Upload your first template. {% endif %} + + +
+ Place these tags inside your .docx file exactly as shown.
+ The system replaces them with live data when a document is generated.
+
| Value / Description | +Tag to place in document | +Notes | +
|---|---|---|
| + User + | +||
| Full name | +{{ user_name }} |
+ Replaced with [MASKED] after GDPR erasure | +
| Email address | +{{ user_email }} |
+ Replaced with [MASKED] after GDPR erasure | +
| Phone number | +{{ user_phone }} |
+ Replaced with [MASKED] after GDPR erasure | +
| Department | +{{ user_department }} |
+ Retained after masking | +
| Job title | +{{ user_job_title }} |
+ Retained after masking | +
| Office / location | +{{ user_location }} |
+ Retained after masking | +
| Windows / AD ID | +{{ user_windows_id }} |
+ Permanent anchor — always retained | +
| Employee ID alias | +{{ user_employee_id }} |
+ Same as user_windows_id |
+
| + Asset + | +||
| Serial number | +{{ asset_serial }} |
+ + |
| Service tag | +{{ asset_service_tag }} |
+ + |
| Internal asset tag | +{{ asset_tag }} |
+ + |
| Brand | +{{ asset_brand }} |
+ e.g. Dell, Lenovo, HP | +
| Model | +{{ asset_model }} |
+ e.g. Latitude 5540 | +
| Asset type | +{{ asset_type }} |
+ e.g. Laptop, Desktop, Monitor | +
| Operating system | +{{ asset_os }} |
+ e.g. Windows 11 Pro | +
| Warranty expiry | +{{ asset_warranty_expiry }} |
+ Format: dd/mm/yyyy | +
| Asset location | +{{ asset_location }} |
+ + |
| + Assignment + | +||
| Assignment date | +{{ assignment_date }} |
+ Format: dd/mm/yyyy | +
| Assignment record ID | +{{ assignment_id }} |
+ + |
| Return date | +{{ return_date }} |
+ Format: dd/mm/yyyy — blank if not yet returned | +
| + Document & Company + | +||
| Document date | +{{ document_date }} |
+ Date the document was generated (dd/mm/yyyy) | +
| Document number | +{{ document_number }} |
+ Paperwork record ID | +
| Company name | +{{ company_name }} |
+ Set via COMPANY_NAME env variable |
+
| Company address | +{{ company_address }} |
+ Set via COMPANY_ADDRESS env variable |
+
| Generated by (admin) | +{{ admin_name }} |
+ Username of the staff member who created the document | +