diff --git a/src/pages/Documents/DocumentsTemplate.jsx b/src/pages/Documents/DocumentsTemplate.jsx index 4656628..b156cf9 100644 --- a/src/pages/Documents/DocumentsTemplate.jsx +++ b/src/pages/Documents/DocumentsTemplate.jsx @@ -17,7 +17,7 @@ const pageSize = 12 const { RangePicker } = DatePicker const { Search } = Input -export default function DocumentsTemplate({ idCategory, idWell, accept, onChange }) { +export default function DocumentsTemplate({ idCategory, idWell, accept, headerChild, onChange }) { const [page, setPage] = useState(1) const [filterDataRange, setFilterDataRange] = useState([]) const [filterCompanyName, setFilterCompanyName] = useState([]) @@ -181,6 +181,8 @@ export default function DocumentsTemplate({ idCategory, idWell, accept, onChange onUploadStart={() => setShowLoader(true)} onUploadComplete={handleUploadComplete}/> +    + {headerChild} + Программа бурения +
+ + + +
+ + return( - - - + headerChild={downloadButton} + onChange={filesUpdated} /> ) } \ No newline at end of file