mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-17 02:42:54 -05:00
init crater
This commit is contained in:
26
resources/assets/js/store/modules/dashboard/getters.js
Normal file
26
resources/assets/js/store/modules/dashboard/getters.js
Normal file
@@ -0,0 +1,26 @@
|
||||
export const getContacts = (state) => state.contacts
|
||||
export const getInvoices = (state) => state.invoices
|
||||
export const getEstimates = (state) => state.estimates
|
||||
export const getExpenses = (state) => state.expenses
|
||||
export const getRecentInvoices = (state) => state.recentInvoices
|
||||
export const getNewContacts = (state) => state.newContacts
|
||||
export const getTotalDueAmount = (state) => state.totalDueAmount
|
||||
|
||||
export const getDueInvoices = (state) => state.dueInvoices
|
||||
export const getRecentEstimates = (state) => state.recentEstimates
|
||||
|
||||
export const getLoadedData = (state) => state.isDataLoaded
|
||||
|
||||
export const getWeeklyInvoicesCounter = (state) => state.weeklyInvoices.counter
|
||||
export const getWeeklyInvoicesDays = (state) => state.weeklyInvoices.days
|
||||
|
||||
export const getChartMonths = (state) => state.chartData.months
|
||||
export const getChartInvoices = (state) => state.chartData.invoiceTotals
|
||||
export const getChartExpenses = (state) => state.chartData.expenseTotals
|
||||
export const getNetProfits = (state) => state.chartData.netProfits
|
||||
export const getReceiptTotals = (state) => state.chartData.receiptTotals
|
||||
|
||||
export const getTotalSales = (state) => state.salesTotal
|
||||
export const getTotalReceipts = (state) => state.totalReceipts
|
||||
export const getTotalExpenses = (state) => state.totalExpenses
|
||||
export const getNetProfit = (state) => state.netProfit
|
||||
Reference in New Issue
Block a user