-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add regional schemas for Switzerland.
- Loading branch information
1 parent
e86778f
commit 6ec7a1b
Showing
5 changed files
with
32 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ yarn-error.log* | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
*.code-workspace | ||
|
||
#Electron-builder output | ||
/dist_electron | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "AccountingSettings", | ||
"fields": [ | ||
{ | ||
"fieldname": "taxId", | ||
"label": "Tax ID", | ||
"fieldtype": "Data", | ||
"placeholder": "CHE-123.456.789", | ||
"section": "Default" | ||
} | ||
], | ||
"quickEditFields": [ | ||
"fullname", | ||
"email", | ||
"companyName", | ||
"country", | ||
"fiscalYearStart", | ||
"fiscalYearEnd", | ||
"taxId" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { SchemaStub } from '../../types'; | ||
import AccountingSettings from './AccountingSettings.json'; | ||
|
||
export default [AccountingSettings] as SchemaStub[]; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import { SchemaStub } from 'schemas/types'; | ||
import IndianSchemas from './in'; | ||
import SwissSchemas from './ch'; | ||
|
||
/** | ||
* Regional Schemas are exported by country code. | ||
*/ | ||
export default { in: IndianSchemas } as Record<string, SchemaStub[]>; | ||
export default { in: IndianSchemas, ch: SwissSchemas } as Record< | ||
string, | ||
SchemaStub[] | ||
>; |
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