Skip to content

Commit

Permalink
Fix for staff phonenumber sync issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondbca committed Oct 21, 2024
1 parent 83f6d91 commit 57cd1fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ledger/accounts/management/commands/sync_itassets_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def handle(self, *args, **options):
u.first_name = first_name
u.last_name = last_name
u.is_staff = True
u.phone_number = phone
u.mobile_number = mobile
u.staff_phone_number = phone
u.staff_mobile_number = mobile
u.position_title = position_title
u.manager_name = manager_name
u.manager_email = manager_email
Expand All @@ -69,8 +69,8 @@ def handle(self, *args, **options):
first_name=first_name,
last_name=last_name,
is_staff=True,
phone_number=phone,
mobile_number=mobile,
staff_phone_number=phone,
staff_mobile_number=mobile,
position_title=position_title,
manager_name=manager_name,
manager_email=manager_email,
Expand Down

0 comments on commit 57cd1fe

Please sign in to comment.