-
Notifications
You must be signed in to change notification settings - Fork 147
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
clarificiation of minimum order quantity - currency independant #838
base: master
Are you sure you want to change the base?
Conversation
"Wert" repräsentiert für mich eher einen Geldbetrag als "Menge", daher wird die deutsche Übersetzung aus meiner sicht klarer.
currency symbol as placeholder in minimum order quantity input field
Display min_order_quantity as currency
Thank you for your PR! I have been confused by the meaning of this. The field is called quantity, but at some point someone added some logic related to monetary amount. I have used it in the past for a textual description. And indeed, the field is a string, as can be seen in https://github.com/foodcoops/foodsoft/blob/master/db/schema.rb#L473. This is not an ideal situation. Maybe we need to find clarity on its use in the (user) mailing-list. And introduce a monetary field separate from a 'free-form' quantity field (if it is used at all). Perhaps there are other uses (e.g. weight or crates or whatever). |
I'd suggest adding a text field Then we could migrate |
What's the benefit compared to copying the order? If we add a I like the idea of extending the custom fields to the supplier and your migration path for existing data. |
Sorry, I meant a field
You wouldn't have to click "copy" each time and could open orders normally, while you would still be able to adapt it in case the conditions differ for a specific order. (Also, copying an order does not copy the note atm) |
The German translation for minimum order quantity is changed:
"Wert" repräsentiert für mich eher einen Geldbetrag als "Menge", daher wird die deutsche Übersetzung aus meiner Sicht klarer.
Additionally, a currency symbol is displayed for the minimum order quantity in following locations: