This commit is contained in:
Iliyan Angelov
2025-11-30 22:43:09 +02:00
parent 24b40450dd
commit 39fcfff811
1610 changed files with 5442 additions and 1383 deletions

View File

@@ -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 = () => {