update
This commit is contained in:
@@ -7,14 +7,18 @@ import {
|
||||
DollarSign,
|
||||
AlertCircle
|
||||
} from 'lucide-react';
|
||||
import { reportService, ReportData, paymentService, invoiceService } from '../../services/api';
|
||||
import type { Payment } from '../../services/api/paymentService';
|
||||
import type { Invoice } from '../../services/api/invoiceService';
|
||||
import reportService, { ReportData } from '../../features/analytics/services/reportService';
|
||||
import paymentService from '../../features/payments/services/paymentService';
|
||||
import invoiceService from '../../features/payments/services/invoiceService';
|
||||
import type { Payment } from '../../features/payments/services/paymentService';
|
||||
import type { Invoice } from '../../features/payments/services/invoiceService';
|
||||
import { toast } from 'react-toastify';
|
||||
import { Loading, EmptyState, ExportButton } from '../../components/common';
|
||||
import { formatDate } from '../../utils/format';
|
||||
import { useFormatCurrency } from '../../hooks/useFormatCurrency';
|
||||
import { useAsync } from '../../hooks/useAsync';
|
||||
import Loading from '../../shared/components/Loading';
|
||||
import EmptyState from '../../shared/components/EmptyState';
|
||||
import ExportButton from '../../shared/components/ExportButton';
|
||||
import { formatDate } from '../../shared/utils/format';
|
||||
import { useFormatCurrency } from '../../features/payments/hooks/useFormatCurrency';
|
||||
import { useAsync } from '../../shared/hooks/useAsync';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
const AccountantDashboardPage: React.FC = () => {
|
||||
|
||||
Reference in New Issue
Block a user