Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. public function getJenisKelaminDisplayAttribute()
  2. {
  3. if (@$this->attributes['jk'] == 'L') return 'Laki-Laki';
  4. if (@$this->attributes['jk'] == 'P') return 'Perempuan';
  5. return '-';
  6.  
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement