Templates

Pedido

Order read page on the document chassis, with an items section that switches between a summary grid and per-item detail.

Overview

The read screen of a Pedido, traced from the legacy ShowPedido.asp.

It is the Documentos chassis fed the document's own payload: every section is a kind the chassis renders, the supplier is a party card and the address and attachment sections stay on the page when they are empty.

Its distinguishing behaviour is the items section: the legacy switches the WHOLE section between a summary grid and a per-item detail view, and inverts the control's label when it does (Exibir detalhes do item becomes Exibir Itens Resumido). That is a section mode and not a per-row expand, so the switch is data of the items section (toggle), which MeDocumentItems renders as its mode. Gerar Registro de Serviço (FRS) stays disabled until a row is selected, exactly as the legacy has it: it is a mass action of the same section, gated on the selection (requiresSelection), so the control renders in the items body bar above the table, on purpose: a control that reads the table's selection stays beside the table, and a collapsed section must not offer it.

Read