Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a naming convention option for Etude primary reference #100

Merged
merged 8 commits into from
Jun 4, 2017

Conversation

Stoakes
Copy link
Member

@Stoakes Stoakes commented Jun 3, 2017

There are 2 kinds of Junior-Entreprise :

  • those as M-Gate which use Etude.numero as primary Etude reference
  • those as N7 Consulting which use Etude.nom as primary Etude reference

To keep its workflow, M-Gate was willing to maintain its own version, with Etude.reference matching its needs. However, having 2 concurrent versions is a loss of energy. The solution is to introduce an option describing which field should be used as primary reference for an Etude in controllers.

Etude.reference has also been deprecated to point out that it should not be used anymore, especially in doctypes. Instead it should be created manually in doctypes.

To adapt parameter table to test that PR : docker-compose exec web php bin/console doctrine:migrations:execute 20170603140214

@Olivier-R

@Stoakes Stoakes mentioned this pull request Jun 3, 2017
@Stoakes Stoakes changed the title [WIP] Introduce a naming convention option for Etude primary reference Introduce a naming convention option for Etude primary reference Jun 4, 2017
@Stoakes Stoakes merged commit 05176c8 into dev Jun 4, 2017
@Stoakes Stoakes deleted the fix-document-reference branch June 4, 2017 09:08
@Stoakes Stoakes mentioned this pull request Jul 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant