BOD-17 Added return car modal.
This commit is contained in:
@@ -10,7 +10,8 @@ const baseModal = {
|
||||
|
||||
const INITIAL_STATE = {
|
||||
jobLineEdit: { ...baseModal },
|
||||
invoiceEnter: { ...baseModal }
|
||||
invoiceEnter: { ...baseModal },
|
||||
courtesyCarReturn: { ...baseModal }
|
||||
};
|
||||
|
||||
const modalsReducer = (state = INITIAL_STATE, action) => {
|
||||
|
||||
@@ -12,3 +12,8 @@ export const selectInvoiceEnterModal = createSelector(
|
||||
modals => modals.invoiceEnter
|
||||
);
|
||||
|
||||
export const selectCourtesyCarReturn = createSelector(
|
||||
[selectModals],
|
||||
modals => modals.courtesyCarReturn
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user