Just add a custom method on your user model that wraps the following code you have here.
May 10, 2020
8
Level 12
Want to short this, HELP!!
$user->rankDistributor->first()->affiliation_distributor_income
I want to write something like this and get the value :
$user->rankDistributor->affiliation_distributor_income
Please or to participate in this conversation.