onDeleteFile(file) }>
-
+
+
+ { files.map((file, index) =>
+ {
+ return (
+
+ { file.sent ? (
+
onDeleteFile(file) }>
+
+
+ ) : (
+
+
+
+ ) }
+
+ PDF
+
+
+ { file.name }
+ { moment().format("DD.MM.YYYY") }
+
- ) : (
-
-
-
- ) }
-
- PDF
-
-
- { file.name }
- { moment().format("DD.MM.YYYY") }
-
+ )
+ } ) }
+
+ { document.comment !== null && document.comment !== "" && (
+
+
+ { document.check }
+ { document.comment }
+
- )) }
- {/*}
-
{ file.size > LIMIT && (Ошибка, превышен допустимый размер файла в 10 мб.) } { file.name } - { parseFloat(file.size / 1000000).toFixed(file.size < 100000 ? 3 : 2) } мб. onDeleteFile(file.name) }>[ удалить ]
- {*/}
+ )}
) }
{ !uploading && files.length < LIMIT_FILES && (
@@ -48,7 +59,7 @@ export default class FileDropzoneDeals extends FileDropzone
- Перенесите файлы на экран для быстрой загрузки или выберите файл с компьютера
+ Перенесите файлы на экран для быстрой загрузки или выберите файл с компьютера
diff --git a/css/main/style.css b/css/main/style.css
index 7b71043..6a845dd 100644
--- a/css/main/style.css
+++ b/css/main/style.css
@@ -5328,7 +5328,6 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block .block_body .fines_
.contractStatus_list .list_item div:nth-child(2) p {
cursor: pointer;
color: var(--text_not_active);
- min-width: 120px;
}
.contractStatus_list .list_item div:nth-child(2):before {
content: "";
@@ -5394,7 +5393,7 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block .block_body .fines_
white-space: nowrap;
gap: 0 8px;
}
-.contractStatus_list .list_item :first-child {
+.contractStatus_list .list_item div:first-child {
min-width: 60px;
}
.contractStatus_list .list_item:not(:last-child) {
@@ -6095,7 +6094,6 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block .block_body .fines_
.horizontal_dropzone_files .file {
display: flex;
flex-direction: row;
- width: 40%;
}
.horizontal_dropzone_files .file .delete {
margin-left: 0px;
@@ -6162,6 +6160,25 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block .block_body .fines_
margin-top: 2px;
color: #8e94a7;
}
+.horizontal_dropzone_files_wrapper {
+ width: 100%;
+ display: flex;
+ flex-direction: row;
+ gap: 0px 20px;
+ padding-top: 15px;
+}
+.horizontal_dropzone_files_wrapper .horizontal_dropzone_files_item {
+ width: 50%;
+}
+.horizontal_dropzone_files_comment {
+ background: rgba(131, 3, 84, 0.1);
+ padding: 15px 25px;
+ display: flex;
+ flex-direction: column;
+}
+.horizontal_dropzone_files_comment span:first-child {
+ font-weight: 600;
+}
.deals_contracts {
display: flex;
flex-direction: column;
@@ -6394,3 +6411,8 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block .block_body .fines_
padding-top: 10px;
padding-bottom: 20px;
}
+.deal_documents_form_group {
+ padding-top: 15px;
+ padding-bottom: 15px;
+ border-top: solid 1px #edeff5;
+}
diff --git a/css/main/style.less b/css/main/style.less
index 82bdd89..4ca95ee 100644
--- a/css/main/style.less
+++ b/css/main/style.less
@@ -6030,7 +6030,6 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block {
p {
cursor: pointer;
color: var(--text_not_active);
- min-width: 120px;
}
&:before {
@@ -6105,10 +6104,10 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block {
gap: 0 8px;
}
}
- }
- :first-child {
- min-width: 60px;
+ &:first-child {
+ min-width: 60px;
+ }
}
&:not(:last-child) {
@@ -7012,7 +7011,6 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block {
.file {
display: flex;
flex-direction: row;
- width: 40%;
.delete {
margin-left: 0px;
@@ -7091,6 +7089,32 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block {
}
}
+.horizontal_dropzone_files_wrapper {
+ width: 100%;
+ display: flex;
+ flex-direction: row;
+ gap: 0px 20px;
+ padding-top: 15px;
+
+ .horizontal_dropzone_files_item {
+ width: 50%;
+ }
+}
+
+.horizontal_dropzone_files_comment {
+ background: rgba(131, 3, 84, 0.10);
+ padding: 15px 25px;
+ display: flex;
+ flex-direction: column;
+
+ span {
+ &:first-child {
+ font-weight: 600;
+ }
+ }
+}
+
+
.deals_contracts {
display: flex;
flex-direction: column;
@@ -7383,4 +7407,10 @@ main .dropdown_blocks_list.zero-margin.gibdd .dropdown_block {
padding-top: 10px;
padding-bottom: 20px;
// margin-top: 30px;
+}
+
+.deal_documents_form_group {
+ padding-top: 15px;
+ padding-bottom: 15px;
+ border-top: solid 1px #edeff5;
}
\ No newline at end of file