Added payments schema and connected to stripe BOD-146 BOD-147
This commit is contained in:
@@ -18,6 +18,7 @@ const INITIAL_STATE = {
|
||||
timeTicket: { ...baseModal },
|
||||
printCenter: { ...baseModal },
|
||||
reconciliation: { ...baseModal },
|
||||
payment: { ...baseModal },
|
||||
};
|
||||
|
||||
const modalsReducer = (state = INITIAL_STATE, action) => {
|
||||
|
||||
@@ -46,3 +46,7 @@ export const selectReconciliation = createSelector(
|
||||
[selectModals],
|
||||
(modals) => modals.reconciliation
|
||||
);
|
||||
export const selectPayment = createSelector(
|
||||
[selectModals],
|
||||
(modals) => modals.payment
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user