Compare commits
No commits in common. "1237105af25ec369e6ff2fee47791ac5ec1b68ba" and "e252135c3b31c1284e06e5a966409d8fc65ed3e6" have entirely different histories.
1237105af2
...
e252135c3b
@ -47,12 +47,7 @@ export function ChecksPanel({ checks, editable, dirty, onAccept }: Props) {
|
|||||||
<Alert type='error' showIcon title={`Нарушения (${checks.failed.length})`} description={failureList(checks.failed)} />
|
<Alert type='error' showIcon title={`Нарушения (${checks.failed.length})`} description={failureList(checks.failed)} />
|
||||||
)}
|
)}
|
||||||
{checks.soft_failed.length > 0 && (
|
{checks.soft_failed.length > 0 && (
|
||||||
<Alert
|
<Alert type='warning' showIcon title={`Предупреждения проверок (${checks.soft_failed.length})`} description={failureList(checks.soft_failed)} />
|
||||||
type='warning'
|
|
||||||
showIcon
|
|
||||||
title={`Предупреждения проверок (${checks.soft_failed.length})`}
|
|
||||||
description={failureList(checks.soft_failed)}
|
|
||||||
/>
|
|
||||||
)}
|
)}
|
||||||
{checks.cross_form && (
|
{checks.cross_form && (
|
||||||
<Alert
|
<Alert
|
||||||
|
|||||||
@ -199,12 +199,10 @@ export function StatementReview({ document, onChanged }: { document: DocumentOut
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{emptySublines.size > 0 && (
|
{emptySublines.size > 0 && (
|
||||||
<span style={{ display: 'inline-flex', alignItems: 'center', gap: 8 }}>
|
<label style={{ display: 'inline-flex', alignItems: 'center', gap: 8, cursor: 'pointer' }}>
|
||||||
<Switch id='show-empty-sublines' size='small' checked={showEmptySublines} onChange={setShowEmptySublines} />
|
<Switch size='small' checked={showEmptySublines} onChange={setShowEmptySublines} />
|
||||||
<label htmlFor='show-empty-sublines' style={{ cursor: 'pointer' }}>
|
<span>Показать пустые строки детализации ({emptySublines.size})</span>
|
||||||
Показать пустые строки детализации ({emptySublines.size})
|
</label>
|
||||||
</label>
|
|
||||||
</span>
|
|
||||||
)}
|
)}
|
||||||
<StatementTable
|
<StatementTable
|
||||||
documentType={statement.document.document_type}
|
documentType={statement.document.document_type}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user