'Calculate salary after salary structure details have been updated'

def process_salary_structure(self):

    if (not self.salary_slip_based_on_timesheet):
        self.get_date_details()
    self.pull_emp_details()
    self.get_leave_details()
    self.calculate_net_pay()
