| {LocaleUtils.tr("common.format")} |
|
{this.state.selectedFormat === 'application/pdf' ? (
| {LocaleUtils.tr("print.layout")} |
|
) : null}
| {LocaleUtils.tr("common.resolution")} |
{resolutionChooser}
|
{this.state.selectedFormat === 'application/pdf' ? (this.state.layout?.labels || []).map(label => {
// Omit labels which start with __
if (label.startsWith("__")) {
return null;
}
const opts = {
rows: 1,
name: label.toUpperCase(),
...this.props.theme.printLabelConfig?.[label]
};
return this.renderPrintLabelField(label, opts);
}) : null}