Added vendor and RO search to enter invoice modal.

This commit is contained in:
Patrick Fic
2020-02-26 10:22:56 -08:00
parent 7335a555c2
commit 7d79bb2689
9 changed files with 398 additions and 12 deletions

View File

@@ -5,6 +5,7 @@ import {
toggleModalVisible,
setModalContext
} from "../../redux/modals/modals.actions";
import { Button } from "antd";
const mapStateToProps = createStructuredSelector({
//currentUser: selectCurrentUser
@@ -24,7 +25,7 @@ export default connect(
}) {
return (
<div>
<div
<Button
onClick={() => {
setInvoiceEnterContext({
actions: { refetch: null },
@@ -35,7 +36,7 @@ export default connect(
}}
>
Enter Invoice
</div>
</Button>
</div>
);
});