You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"id" : "COMMODITY",
|
|
"name" : {
|
|
"default" : "Commodity",
|
|
"CZ" : "Zboží"
|
|
},
|
|
"descriptoin" : {
|
|
"default" : "",
|
|
"CZ" : ""
|
|
},
|
|
"schemaVersion" : 1,
|
|
"sql" : [
|
|
"CREATE TABLE \"CommodityTypeData\" (
|
|
\"id\" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
|
\"name\" TEXT NULL);
|
|
|
|
CREATE TABLE \"CommodityData\" (
|
|
\"id\" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
|
\"name\" TEXT NULL,
|
|
\"shortName\" TEXT NULL,
|
|
\"code\" TEXT NULL,
|
|
\"type\" INTEGER NULL,
|
|
\"price\" INTEGER NOT NULL,
|
|
\"vat\" INTEGER NOT NULL,
|
|
\"count\" INTEGER NOT NULL,
|
|
CONSTRAINT \"type_fk\"
|
|
FOREIGN KEY (\"type\")
|
|
REFERENCES \"CommodityTypeData\" (\"id\")
|
|
DEFERRABLE INITIALLY DEFERRED);"
|
|
|
|
],
|
|
"dependencies" : [],
|
|
"translations" : {
|
|
"CZ" : {
|
|
"name" : "Název",
|
|
"shortName" : "Zobrazit na účtence",
|
|
"code" : "Kód",
|
|
"type" : "Druh",
|
|
"price" : "Cena",
|
|
"vat" : "DPH",
|
|
"count" : "Počet"
|
|
}
|
|
}
|
|
}
|