evoleasing-account/pages/documents/reconciliations.js
2021-11-28 09:28:21 +03:00

102 lines
3.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from "react";
import Head from 'next/head';
import Image from 'next/image';
import { connect } from "react-redux";
import { withRouter } from 'next/router';
import { reduxWrapper } from '../../store';
import Header from '../components/Header';
import Footer from '../components/Footer';
import InnerMenu from "./components/InnerMenu";
import Company from "../components/Company";
class ReconciliationsPage extends React.Component
{
constructor(props)
{
super(props);
}
render()
{
return (
<React.Fragment>
<Head>
<title>ЛК Эволюция автолизинга</title>
<meta
name="description"
content="ЛК Эволюция автолизинга"
/>
</Head>
<Header { ...this.props }/>
<main>
<section>
<div className="clear"></div>
<div className="container">
<div className="title_wrapper">
<div className="left">
<h1 className="section_title">Акты сверок</h1>
</div>
<Company/>
</div>
<div className="aside_container about">
<InnerMenu { ...this.props }/>
<article>
<div className="acts_wrapper">
<div className="dosc_list acts_list-checkbox">
<div className="row">
<p className="doc_name">
<input type="checkbox" name="name" id="name" />
<label htmlFor="name">Все договоры</label>
</p>
</div>
<div className="row">
<p className="doc_name i-pdf">
<input type="checkbox" name="name" id="name" />
<label htmlFor="name">1234567 от 21.01.2021</label>
</p>
</div>
<div className="row">
<p className="doc_name i-pdf">
<input type="checkbox" name="name" id="name" />
<label htmlFor="name">1234567 от 21.01.2021</label>
</p>
</div>
</div>
<div className="reconciliation_form small">
<div className="form_field">
<input type="text" className="date_input" value="" placeholder="Дата начала договора" onFocus={ () => {/*(this.type='date')*/} } onBlur={ () => {/*(this.value == '' ? this.type='text' : this.type='date')*/} } />
</div>
<div className="form_field">
<input type="text" className="date_input" value="" placeholder="Дата окончания договора" onFocus={ () => { /*(this.type='date')*/} } onBlur={ () => {/*(this.value == '' ? this.type='text' : this.type='date')*/} } />
</div>
<button className="button button-blue">Скачать</button>
{/*<button className="button button-blue">Отправить в ЭДО</button>*/}
</div>
</div>
</article>
</div>
</div>
</section>
</main>
<Footer/>
</React.Fragment>
)
}
}
function mapStateToProps(state, ownProps)
{
return {
company: state.company,
schedule: state.payments,
}
}
export const getServerSideProps = reduxWrapper.getServerSideProps(store =>
async ({ req, res, query }) =>
{
}
);
export default withRouter(connect(mapStateToProps)(ReconciliationsPage));