mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +00:00
feat: resource tables printing
This commit is contained in:
@@ -92,7 +92,7 @@ function PaymentMadeActionsBar({
|
||||
};
|
||||
// Handle the print button click.
|
||||
const handlePrintBtnClick = () => {
|
||||
downloadExportPdf({ resource: 'PaymentMade' });
|
||||
downloadExportPdf({ resource: 'BillPayment' });
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
@@ -134,7 +134,6 @@ const invalidateResourcesOnImport = (
|
||||
queryClient: QueryClient,
|
||||
resource: string,
|
||||
) => {
|
||||
debugger;
|
||||
switch (resource) {
|
||||
case 'Item':
|
||||
queryClient.invalidateQueries(T.ITEMS);
|
||||
|
||||
Reference in New Issue
Block a user