Compare commits

..

No commits in common. "1237105af25ec369e6ff2fee47791ac5ec1b68ba" and "e252135c3b31c1284e06e5a966409d8fc65ed3e6" have entirely different histories.

2 changed files with 5 additions and 12 deletions

View File

@ -47,12 +47,7 @@ export function ChecksPanel({ checks, editable, dirty, onAccept }: Props) {
<Alert type='error' showIcon title={`Нарушения (${checks.failed.length})`} description={failureList(checks.failed)} />
)}
{checks.soft_failed.length > 0 && (
<Alert
type='warning'
showIcon
title={`Предупреждения проверок (${checks.soft_failed.length})`}
description={failureList(checks.soft_failed)}
/>
<Alert type='warning' showIcon title={`Предупреждения проверок (${checks.soft_failed.length})`} description={failureList(checks.soft_failed)} />
)}
{checks.cross_form && (
<Alert

View File

@ -199,12 +199,10 @@ export function StatementReview({ document, onChanged }: { document: DocumentOut
/>
)}
{emptySublines.size > 0 && (
<span style={{ display: 'inline-flex', alignItems: 'center', gap: 8 }}>
<Switch id='show-empty-sublines' size='small' checked={showEmptySublines} onChange={setShowEmptySublines} />
<label htmlFor='show-empty-sublines' style={{ cursor: 'pointer' }}>
Показать пустые строки детализации ({emptySublines.size})
</label>
</span>
<label style={{ display: 'inline-flex', alignItems: 'center', gap: 8, cursor: 'pointer' }}>
<Switch size='small' checked={showEmptySublines} onChange={setShowEmptySublines} />
<span>Показать пустые строки детализации ({emptySublines.size})</span>
</label>
)}
<StatementTable
documentType={statement.document.document_type}