mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
feat(webapp): wip printing financial reports
This commit is contained in:
@@ -55,6 +55,9 @@ export const useGeneralLedgerSheetCsvExport = (query, args) => {
|
||||
/**
|
||||
* Retrieves the general ledger pdf document data.
|
||||
*/
|
||||
export function useGeneralLedgerPdf() {
|
||||
return useRequestPdf(`financial_statements/general_ledger`);
|
||||
export function useGeneralLedgerPdf(query = {}) {
|
||||
return useRequestPdf({
|
||||
url: `/api/financial_statements/general_ledger`,
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user