mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
feat(webapp): wip printing financial reports
This commit is contained in:
@@ -64,8 +64,11 @@ export const useVendorsTransactionsCsvExport = (query, args) => {
|
||||
});
|
||||
};
|
||||
/**
|
||||
* Retrieves the balance sheet pdf document data.
|
||||
* Retrieves pdf document data of the transactions by vendor sheet.
|
||||
*/
|
||||
export function useTransactionsByVendorsPdf() {
|
||||
return useRequestPdf(`financial_statements/transactions-by-vendors`);
|
||||
export function useTransactionsByVendorsPdf(query = {}) {
|
||||
return useRequestPdf({
|
||||
url: `/api/financial_statements/transactions-by-vendors`,
|
||||
params: query,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user