mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-03 22:13:18 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
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 getDashboardDataLoaded = (state) => state.isDashboardDataLoaded
 | 
						|
 | 
						|
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
 |