public function byYearAndByOrganization($year, $organiztionId)
  {
    return $this->FiscalYear->where('year', '=', $year)->where('organization_id', '=', $organiztionId)->get()->first();
  }
public function byYearAndByOrganization($year, $organiztionId)
  {
    return $this->FiscalYear->where('year', '=', $year)->where('organization_id', '=', $organiztionId)->get()->first();
  }
public function byYearAndByOrganization ( $ year , $ organiztionId ) { return $ this -> FiscalYear -> where ( 'year' , '=' , $ year ) -> where ( 'organization_id' , '=' , $ organiztionId ) -> get ( ) -> first ( ) ; }
Retrieve fiscal year by year and by organization

@param  int $id Organization id

@return Mgallegos\DecimaAccounting\FiscalYear
Retrieve fiscal year by year and by organization