Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getJenisKelaminDisplayAttribute()
- {
- if (@$this->attributes['jk'] == 'L') return 'Laki-Laki';
- if (@$this->attributes['jk'] == 'P') return 'Perempuan';
- return '-';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement