Finalized read only job. Logic to detmerine what is read only outstanding. BOD-409

This commit is contained in:
Patrick Fic
2020-09-28 14:45:31 -07:00
parent 3ee003000d
commit cb412f377e
6 changed files with 107 additions and 79 deletions

View File

@@ -1,18 +1,17 @@
import { SyncOutlined } from "@ant-design/icons";
import { Button, Checkbox, Descriptions, Table, Input, Typography } from "antd";
import { Button, Checkbox, Descriptions, Input, Table, Typography } from "antd";
import queryString from "query-string";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
import { Link } from "react-router-dom";
import { Link, useLocation } from "react-router-dom";
import { createStructuredSelector } from "reselect";
import { selectJobReadOnly } from "../../redux/application/application.selectors";
import { setModalContext } from "../../redux/modals/modals.actions";
import CurrencyFormatter from "../../utils/CurrencyFormatter";
import { DateFormatter } from "../../utils/DateFormatter";
import { alphaSort } from "../../utils/sorters";
import queryString from "query-string";
import { useLocation } from "react-router-dom";
import { createStructuredSelector } from "reselect";
import { selectJobReadOnly } from "../../redux/application/application.selectors";
const mapStateToProps = createStructuredSelector({
jobRO: selectJobReadOnly,
});
@@ -376,4 +375,7 @@ export function BillsListTableComponent({
</div>
);
}
export default connect(null, mapDispatchToProps)(BillsListTableComponent);
export default connect(
mapStateToProps,
mapDispatchToProps
)(BillsListTableComponent);