deals: show checkbox after offer selected

This commit is contained in:
merelendor 2023-10-22 17:05:26 +03:00
parent a4d873abf6
commit e8645c5c21
3 changed files with 22 additions and 2 deletions

View File

@ -147,8 +147,13 @@ export default class Offers extends Step
</div>
</td>
) : (
<td></td>
)}
<td>
<div className="form_field checkbox checkbox_disabled">
<input type="checkbox" name="row" id={`offer_${ offer.quote_number }`} checked={ true } onChange={ () => { } } style={{ filter: "grayscale", opacity: 0.5 }}/>
<label htmlFor={`offer_${ offer.quote_number }`}></label>
</div>
</td>
) }
<td>{ offer_index + 1 }</td>
<td>{ numeral(offer.price).format(' ., ') } </td>
<td>{ numeral(offer.first_payment_rub).format(' ., ') } </td>

View File

@ -6451,3 +6451,8 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block .block_body .fines_
padding-bottom: 15px;
border-top: solid 1px #edeff5;
}
.checkbox_disabled label:before {
filter: grayscale();
opacity: 0.5;
cursor: default !important;
}

View File

@ -7453,3 +7453,13 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block {
padding-bottom: 15px;
border-top: solid 1px #edeff5;
}
.checkbox_disabled {
label {
&:before {
filter: grayscale();
opacity: 0.5;
cursor: default !important;
}
}
}