mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
758727b296
- table scroll issue, etc
108 lines
2.3 KiB
JSON
108 lines
2.3 KiB
JSON
{
|
|
"name": "PurchaseInvoice",
|
|
"label": "Purchase Invoice",
|
|
"isSingle": false,
|
|
"isChild": false,
|
|
"isSubmittable": true,
|
|
"showTitle": true,
|
|
"fields": [
|
|
{
|
|
"label": "Bill No",
|
|
"fieldname": "name",
|
|
"fieldtype": "Data",
|
|
"required": true,
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "date",
|
|
"label": "Date",
|
|
"fieldtype": "Date"
|
|
},
|
|
{
|
|
"fieldname": "party",
|
|
"label": "Party",
|
|
"fieldtype": "Link",
|
|
"target": "Party",
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "account",
|
|
"label": "Account",
|
|
"fieldtype": "Link",
|
|
"target": "Account"
|
|
},
|
|
{
|
|
"fieldname": "currency",
|
|
"label": "Supplier Currency",
|
|
"fieldtype": "Link",
|
|
"target": "Currency",
|
|
"hidden": true
|
|
},
|
|
{
|
|
"fieldname": "exchangeRate",
|
|
"label": "Exchange Rate",
|
|
"fieldtype": "Float",
|
|
"default": 1
|
|
},
|
|
{
|
|
"fieldname": "items",
|
|
"label": "Items",
|
|
"fieldtype": "Table",
|
|
"target": "PurchaseInvoiceItem",
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "netTotal",
|
|
"label": "Net Total",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "baseNetTotal",
|
|
"label": "Net Total (Company Currency)",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "taxes",
|
|
"label": "Taxes",
|
|
"fieldtype": "Table",
|
|
"target": "TaxSummary",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "grandTotal",
|
|
"label": "Grand Total",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "baseGrandTotal",
|
|
"label": "Grand Total (Company Currency)",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "outstandingAmount",
|
|
"label": "Outstanding Amount",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "terms",
|
|
"label": "Terms",
|
|
"placeholder": "Add invoice terms",
|
|
"fieldtype": "Text"
|
|
},
|
|
{
|
|
"fieldname": "numberSeries",
|
|
"label": "Number Series",
|
|
"fieldtype": "Link",
|
|
"target": "NumberSeries",
|
|
"required": true,
|
|
"default": "PINV-"
|
|
}
|
|
],
|
|
"keywordFields": ["name", "party", "numberSeries"]
|
|
}
|