Kurdistan parliament passes presidency bill, but with opposition

Will the president be elected in parliament or by the electorate?