-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "priority" support for templates
In case of multiple templates matching given invoice - choose the one with the highest "priority" value. To provide proper support for prioritizing AND existing templates (backward compatibility) the default value 5 is assumed in case "priority" property is missing. This feature can be used for writing more generic as well as more specific templates. So far all templates were assumed to be company-specific. With this change we can have: 1. Invoice-generating software specific templates 2. In-company varying templates This feature may be very useful for: 1. Countries with just few very popular accounting software applications 2. Big companies with multiple departments adding some invoice details Signed-off-by: Rafał Miłecki <[email protected]>
- Loading branch information
Showing
3 changed files
with
29 additions
and
15 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