Skip to content
Snippets Groups Projects
Commit 6b0c4e24 authored by Alexander Purr's avatar Alexander Purr Committed by Robert Lange
Browse files

refs #20234 [fid] order editing for admins, improved order listings

* new Client methods:
** get order (uses fidis GET resource)
** update order (is complemented by fidis PUT resource - ticket 20690)
* add new route for EditOrder
* new UserController methods
** editOrderAction -> loads order, form-config & view; checks EditOrder-Permission
** updateOrder
** applyStatusOptions for correct prefilling and translate of status options
* new form-configs for simple (only status) and complete (status and due date) form
* new configuration blocks in fid.ini (disabled)
** OrderList section for displaying additional columns in order list table
** Edit section (depending on order type - here pda and digitization) sets form type (basic / complete) and possible status options
* templates
** add configured columns (like type, status, due date, edit button) on admin order list (and nested templates)
** new edit order main template (incl. some order information)
** new basic and complete form template
* add getter and setter (status, due date) on DTO order
* create updateOrderHydrator
** used for prefilling form and update order object before requesting fidis
* new translations

* add preconfigured default status on creating an order / acquisition (via trait and order hydrator)

* add template acquisition-contact-details.phtml from bbi
** used in pda action
** used in edit order action

* add translation for order type

* always show current status of order in order list
** by force reload user data inclusive orders in controller action

* allow null value on setting order status
parent 08f7ad65
No related merge requests found
Showing
with 711 additions and 20 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment