Open SHdrch opened 4 years ago
In order for this to work, we would need to define a default mapping from ELAN crop codes to the respective KTBL organic crops. Right now, this mapping exists for conventional farms only:
https://github.com/fruchtfolge/client/blob/master/assets/js/cultures.js
The structure should be the same, we would "just" have to replace the id
property with the corresponding organic crop type.
For the creation of the "Deckungsbeiträge" it is important for the program to know which sort of agriculture the fam is practising organic or conventional. Maybe it is possible to ask that in advance when the registration is taking place.