Skip to content

Commit

Permalink
fix: status
Browse files Browse the repository at this point in the history
  • Loading branch information
awqsomee committed Jan 30, 2025
1 parent d74c9be commit 5b90e9f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/features/payments/ui/molecules/contract.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const ContractWrapper = styled.div`
.contract-info {
display: flex;
flex-direction: column;
padding: 0.5rem 0;
}
p {
Expand All @@ -40,7 +41,8 @@ interface Props {

const Contract = ({ contract }: Props) => {
if (!contract) return null
const { number, startDate, endDatePlan, contragent, sum, can_sign, file, student, signed_user_date } = contract
const { number, startDate, endDatePlan, contragent, sum, can_sign, file, student, signed_user_date, sign_text } =
contract
const { open } = useModal()
const [copied, setCopied] = useState<boolean>(false)
const [loading, setLoading] = useState(false)
Expand Down Expand Up @@ -79,7 +81,7 @@ const Contract = ({ contract }: Props) => {
},
{
text: 'Статус',
info: '',
info: sign_text,
},
// {
// text: 'Ежемесячная плата: ',
Expand Down

0 comments on commit 5b90e9f

Please sign in to comment.