mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
feat(webapp): wip printing financial reports
This commit is contained in:
@@ -57,5 +57,8 @@ export const useJournalSheetCsvExport = (query, args) => {
|
||||
* Retrieves the journal sheet pdf content.
|
||||
*/
|
||||
export const useJournalSheetPdf = (query = {}) => {
|
||||
return useRequestPdf(`financial_statements/journal`);
|
||||
return useRequestPdf({
|
||||
url: `/api/financial_statements/journal`,
|
||||
params: query,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user