minor fix
This commit is contained in:
parent
45725c2c7b
commit
7aae0e66df
@ -43,7 +43,7 @@ class EmployeeTransfer(Document):
|
|||||||
employee = update_employee(employee, self.transfer_details, date=self.transfer_date)
|
employee = update_employee(employee, self.transfer_details, date=self.transfer_date)
|
||||||
if self.company != self.new_company:
|
if self.company != self.new_company:
|
||||||
employee.company = self.new_company
|
employee.company = self.new_company
|
||||||
new_employee.date_of_joining = self.transfer_date
|
employee.date_of_joining = self.transfer_date
|
||||||
employee.save()
|
employee.save()
|
||||||
|
|
||||||
def on_cancel(self):
|
def on_cancel(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user