2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

whitespace

This commit is contained in:
Rushabh Mehta 2018-02-21 15:13:34 +05:30
parent 270051761a
commit 34131c86d7
7 changed files with 161 additions and 161 deletions

View File

@ -1,36 +1,36 @@
module.exports = {
"name": "Account",
"doctype": "DocType",
"documentClass": require("./AccountDocument.js"),
"isSingle": 0,
"keywordFields": [
"name",
"account_type"
],
"fields": [
{
"fieldname": "name",
"label": "Account Name",
"fieldtype": "Data",
"required": 1
},
{
"fieldname": "parent_account",
"label": "Parent Account",
"fieldtype": "Link",
"target": "Account"
},
{
"fieldname": "account_type",
"label": "Account Type",
"fieldtype": "Select",
"options": [
"Asset",
"Liability",
"Equity",
"Income",
"Expense"
]
}
]
"name": "Account",
"doctype": "DocType",
"documentClass": require("./AccountDocument.js"),
"isSingle": 0,
"keywordFields": [
"name",
"account_type"
],
"fields": [
{
"fieldname": "name",
"label": "Account Name",
"fieldtype": "Data",
"required": 1
},
{
"fieldname": "parent_account",
"label": "Parent Account",
"fieldtype": "Link",
"target": "Account"
},
{
"fieldname": "account_type",
"label": "Account Type",
"fieldtype": "Select",
"options": [
"Asset",
"Liability",
"Equity",
"Income",
"Expense"
]
}
]
}

View File

@ -1,17 +1,17 @@
module.exports = {
"name": "Customer",
"doctype": "DocType",
"isSingle": 0,
"istable": 0,
"keywordFields": [
"name"
],
"fields": [
{
"fieldname": "name",
"label": "Name",
"fieldtype": "Data",
"required": 1
}
]
"name": "Customer",
"doctype": "DocType",
"isSingle": 0,
"istable": 0,
"keywordFields": [
"name"
],
"fields": [
{
"fieldname": "name",
"label": "Name",
"fieldtype": "Data",
"required": 1
}
]
}

View File

@ -1,45 +1,45 @@
module.exports = {
"name": "Item",
"doctype": "DocType",
"isSingle": 0,
"keywordFields": [
"name",
"description"
],
"fields": [
{
"fieldname": "name",
"label": "Item Name",
"fieldtype": "Data",
"required": 1
},
{
"fieldname": "description",
"label": "Description",
"fieldtype": "Text"
},
{
"fieldname": "unit",
"label": "Unit",
"fieldtype": "Select",
"options": [
"No",
"Kg",
"Gram",
"Hour",
"Day"
]
},
{
"fieldname": "tax",
"label": "Tax",
"fieldtype": "Link",
"target": "Tax"
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Currency"
}
]
"name": "Item",
"doctype": "DocType",
"isSingle": 0,
"keywordFields": [
"name",
"description"
],
"fields": [
{
"fieldname": "name",
"label": "Item Name",
"fieldtype": "Data",
"required": 1
},
{
"fieldname": "description",
"label": "Description",
"fieldtype": "Text"
},
{
"fieldname": "unit",
"label": "Unit",
"fieldtype": "Select",
"options": [
"No",
"Kg",
"Gram",
"Hour",
"Day"
]
},
{
"fieldname": "tax",
"label": "Tax",
"fieldtype": "Link",
"target": "Tax"
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Currency"
}
]
}

View File

@ -1,22 +1,22 @@
module.exports = {
"name": "Tax",
"doctype": "DocType",
"isSingle": 0,
"isChild": 0,
"keywordFields": ["name"],
"fields": [
{
"fieldname": "name",
"label": "Name",
"fieldtype": "Data",
"required": 1
},
{
"fieldname": "details",
"label": "Details",
"fieldtype": "Table",
"childtype": "TaxDetail",
"required": 1
}
]
"name": "Tax",
"doctype": "DocType",
"isSingle": 0,
"isChild": 0,
"keywordFields": ["name"],
"fields": [
{
"fieldname": "name",
"label": "Name",
"fieldtype": "Data",
"required": 1
},
{
"fieldname": "details",
"label": "Details",
"fieldtype": "Table",
"childtype": "TaxDetail",
"required": 1
}
]
}

View File

@ -1,23 +1,23 @@
module.exports = {
"name": "TaxDetail",
"label": "Tax Detail",
"doctype": "DocType",
"isSingle": 0,
"isChild": 1,
"keywordFields": [],
"fields": [
{
"fieldname": "account",
"label": "Tax Account",
"fieldtype": "Link",
"target": "Account",
"required": 1
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Float",
"required": 1
}
]
"name": "TaxDetail",
"label": "Tax Detail",
"doctype": "DocType",
"isSingle": 0,
"isChild": 1,
"keywordFields": [],
"fields": [
{
"fieldname": "account",
"label": "Tax Account",
"fieldtype": "Link",
"target": "Account",
"required": 1
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Float",
"required": 1
}
]
}

View File

@ -1,28 +1,28 @@
module.exports = {
"name": "TaxSummary",
"doctype": "DocType",
"isSingle": 0,
"isChild": 1,
"keywordFields": [],
"fields": [
{
"fieldname": "account",
"label": "Tax Account",
"fieldtype": "Link",
"target": "Account",
"required": 1
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Float",
"required": 1
},
{
"fieldname": "amount",
"label": "Amount",
"fieldtype": "Currency",
"required": 1
}
]
"name": "TaxSummary",
"doctype": "DocType",
"isSingle": 0,
"isChild": 1,
"keywordFields": [],
"fields": [
{
"fieldname": "account",
"label": "Tax Account",
"fieldtype": "Link",
"target": "Account",
"required": 1
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Float",
"required": 1
},
{
"fieldname": "amount",
"label": "Amount",
"fieldtype": "Currency",
"required": 1
}
]
}

View File

@ -1,4 +1,4 @@
module.exports = [
require('frappejs/config/rollup.config.style.js'),
require('frappejs/config/rollup.config.app.js')
require('frappejs/config/rollup.config.style.js'),
require('frappejs/config/rollup.config.app.js')
]