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 |
Inherits from frappe.model.document.Document
No docs
No docs
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
Returns list of active employees based on selected criteria and for which salary structure exists
No docs
get_joining_releiving_condition (self)
No docs
get_month_details (self, year, month)
No docs
Returns list of salary slips based on selected criteria which are not submitted
Get total salary amount from submitted salary slip based on selected criteria
make_journal_entry (self, salary_account=None)
No docs
Submit all salary slips based on selected criteria