Feature: #926 - Compact view of the order list 

See Issue 926

Description 

The order list of the backend module has a compact view with 7 instead of 12 columns: customer (name and company), order (number linked to the order view, and date), invoice (number and date), total (gross and net), payment, shipping and the actions. It fits next to the page tree on smaller screens.

The payment and shipping status are shown as badges of the TYPO3 backend with the name of the payment or shipping method below, so they follow its light and dark mode:

  • red: open
  • yellow: pending, on_hold, in_process, partially_shipped
  • green: paid, shipped
  • gray: canceled, not_required and status of other extensions

Each editor switches between the classic and the compact view with the "View" menu in the module header. The choice is stored in the module data of the backend user (listView).

The compact view is rendered with the template Backend/Order/Order/ListCompact and the partial Backend/Order/List/CompactItem, the badges with the ViewHelper <cart:order.statusBadge serviceType="payment" status="{orderItem.payment.status}"/>.

The classic view is unchanged, its status colors now have dark variants for the dark mode of the backend and colors for all status of EXT:cart.

Impact 

The classic view stays the default, see Deprecation: #926 - Classic view of the order list as default.