feat: Implement admin templates with actual list/edit layouts #33

Open
opened 2026-06-29 14:06:37 +00:00 by jmiller · 1 comment
Owner

Summary

All 9 admin view templates are placeholder stubs containing only <div><h2>Title</h2><p>Coming soon.</p></div>. No actual data display, no list tables, no edit forms.

Requirements

Each list view template needs:

  • workorders/default.php — list table with columns: ref, customer, status, priority, technician, scheduled date, total. Sortable headers, search bar, status/priority/tech filter dropdowns
  • equipment/default.php — list table: name, type, brand/model, serial, customer, warranty expiry, condition
  • technicians/default.php — list: name, phone, specialties, status, rating, total jobs
  • parts/default.php — list: part number, name, category, cost/price, warehouse stock, minimum stock
  • truckinventory/default.php — list: technician, part, quantity, min quantity, last restocked
  • checklists/default.php — list: name, category, item count, published
  • pmagreements/default.php — list: ref, customer, plan, status, frequency, next service, annual cost
  • dispatches/default.php — list: work order, technician, status, offered/responded times, ETA
  • fielddashboard/default.php — KPI cards (open WOs, today's dispatches, overdue PMs, revenue) + charts

Each entity also needs:

  • Edit form templates (edit.php) bound to AdminModel form XML
  • Toolbar buttons (New, Edit, Delete, Publish/Unpublish)

Technical Notes

  • Use Joomla\CMS\HTML\HTMLHelper and Joomla\CMS\Layout\LayoutHelper for standard Joomla list rendering
  • Use JoomlaUI patterns for consistency with Joomla 6 admin
## Summary All 9 admin view templates are placeholder stubs containing only `<div><h2>Title</h2><p>Coming soon.</p></div>`. No actual data display, no list tables, no edit forms. ## Requirements Each list view template needs: - [ ] **workorders/default.php** — list table with columns: ref, customer, status, priority, technician, scheduled date, total. Sortable headers, search bar, status/priority/tech filter dropdowns - [ ] **equipment/default.php** — list table: name, type, brand/model, serial, customer, warranty expiry, condition - [ ] **technicians/default.php** — list: name, phone, specialties, status, rating, total jobs - [ ] **parts/default.php** — list: part number, name, category, cost/price, warehouse stock, minimum stock - [ ] **truckinventory/default.php** — list: technician, part, quantity, min quantity, last restocked - [ ] **checklists/default.php** — list: name, category, item count, published - [ ] **pmagreements/default.php** — list: ref, customer, plan, status, frequency, next service, annual cost - [ ] **dispatches/default.php** — list: work order, technician, status, offered/responded times, ETA - [ ] **fielddashboard/default.php** — KPI cards (open WOs, today's dispatches, overdue PMs, revenue) + charts Each entity also needs: - [ ] Edit form templates (`edit.php`) bound to AdminModel form XML - [ ] Toolbar buttons (New, Edit, Delete, Publish/Unpublish) ## Technical Notes - Use `Joomla\CMS\HTML\HTMLHelper` and `Joomla\CMS\Layout\LayoutHelper` for standard Joomla list rendering - Use `JoomlaUI` patterns for consistency with Joomla 6 admin
Author
Owner

Branch created: feature/33-feat-implement-admin-templates-with-actu

git fetch origin
git checkout feature/33-feat-implement-admin-templates-with-actu
Branch created: [`feature/33-feat-implement-admin-templates-with-actu`](https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteField/src/branch/feature/33-feat-implement-admin-templates-with-actu) ```bash git fetch origin git checkout feature/33-feat-implement-admin-templates-with-actu ```
Sign in to join this conversation.
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteField#33