Templates

Pedido

Order read page — the same section shells as the other documents, 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.

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, which is why MeDocumentItems carries a mode prop instead of the page expanding every row. Gerar Registro de Serviço (FRS) stays disabled until a row is selected, exactly as the legacy has it, which is why the same block exposes its row selection: the control lives in the section header and the state lives in the table.

Everything else is shared: MeDocumentSection for the shells, MeFieldGrid for the field sections, MeDocumentTable for the grids, MeDocumentAttachments for the attachments and MeInfoCard for the supplier.

Read