mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
feat(webapp): wip printing financial reports
This commit is contained in:
@@ -58,13 +58,6 @@ export const useInventoryValuationXlsxExport = (query, args) => {
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Retrieves the inventory valuation pdf document data.
|
||||
*/
|
||||
export function useInventoryValuationPdf() {
|
||||
return useRequestPdf(`financial_statements/inventory-valuation`);
|
||||
}
|
||||
|
||||
export const useInventoryValuationCsvExport = (query, args) => {
|
||||
return useDownloadFile({
|
||||
url: '/financial_statements/inventory-valuation',
|
||||
@@ -78,3 +71,13 @@ export const useInventoryValuationCsvExport = (query, args) => {
|
||||
...args,
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Retrieves the inventory valuation pdf document data.
|
||||
*/
|
||||
export function useInventoryValuationPdf(query = {}) {
|
||||
return useRequestPdf({
|
||||
url: `/api/financial_statements/inventory-valuation`,
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user