-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
getInvoiceNumber returns NULL if the 'invoicing' setting is disabled, by checking slightly earlier we can skip a query if it is not Upgrade fix: Copy code to upgrade script rather than call a function. The function will change as we fix the setting but we want the upgrade function to work off the old setting Test fix: Use hard coded invoicePrefix We know what it is - if it were not set right then the test would not pick it up because it is comparing based on the assumption it is - using the string is more reliable
- Loading branch information
1 parent
4d5b93c
commit 5d288dc
Showing
4 changed files
with
12 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters