fix: Expense calim form UI

This commit is contained in:
Anurag Mishra 2019-12-12 11:20:18 +05:30 committed by Nabin Hait
parent ec9000b6b9
commit 39ecd6ee1e
4 changed files with 103 additions and 235 deletions

View File

@ -1,238 +1,100 @@
{ {
"allow_copy": 0, "actions": [],
"allow_guest_to_view": 0, "creation": "2017-10-09 16:53:26.410762",
"allow_import": 0, "doctype": "DocType",
"allow_rename": 0, "document_type": "Document",
"beta": 0, "editable_grid": 1,
"creation": "2017-10-09 16:53:26.410762", "engine": "InnoDB",
"custom": 0, "field_order": [
"docstatus": 0, "employee_advance",
"doctype": "DocType", "posting_date",
"document_type": "Document", "advance_paid",
"editable_grid": 1, "column_break_4",
"engine": "InnoDB", "unclaimed_amount",
"allocated_amount",
"advance_account"
],
"fields": [ "fields": [
{ {
"allow_bulk_edit": 0, "columns": 2,
"allow_on_submit": 0, "fieldname": "employee_advance",
"bold": 0, "fieldtype": "Link",
"collapsible": 0, "in_list_view": 1,
"columns": 2, "label": "Employee Advance",
"fieldname": "employee_advance", "no_copy": 1,
"fieldtype": "Link", "oldfieldname": "journal_voucher",
"hidden": 0, "oldfieldtype": "Link",
"ignore_user_permissions": 0, "options": "Employee Advance",
"ignore_xss_filter": 0, "print_width": "250px",
"in_filter": 0, "reqd": 1,
"in_global_search": 0,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Employee Advance",
"length": 0,
"no_copy": 1,
"oldfieldname": "journal_voucher",
"oldfieldtype": "Link",
"options": "Employee Advance",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": "250px",
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 0,
"set_only_once": 0,
"unique": 0,
"width": "250px" "width": "250px"
}, },
{ {
"allow_bulk_edit": 0, "columns": 2,
"allow_on_submit": 0, "fieldname": "posting_date",
"bold": 0, "fieldtype": "Date",
"collapsible": 0, "in_list_view": 1,
"columns": 2, "label": "Posting Date",
"fieldname": "posting_date", "read_only": 1
"fieldtype": "Date", },
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Posting Date",
"length": 0,
"no_copy": 0,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{ {
"allow_bulk_edit": 0, "columns": 2,
"allow_on_submit": 0, "fieldname": "advance_paid",
"bold": 0, "fieldtype": "Currency",
"collapsible": 0, "in_list_view": 1,
"columns": 2, "label": "Advance Paid",
"fieldname": "advance_paid", "options": "Company:company.default_currency",
"fieldtype": "Currency", "read_only": 1
"hidden": 0, },
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Advance Paid",
"length": 0,
"no_copy": 0,
"options": "Company:company.default_currency",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
},
{ {
"allow_bulk_edit": 0, "columns": 2,
"allow_on_submit": 0, "fieldname": "unclaimed_amount",
"bold": 0, "fieldtype": "Currency",
"collapsible": 0, "in_list_view": 1,
"columns": 2, "label": "Unclaimed amount",
"fieldname": "unclaimed_amount", "no_copy": 1,
"fieldtype": "Currency", "oldfieldname": "advance_amount",
"hidden": 0, "oldfieldtype": "Currency",
"ignore_user_permissions": 0, "options": "Company:company.default_currency",
"ignore_xss_filter": 0, "print_width": "120px",
"in_filter": 0, "read_only": 1,
"in_global_search": 0, "reqd": 1,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Unclaimed amount",
"length": 0,
"no_copy": 1,
"oldfieldname": "advance_amount",
"oldfieldtype": "Currency",
"options": "Company:company.default_currency",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": "120px",
"read_only": 1,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 1,
"search_index": 0,
"set_only_once": 0,
"unique": 0,
"width": "120px" "width": "120px"
}, },
{ {
"allow_bulk_edit": 0, "columns": 2,
"allow_on_submit": 0, "fieldname": "allocated_amount",
"bold": 0, "fieldtype": "Currency",
"collapsible": 0, "in_list_view": 1,
"columns": 2, "label": "Allocated amount",
"fieldname": "allocated_amount", "no_copy": 1,
"fieldtype": "Currency", "oldfieldname": "allocated_amount",
"hidden": 0, "oldfieldtype": "Currency",
"ignore_user_permissions": 0, "options": "Company:company.default_currency",
"ignore_xss_filter": 0, "print_width": "120px",
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 1,
"in_standard_filter": 0,
"label": "Allocated amount",
"length": 0,
"no_copy": 1,
"oldfieldname": "allocated_amount",
"oldfieldtype": "Currency",
"options": "Company:company.default_currency",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": "120px",
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0,
"width": "120px" "width": "120px"
}, },
{ {
"allow_bulk_edit": 0, "fieldname": "advance_account",
"allow_on_submit": 0, "fieldtype": "Link",
"bold": 0, "hidden": 1,
"collapsible": 0, "label": "Advance Account",
"columns": 0, "options": "Account"
"fieldname": "advance_account", },
"fieldtype": "Link", {
"hidden": 1, "fieldname": "column_break_4",
"ignore_user_permissions": 0, "fieldtype": "Column Break"
"ignore_xss_filter": 0,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"label": "Advance Account",
"length": 0,
"no_copy": 0,
"options": "Account",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0
} }
], ],
"has_web_view": 0, "istable": 1,
"hide_heading": 0, "links": [],
"hide_toolbar": 0, "modified": "2019-12-11 13:53:22.111766",
"idx": 0, "modified_by": "Administrator",
"image_view": 0, "module": "HR",
"in_create": 0, "name": "Expense Claim Advance",
"is_submittable": 0, "owner": "Administrator",
"issingle": 0, "permissions": [],
"istable": 1, "quick_entry": 1,
"max_attachments": 0, "sort_field": "modified",
"modified": "2017-10-09 19:59:48.818139", "sort_order": "DESC"
"modified_by": "Administrator",
"module": "HR",
"name": "Expense Claim Advance",
"name_case": "",
"owner": "Administrator",
"permissions": [],
"quick_entry": 1,
"read_only": 0,
"read_only_onload": 0,
"show_name_in_global_search": 0,
"sort_field": "modified",
"sort_order": "DESC",
"track_changes": 0,
"track_seen": 0
} }

View File

@ -1,4 +1,5 @@
{ {
"actions": [],
"creation": "2013-02-22 01:27:46", "creation": "2013-02-22 01:27:46",
"doctype": "DocType", "doctype": "DocType",
"editable_grid": 1, "editable_grid": 1,
@ -12,9 +13,9 @@
"description", "description",
"section_break_6", "section_break_6",
"amount", "amount",
"cost_center",
"column_break_8", "column_break_8",
"sanctioned_amount", "sanctioned_amount"
"cost_center"
], ],
"fields": [ "fields": [
{ {
@ -107,8 +108,9 @@
], ],
"idx": 1, "idx": 1,
"istable": 1, "istable": 1,
"modified": "2019-11-22 11:57:25.110942", "links": [],
"modified_by": "jangeles@bai.ph", "modified": "2019-12-11 13:42:33.233432",
"modified_by": "Administrator",
"module": "HR", "module": "HR",
"name": "Expense Claim Detail", "name": "Expense Claim Detail",
"owner": "harshada@webnotestech.com", "owner": "harshada@webnotestech.com",

View File

@ -1,4 +1,5 @@
{ {
"actions": [],
"allow_import": 1, "allow_import": 1,
"allow_rename": 1, "allow_rename": 1,
"autoname": "field:expense_type", "autoname": "field:expense_type",
@ -9,8 +10,8 @@
"field_order": [ "field_order": [
"deferred_expense_account", "deferred_expense_account",
"expense_type", "expense_type",
"description", "accounts",
"accounts" "description"
], ],
"fields": [ "fields": [
{ {
@ -46,8 +47,9 @@
], ],
"icon": "fa fa-flag", "icon": "fa fa-flag",
"idx": 1, "idx": 1,
"modified": "2019-11-22 12:00:18.710408", "links": [],
"modified_by": "jangeles@bai.ph", "modified": "2019-12-11 13:38:59.534034",
"modified_by": "Administrator",
"module": "HR", "module": "HR",
"name": "Expense Claim Type", "name": "Expense Claim Type",
"owner": "harshada@webnotestech.com", "owner": "harshada@webnotestech.com",

View File

@ -1,4 +1,5 @@
{ {
"actions": [],
"autoname": "hash", "autoname": "hash",
"creation": "2019-06-03 11:42:33.123976", "creation": "2019-06-03 11:42:33.123976",
"doctype": "DocType", "doctype": "DocType",
@ -8,8 +9,8 @@
"field_order": [ "field_order": [
"account_head", "account_head",
"cost_center", "cost_center",
"col_break1",
"rate", "rate",
"col_break1",
"description", "description",
"section_break_6", "section_break_6",
"tax_amount", "tax_amount",
@ -93,7 +94,8 @@
} }
], ],
"istable": 1, "istable": 1,
"modified": "2019-06-20 12:01:33.919555", "links": [],
"modified": "2019-12-11 13:50:02.883328",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "HR", "module": "HR",
"name": "Expense Taxes and Charges", "name": "Expense Taxes and Charges",