mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
feat: add auto increment in vendor credit number.
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
useVendorCredit,
|
||||
useItems,
|
||||
useVendors,
|
||||
useSettingsVendorCredits,
|
||||
} from 'hooks/query';
|
||||
|
||||
const VendorCreditNoteFormContext = React.createContext();
|
||||
@@ -23,6 +24,9 @@ function VendorCreditNoteFormProvider({ vendorCreditId, ...props }) {
|
||||
page_size: 10000,
|
||||
});
|
||||
|
||||
// Handle fetching settings.
|
||||
useSettingsVendorCredits();
|
||||
|
||||
// Handle fetch vendors data table or list
|
||||
const {
|
||||
data: { vendors },
|
||||
|
||||
Reference in New Issue
Block a user