[UPDT] PAYROLL: Changed payslip employee image from if condition to get_avatar method
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<div class="oh-profile oh-profile--md">
|
||||
<div class="oh-profile__avatar mr-1">
|
||||
<img
|
||||
src="https://ui-avatars.com/api/?name={{payslip.employee_id}}&background=random"
|
||||
src="{{payslip.employee_id.get_avatar}}"
|
||||
class="oh-profile__image"
|
||||
alt="Mary Magdalene"
|
||||
/>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<div class="oh-profile oh-profile--md">
|
||||
<div class="oh-profile__avatar mr-1">
|
||||
<img
|
||||
src="https://ui-avatars.com/api/?name={{payslip.employee_id}}&background=random"
|
||||
src="{{payslip.employee_id.get_avatar}}"
|
||||
class="oh-profile__image"
|
||||
alt="Mary Magdalene"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user