devsofttech_hms_ci4/app/Views/Setting/Template
DevSoftTech Server a929100d4d Add text alignment and enhanced CKEditor tools to IPD discharge templates
ENHANCEMENT: Expanded CKEditor toolbar in discharge template editor

NEW TOOLBAR BUTTONS:
1. Text Alignment:
   - JustifyLeft (align left)
   - JustifyCenter (align center)
   - JustifyRight (align right)
   - JustifyBlock (justify)

2. Enhanced Basic Styles:
   - Strike (strikethrough)
   - Subscript
   - Superscript

3. Enhanced Insert Tools:
   - Image
   - PageBreak

4. Enhanced Tools:
   - ShowBlocks (show/hide block elements)

CONFIGURATION:
- Added extraPlugins: 'justify,pagebreak' to enable alignment and page break
- Added allowedContent: true to allow all HTML content
- Added entities: false, basicEntities: false to preserve special characters
- Added fillEmptyBlocks: false for cleaner HTML output

FILE: app/Views/Setting/Template/discharge_templates.php (lines 473-495)
ROUTE: /setting/template/discharge_template_get/{id}

BENEFIT: Template editors now have full control over text alignment, formatting, and layout
2026-06-07 11:07:29 +05:30
..
diagnosis_print_settings.php refactor: set number input step to 1 across views 2026-04-10 21:16:25 +05:30
discharge_templates.php Add text alignment and enhanced CKEditor tools to IPD discharge templates 2026-06-07 11:07:29 +05:30
document_print_settings.php Add placeholder panel to document print settings; autocomplete off on med inputs; localStorage medicine cache 2026-04-09 03:43:53 +05:30
index.php Refine OPD template builder UI and preview behavior 2026-06-05 03:34:08 +05:30
ipd_document_templates.php Make IPD forms dynamic and stop stale OPD refresh polling 2026-04-08 11:41:33 +05:30