mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
feat: wip financial reports printing
This commit is contained in:
@@ -6,10 +6,10 @@ import {
|
||||
FormattedMessage as T,
|
||||
} from '@/components';
|
||||
import { usePurchasesByItemsPdfExport } from '@/hooks/query';
|
||||
import { usePurchasesByItemsQuery } from '../../utils';
|
||||
import { usePurchaseByItemsContext } from '../../PurchasesByItemsProvider';
|
||||
|
||||
export default function PurchasesByItemsPdfDialogContent() {
|
||||
const { httpQuery } = usePurchasesByItemsQuery();
|
||||
const { httpQuery } = usePurchaseByItemsContext();
|
||||
const { isLoading, pdfUrl } = usePurchasesByItemsPdfExport(httpQuery);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user