Version 6.x.x Source
Single

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `section_break0` | Section Break | Select Employees |
2 | `column_break0` | Column Break |  |
3 | `company` | Link | Company | Company
4 | `branch` | Link | Branch | Branch
5 | `send_email` | Check | Send Email Check if you want to send salary slip in mail to each employee while submitting salary slip |
6 | `column_break1` | Column Break |  |
7 | `department` | Link | Department | Department
8 | `designation` | Link | Designation | Designation
9 | `select_payroll_year_and_month` | Section Break | Select Payroll Year and Month |
10 | `fiscal_year` | Link | Fiscal Year | Fiscal Year
11 | `column_break_11` | Column Break |  |
12 | `month` | Select | Month |
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
13 | `process_payroll` | Section Break | Process Payroll |
14 | `column_break2` | Column Break |  |
15 | `create_salary_slip` | Button | Create Salary Slip Creates salary slip for above mentioned criteria. |
16 | `column_break3` | Column Break |  |
17 | `submit_salary_slip` | Button | Submit Salary Slip Submit all salary slips for the above selected criteria |
18 | `column_break4` | Column Break |  |
19 | `make_bank_entry` | Button | Make Bank Entry Create Bank Entry for the total salary paid for the above selected criteria |
20 | `section_break2` | Section Break |  |
21 | `activity_log` | HTML | Activity Log |

### Controller

#### erpnext.hr.doctype.process_payroll.process_payroll

### Class ProcessPayroll

Inherits from frappe.model.document.Document

check_mandatory (self)

No docs

create_log (self, ss_list)

No docs

create_sal_slip (self)

Creates salary slip for selected employees if already not created

create_submit_log (self, all_ss, not_submitted_ss)

No docs

format_as_links (self, ss_list)

No docs

get_emp_list (self)

Returns list of active employees based on selected criteria and for which salary structure exists

get_filter_condition (self)

No docs

get_joining_releiving_condition (self)

No docs

get_sal_slip_list (self)

Returns list of salary slips based on selected criteria which are not submitted

get_total_salary (self)

Get total salary amount from submitted salary slip based on selected criteria

make_journal_entry (self, salary_account=None)

No docs

submit_salary_slip (self)

Submit all salary slips based on selected criteria

erpnext.hr.doctype.process_payroll.process_payroll.get_month_details (year, month)

No docs