mapped[$this->index][$this->value])) { $bill = Auth::user()->bills()->find($this->mapped[$this->index][$this->value]); } else { $bill = Auth::user()->bills()->find($this->value); } return $bill; } }