mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 15:32:27 +00:00
rename dt second cut
This commit is contained in:
@@ -3,45 +3,45 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-09-01 15:47:59',
|
||||
'creation': '2010-09-20 12:33:34',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-09-15 15:04:42',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'ashwini@webnotestech.com'
|
||||
'modified': '2012-03-30 13:33:31',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'ashwini@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_field': 'kra_sheet',
|
||||
'from_table': 'Appraisal Template Goal',
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'from_field': u'kra_sheet',
|
||||
'from_table': u'Appraisal Template Goal',
|
||||
'match_id': 0,
|
||||
'name': '__common__',
|
||||
'parent': 'Appraisal Template-Appraisal',
|
||||
'parentfield': 'table_mapper_details',
|
||||
'parenttype': 'DocType Mapper',
|
||||
'to_field': 'appraisal_details',
|
||||
'to_table': 'Appraisal Goal',
|
||||
'validation_logic': 'name is not Null'
|
||||
'parent': u'Appraisal Template-Appraisal',
|
||||
'parentfield': u'table_mapper_details',
|
||||
'parenttype': u'DocType Mapper',
|
||||
'to_field': u'appraisal_details',
|
||||
'to_table': u'Appraisal Goal',
|
||||
'validation_logic': u'name is not Null'
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'from_doctype': 'Appraisal Template',
|
||||
'module': 'HR',
|
||||
'from_doctype': u'Appraisal Template',
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'to_doctype': 'Appraisal'
|
||||
'to_doctype': u'Appraisal'
|
||||
},
|
||||
|
||||
# DocType Mapper, Appraisal Template-Appraisal
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'name': 'Appraisal Template-Appraisal'
|
||||
'name': u'Appraisal Template-Appraisal'
|
||||
},
|
||||
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail'
|
||||
'doctype': u'Table Mapper Detail'
|
||||
}
|
||||
]
|
||||
@@ -885,7 +885,7 @@
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'previous_experience_details',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'Employee External Work Historys',
|
||||
'label': u'Employee External Work History',
|
||||
'options': u'Employee External Work History',
|
||||
'permlevel': 0
|
||||
},
|
||||
@@ -1064,4 +1064,4 @@
|
||||
'oldfieldtype': u'Small Text',
|
||||
'permlevel': 1
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
@@ -438,7 +438,7 @@
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'deduction_details',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'Deduction Details',
|
||||
'label': u'Deductions',
|
||||
'oldfieldname': u'deduction_details',
|
||||
'oldfieldtype': u'Table',
|
||||
'options': u'Salary Slip Deduction',
|
||||
@@ -553,4 +553,4 @@
|
||||
'oldfieldtype': u'Data',
|
||||
'permlevel': 1
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-09-01 15:48:09',
|
||||
'creation': '2012-03-30 13:33:31',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-09-01 14:18:42',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'ashwini@webnotestech.com'
|
||||
'modified': '2012-03-30 13:33:31',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'ashwini@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Appraisal\x01ID,Appraisal\x01Status,Appraisal\x01Employee,Appraisal\x01Employee Name,Appraisal\x01Start Date,Appraisal\x01End Date,Appraisal\x01Approver,Appraisal\x01Total Score',
|
||||
'criteria_name': 'Employee Appraisals',
|
||||
'doc_type': 'Appraisal',
|
||||
'columns': u'Appraisal\x01ID,Appraisal\x01Status,Appraisal\x01Employee,Appraisal\x01Employee Name,Appraisal\x01Start Date,Appraisal\x01End Date,Appraisal\x01Approver,Appraisal\x01Total Score',
|
||||
'criteria_name': u'Employee Appraisals',
|
||||
'doc_type': u'Appraisal',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Appraisal\x01Saved':1,'Appraisal\x01Submitted':1,'Appraisal\x01Status':'','Appraisal\x01Fiscal Year':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Appraisal\x01Saved':1,'Appraisal\x01Submitted':1,'Appraisal\x01Status':'','Appraisal\x01Fiscal Year':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabAppraisal`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabAppraisal`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, employee_appraisals
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'employee_appraisals'
|
||||
'name': u'employee_appraisals'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-14 10:23:25',
|
||||
'creation': '2012-03-30 13:33:32',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-10-26 12:03:08',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'harshada@webnotestech.com'
|
||||
'modified': '2012-03-30 13:33:32',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'harshada@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Employee\x01ID,Employee\x01Employee Name,Employee\x01Employee Number,Employee\x01Date of Joining,Employee\x01Gender,Employee\x01Date of Birth,Employee\x01Employment Type,Employee\x01Scheduled Confirmation Date,Employee\x01Contract End Date,Employee\x01Status,Employee\x01Branch,Employee\x01Department,Employee\x01Designation,Employee\x01Grade,Employee\x01Reports to,Employee\x01Email (By company),Employee\x01Bank Name,Employee\x01Relieving Date',
|
||||
'criteria_name': 'Employee Information',
|
||||
'doc_type': 'Employee',
|
||||
'columns': u'Employee\x01ID,Employee\x01Employee Name,Employee\x01Employee Number,Employee\x01Date of Joining,Employee\x01Gender,Employee\x01Date of Birth,Employee\x01Employment Type,Employee\x01Scheduled Confirmation Date,Employee\x01Contract End Date,Employee\x01Status,Employee\x01Branch,Employee\x01Department,Employee\x01Designation,Employee\x01Grade,Employee\x01Reports to,Employee\x01Email (By company),Employee\x01Bank Name,Employee\x01Relieving Date',
|
||||
'criteria_name': u'Employee Information',
|
||||
'doc_type': u'Employee',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Employee\x01Saved':1,'Employee\x01Submitted':1,'Employee\x01Gender':'','Employee\x01Month of Birth':'','Employee\x01Status':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Employee\x01Saved':1,'Employee\x01Submitted':1,'Employee\x01Gender':'','Employee\x01Month of Birth':'','Employee\x01Status':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabEmployee`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabEmployee`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, employee_information
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'employee_information'
|
||||
'name': u'employee_information'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-14 10:33:12',
|
||||
'creation': '2012-03-30 13:33:31',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-08-04 13:15:28',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-30 13:33:31',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Employee\x01ID,Employee\x01Employee Name,Employee\x01Department,Employee\x01Gender,Employee\x01Date of Birth,Employee\x01Month of Birth',
|
||||
'criteria_name': "Employee's Birthday",
|
||||
'doc_type': 'Employee',
|
||||
'columns': u'Employee\x01ID,Employee\x01Employee Name,Employee\x01Department,Employee\x01Gender,Employee\x01Date of Birth,Employee\x01Month of Birth',
|
||||
'criteria_name': u"Employee's Birthday",
|
||||
'doc_type': u'Employee',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Employee\x01Saved':1,'Employee\x01Gender':'','Employee\x01Month of Birth':'May','Employee\x01Status':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Employee\x01Saved':1,'Employee\x01Gender':'','Employee\x01Month of Birth':'May','Employee\x01Status':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabEmployee`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabEmployee`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, employees_birthday
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'employees_birthday'
|
||||
'name': u'employees_birthday'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-08-08 17:09:32',
|
||||
'creation': '2012-03-30 13:33:31',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-08-04 08:56:43',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-30 13:33:31',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Leave Transaction\x01ID,Leave Transaction\x01Fiscal Year,Leave Transaction\x01Employee,Leave Transaction\x01Leave Type,Leave Transaction\x01Previous Balance,Leave Transaction\x01Leave Transaction Type,Leave Transaction\x01Allocation Type,Leave Transaction\x01Deduction Type,Leave Transaction\x01Half Day,Leave Transaction\x01From Date,Leave Transaction\x01To Date,Leave Transaction\x01Encashment Date,Leave Transaction\x01Total Leave Days,Leave Transaction\x01Status',
|
||||
'criteria_name': 'Employeewise Leave Transaction Details',
|
||||
'doc_type': 'Leave Transaction',
|
||||
'columns': u'Leave Transaction\x01ID,Leave Transaction\x01Fiscal Year,Leave Transaction\x01Employee,Leave Transaction\x01Leave Type,Leave Transaction\x01Previous Balance,Leave Transaction\x01Leave Transaction Type,Leave Transaction\x01Allocation Type,Leave Transaction\x01Deduction Type,Leave Transaction\x01Half Day,Leave Transaction\x01From Date,Leave Transaction\x01To Date,Leave Transaction\x01Encashment Date,Leave Transaction\x01Total Leave Days,Leave Transaction\x01Status',
|
||||
'criteria_name': u'Employeewise Leave Transaction Details',
|
||||
'doc_type': u'Leave Transaction',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Leave Transaction\x01Saved':1,'Leave Transaction\x01Submitted':1}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Leave Transaction\x01Saved':1,'Leave Transaction\x01Submitted':1}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabLeave Transaction`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabLeave Transaction`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, employeewise_leave_transaction_details
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'employeewise_leave_transaction_details'
|
||||
'name': u'employeewise_leave_transaction_details'
|
||||
}
|
||||
]
|
||||
33
erpnext/hr/search_criteria/expense_claims/expense_claims.txt
Normal file
33
erpnext/hr/search_criteria/expense_claims/expense_claims.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
# Search Criteria, expense_claims
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-30 13:33:32',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-30 13:33:32',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'ashwini@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': u'Expense Claim\x01ID,Expense Claim\x01Approval Status,Expense Claim\x01From Employee,Expense Claim\x01Employee Name,Expense Claim\x01Approver,Expense Claim\x01Posting Date,Expense Claim\x01Total Claimed Amount,Expense Claim\x01Total Sanctioned Amount',
|
||||
'criteria_name': u'Expense Claims',
|
||||
'doc_type': u'Expense Claim',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Expense Claim\x01Saved':1,'Expense Claim\x01Submitted':1,'Expense Claim\x01Approval Status':'','Expense Claim\x01Fiscal Year':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': u'`tabExpense Claim`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, expense_claims
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'expense_claims'
|
||||
}
|
||||
]
|
||||
@@ -1,33 +0,0 @@
|
||||
# Search Criteria, expense_vouchers
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-09-03 16:45:09',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-09-02 11:05:37',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'ashwini@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Expense Claim\x01ID,Expense Claim\x01Approval Status,Expense Claim\x01From Employee,Expense Claim\x01Employee Name,Expense Claim\x01Approver,Expense Claim\x01Posting Date,Expense Claim\x01Total Claimed Amount,Expense Claim\x01Total Sanctioned Amount',
|
||||
'criteria_name': 'Expense Claims',
|
||||
'doc_type': 'Expense Claim',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Expense Claim\x01Saved':1,'Expense Claim\x01Submitted':1,'Expense Claim\x01Approval Status':'','Expense Claim\x01Fiscal Year':''}",
|
||||
'module': 'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabExpense Claim`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, expense_vouchers
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'expense_vouchers'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-14 10:23:25',
|
||||
'creation': '2012-03-30 14:50:43',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-11-30 18:03:56',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'harshada@webnotestech.com'
|
||||
'modified': '2012-03-30 14:50:43',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'harshada@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Attendance\x01Employee',
|
||||
'criteria_name': 'Monthly Attendance Details',
|
||||
'doc_type': 'Attendance',
|
||||
'columns': u'Attendance\x01Employee',
|
||||
'criteria_name': u'Monthly Attendance Details',
|
||||
'doc_type': u'Attendance',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Attendance\x01Status':'','Attendance\x01Fiscal Year':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Attendance\x01Status':'','Attendance\x01Fiscal Year':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabAttendance`.`employee`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabAttendance`.`employee`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, monthly_attendance_details
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'monthly_attendance_details'
|
||||
'name': u'monthly_attendance_details'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-14 10:33:12',
|
||||
'creation': '2012-03-30 14:50:44',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-04-05 14:43:08',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-30 14:50:44',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Salary Slip\x01ID,Salary Slip\x01Employee,Salary Slip\x01Employee Name,Salary Slip\x01Leave Without Pay,Salary Slip\x01Arrear Amount',
|
||||
'criteria_name': 'Monthly Salary Register',
|
||||
'doc_type': 'Salary Slip',
|
||||
'columns': u'Salary Slip\x01ID,Salary Slip\x01Employee,Salary Slip\x01Employee Name,Salary Slip\x01Leave Without Pay,Salary Slip\x01Arrear Amount',
|
||||
'criteria_name': u'Monthly Salary Register',
|
||||
'doc_type': u'Salary Slip',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Salary Slip\x01Month':'','Salary Slip\x01Year':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Salary Slip\x01Month':'','Salary Slip\x01Year':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': 'ID',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'ID',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, monthly_salary_register
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'monthly_salary_register'
|
||||
'name': u'monthly_salary_register'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-14 10:23:25',
|
||||
'creation': '2012-03-30 14:50:44',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-12-01 09:54:34',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'harshada@webnotestech.com'
|
||||
'modified': '2012-03-30 14:50:44',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'harshada@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Employee\x01ID',
|
||||
'criteria_name': 'New or left employees for a month',
|
||||
'doc_type': 'Employee',
|
||||
'columns': u'Employee\x01ID',
|
||||
'criteria_name': u'New or left employees for a month',
|
||||
'doc_type': u'Employee',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Employee\x01Saved':1,'Employee\x01Submitted':1,'Employee\x01Gender':'','Employee\x01Month of Birth':'','Employee\x01Status':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Employee\x01Saved':1,'Employee\x01Submitted':1,'Employee\x01Gender':'','Employee\x01Month of Birth':'','Employee\x01Status':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabEmployee`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabEmployee`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, new_or_left_employees_for_a_month
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'new_or_left_employees_for_a_month'
|
||||
'name': u'new_or_left_employees_for_a_month'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-09-01 15:48:09',
|
||||
'creation': '2012-03-30 14:50:44',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-09-01 14:19:02',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'ashwini@webnotestech.com'
|
||||
'modified': '2012-03-30 14:50:44',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'ashwini@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'criteria_name': 'Pending Appraisals',
|
||||
'criteria_name': u'Pending Appraisals',
|
||||
'disabled': 0,
|
||||
'doc_type': 'Appraisal',
|
||||
'doc_type': u'Appraisal',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Appraisal\x01Submitted':1,'Appraisal\x01Status':'Submitted','Appraisal\x01Fiscal Year':'','Appraisal\x01Approver':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Appraisal\x01Submitted':1,'Appraisal\x01Status':'Submitted','Appraisal\x01Fiscal Year':'','Appraisal\x01Approver':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabAppraisal`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabAppraisal`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, pending_appraisals
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'pending_appraisals'
|
||||
'name': u'pending_appraisals'
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,31 @@
|
||||
# Search Criteria, pending_expense_claims
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-30 14:50:44',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-30 14:50:44',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'ashwini@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'criteria_name': u'Pending Expense Claims',
|
||||
'doc_type': u'Expense Claim',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': u"{'Expense Claim\x01Approval Status':'','Expense Claim\x01Fiscal Year':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, pending_expense_claims
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': u'pending_expense_claims'
|
||||
}
|
||||
]
|
||||
@@ -1,53 +0,0 @@
|
||||
// ERPNext - web based ERP (http://erpnext.com)
|
||||
// Copyright (C) 2012 Web Notes Technologies Pvt Ltd
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
report.customize_filters = function() {
|
||||
this.hide_all_filters();
|
||||
|
||||
this.add_filter({fieldname:'approver', label:'Approver', fieldtype:'Link', options:'Profile', ignore : 1, parent:'Expense Claim'});
|
||||
this.filter_fields_dict['Expense Claim'+FILTER_SEP +'Approver'].df.in_first_page = 1;
|
||||
|
||||
this.filter_fields_dict['Expense Claim'+FILTER_SEP +'From Employee'].df.filter_hide = 0;
|
||||
this.filter_fields_dict['Expense Claim'+FILTER_SEP +'Employee Name'].df.filter_hide = 0;
|
||||
this.filter_fields_dict['Expense Claim'+FILTER_SEP +'Fiscal Year'].df.filter_hide = 0;
|
||||
this.filter_fields_dict['Expense Claim'+FILTER_SEP +'From Posting Date'].df.filter_hide = 0;
|
||||
this.filter_fields_dict['Expense Claim'+FILTER_SEP +'To Posting Date'].df.filter_hide = 0;
|
||||
this.filter_fields_dict['Expense Claim'+FILTER_SEP +'Company'].df.filter_hide = 0;
|
||||
}
|
||||
this.mytabs.items['Select Columns'].hide();
|
||||
|
||||
report.get_query = function(){
|
||||
//get filter values
|
||||
emp = this.filter_fields_dict['Expense Claim'+FILTER_SEP+'From Employee'].get_value();
|
||||
emp_nm = this.filter_fields_dict['Expense Claim'+FILTER_SEP+'Employee Name'].get_value();
|
||||
frm_start_date = this.filter_fields_dict['Expense Claim'+FILTER_SEP+'From Posting Date'].get_value();
|
||||
to_end_date = this.filter_fields_dict['Expense Claim'+FILTER_SEP+'To Posting Date'].get_value();
|
||||
fiscal_year = this.filter_fields_dict['Expense Claim'+FILTER_SEP+'Fiscal Year'].get_value();
|
||||
approver = this.filter_fields_dict['Expense Claim'+FILTER_SEP+'Approver'].get_value();
|
||||
company = this.filter_fields_dict['Expense Claim'+FILTER_SEP+'Company'].get_value();
|
||||
|
||||
var cond = '';
|
||||
if(emp) cond += ' AND `tabExpense Claim`.employee = "'+emp+'"';
|
||||
if(emp_nm) cond += ' AND `tabExpense Claim`.employee_name = "'+emp_nm+'"';
|
||||
if(frm_start_date) cond += ' AND `tabExpense Claim`.posting_date >= "'+frm_start_date+'"';
|
||||
if(to_end_date) cond += ' AND `tabExpense Claim`.posting_date <= "'+to_end_date+'"';
|
||||
if(fiscal_year !='') cond += ' AND `tabExpense Claim`.fiscal_year = "'+fiscal_year+'"';
|
||||
if(approver) cond += ' AND `tabExpense Claim`.exp_approver = "'+approver+'"';
|
||||
if(company) cond += ' AND `tabExpense Claim`.company = "'+company+'"';
|
||||
|
||||
var q = 'SELECT DISTINCT `tabExpense Claim`.name, `tabExpense Claim`.employee, `tabExpense Claim`.employee_name, `tabExpense Claim`.posting_date,`tabExpense Claim`.exp_approver, `tabExpense Claim`.total_claimed_amount, `tabExpense Claim`.total_sanctioned_amount FROM `tabExpense Claim` WHERE `tabExpense Claim`.approval_status= "Submitted"'+cond;
|
||||
return q;
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
# Search Criteria, pending_expense_vouchers
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-09-03 16:45:09',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-09-02 11:04:41',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'ashwini@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'criteria_name': 'Pending Expense Claims',
|
||||
'doc_type': 'Expense Claim',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Expense Claim\x01Approval Status':'','Expense Claim\x01Fiscal Year':''}",
|
||||
'module': 'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, pending_expense_vouchers
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'pending_expense_vouchers'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-29 12:30:57',
|
||||
'creation': '2012-03-30 13:33:32',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-12-29 12:11:18',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'harshada@webnotestech.com'
|
||||
'modified': '2012-03-30 13:33:32',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'harshada@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Salary Slip\x01ID,Salary Slip\x01Employee,Salary Slip\x01Employee Name,Salary Slip\x01Year,Salary Slip\x01Month,Salary Slip\x01Total days in month,Salary Slip\x01Payment days',
|
||||
'criteria_name': 'Salary Register',
|
||||
'doc_type': 'Salary Slip',
|
||||
'columns': u'Salary Slip\x01ID,Salary Slip\x01Employee,Salary Slip\x01Employee Name,Salary Slip\x01Year,Salary Slip\x01Month,Salary Slip\x01Total days in month,Salary Slip\x01Payment days',
|
||||
'criteria_name': u'Salary Register',
|
||||
'doc_type': u'Salary Slip',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Salary Slip\x01Submitted':1,'Salary Slip\x01Month':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Salary Slip\x01Submitted':1,'Salary Slip\x01Month':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabSalary Slip`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabSalary Slip`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, salary_register
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'salary_register'
|
||||
'name': u'salary_register'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-08-08 17:09:32',
|
||||
'creation': '2012-03-30 13:33:32',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-08-04 13:07:29',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-30 13:33:32',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Salary Slip\x01ID,Salary Slip\x01Fiscal Year,Salary Slip\x01Month,Salary Slip\x01Employee,Salary Slip\x01Employee Name,Salary Slip\x01Department,Salary Slip\x01Designation,Salary Slip\x01Branch,Salary Slip\x01Grade,Salary Slip\x01PF No.,Salary Slip\x01ESIC No.,Salary Slip\x01Leave Without Pay,Salary Slip\x01Bank Name,Salary Slip\x01Bank Account No.,Salary Slip\x01Payment days,Salary Slip\x01Arrear Amount,Salary Slip\x01Encashment Amount,Salary Slip\x01Gross Pay,Salary Slip\x01Total Deduction,Salary Slip\x01Net Pay',
|
||||
'criteria_name': 'Salary Slips',
|
||||
'doc_type': 'Salary Slip',
|
||||
'columns': u'Salary Slip\x01ID,Salary Slip\x01Fiscal Year,Salary Slip\x01Month,Salary Slip\x01Employee,Salary Slip\x01Employee Name,Salary Slip\x01Department,Salary Slip\x01Designation,Salary Slip\x01Branch,Salary Slip\x01Grade,Salary Slip\x01PF No.,Salary Slip\x01ESIC No.,Salary Slip\x01Leave Without Pay,Salary Slip\x01Bank Name,Salary Slip\x01Bank Account No.,Salary Slip\x01Payment days,Salary Slip\x01Arrear Amount,Salary Slip\x01Encashment Amount,Salary Slip\x01Gross Pay,Salary Slip\x01Total Deduction,Salary Slip\x01Net Pay',
|
||||
'criteria_name': u'Salary Slips',
|
||||
'doc_type': u'Salary Slip',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Salary Slip\x01Saved':1,'Salary Slip\x01Submitted':1}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Salary Slip\x01Saved':1,'Salary Slip\x01Submitted':1}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabSalary Slip`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabSalary Slip`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, salary_slips
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'salary_slips'
|
||||
'name': u'salary_slips'
|
||||
}
|
||||
]
|
||||
@@ -3,31 +3,31 @@
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-14 10:23:25',
|
||||
'creation': '2012-03-30 14:50:44',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-08-04 09:19:01',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
'modified': '2012-03-30 14:50:44',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all Search Criteria
|
||||
{
|
||||
'columns': 'Salary Structure\x01ID,Salary Structure\x01Employee,Salary Structure\x01From Date,Salary Structure\x01To Date,Salary Structure\x01Fiscal Year,Salary Structure\x01Branch,Salary Structure\x01Designation,Salary Structure\x01Department,Salary Structure\x01Grade,Salary Structure\x01Is Active,Salary Structure\x01Total Earning,Salary Structure\x01Total Deduction,Salary Structure\x01CTC,Salary Structure\x01Total',
|
||||
'criteria_name': 'Salary Structure Details',
|
||||
'doc_type': 'Salary Structure',
|
||||
'columns': u'Salary Structure\x01ID,Salary Structure\x01Employee,Salary Structure\x01From Date,Salary Structure\x01To Date,Salary Structure\x01Fiscal Year,Salary Structure\x01Branch,Salary Structure\x01Designation,Salary Structure\x01Department,Salary Structure\x01Grade,Salary Structure\x01Is Active,Salary Structure\x01Total Earning,Salary Structure\x01Total Deduction,Salary Structure\x01CTC,Salary Structure\x01Total',
|
||||
'criteria_name': u'Salary Structure Details',
|
||||
'doc_type': u'Salary Structure',
|
||||
'doctype': 'Search Criteria',
|
||||
'filters': "{'Salary Structure\x01Branch':'','Salary Structure\x01Designation':'','Salary Structure\x01Department':'','Salary Structure\x01Grade':'','Salary Structure\x01Is Active':''}",
|
||||
'module': 'HR',
|
||||
'filters': u"{'Salary Structure\x01Branch':'','Salary Structure\x01Designation':'','Salary Structure\x01Department':'','Salary Structure\x01Grade':'','Salary Structure\x01Is Active':''}",
|
||||
'module': u'HR',
|
||||
'name': '__common__',
|
||||
'page_len': 50,
|
||||
'sort_by': '`tabSalary Structure`.`name`',
|
||||
'sort_order': 'DESC',
|
||||
'standard': 'Yes'
|
||||
'sort_by': u'`tabSalary Structure`.`name`',
|
||||
'sort_order': u'DESC',
|
||||
'standard': u'Yes'
|
||||
},
|
||||
|
||||
# Search Criteria, salary_structure_details
|
||||
{
|
||||
'doctype': 'Search Criteria',
|
||||
'name': 'salary_structure_details'
|
||||
'name': u'salary_structure_details'
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user