mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat: tables empty status.
This commit is contained in:
@@ -27,12 +27,17 @@ const paymentMadeById = (state, props) =>
|
||||
state.paymentMades.items[props.paymentMadeId];
|
||||
|
||||
const paymentMadeEntries = (state, props) => props.paymentMadeEntries;
|
||||
|
||||
const billsItemsSelector = (state, props) => state.bills.items;
|
||||
|
||||
const billsPayableByPaymentMadeSelector = (state, props) =>
|
||||
state.bills.payable.byBillPayamentId[props.paymentMadeId];
|
||||
|
||||
const paymentMadeBillsSelector = (state, props) =>
|
||||
state.bills.byBillPayamentId[props.paymentMadeId];
|
||||
|
||||
const paymentMadesCurrentViewIdSelector = (state) => state.paymentMades.currentViewId;
|
||||
|
||||
export const getPaymentMadeCurrentPageFactory = () =>
|
||||
createSelector(
|
||||
paymentMadesPageSelector,
|
||||
@@ -113,3 +118,12 @@ export const getPaymentMadeEntriesFactory = () =>
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
// Retrieve payment mades current view id.
|
||||
export const getPaymentMadesCurrentViewIdFactory = () =>
|
||||
createSelector(
|
||||
paymentMadesCurrentViewIdSelector,
|
||||
(currentViewId) => {
|
||||
return currentViewId;
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user