-
Notifications
You must be signed in to change notification settings - Fork 3
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
fresh workflow: receive different weight than ordered #17
Comments
It would be useful to split the current "balancing" screen (in foodcoop-adam also called "receive") into a number of different screens. Let's look at the workflow (for fresh products):
This would be possible with the following screens:
|
So there's the user-interface side (see previous comment), as well as the data model. The latter entails supporting fractional amounts (like 0.6), and possibly as well supporting different units for distribution (like ordered in units, distributed and billed in kgs). Before checking in changes that affect the product distribution code, I'd like to have (unit) tests in place. That's work in progess (see foodcoops#120 and tests-rspec). But we can start on the fresh flow anyway - just before merging it into master, I'd like to be really sure that existing functionality does not break. |
i love the proposal; would change 1 thing. |
@Cor-Jan does this need different screens, or could both people (invoice and receive delivery) use the same screen for that? |
i would prefer different screens. to make shure there is no mixup in data ! and that the tasks are easily seperated; also for showing them sepererately in task area on dashboard |
The question is: is it necessary to have both the amount ordered, the amount billed and the amount received as different numbers in the system? Currently there is no difference between those numbers. Is that desirable? Irregardless of whether that data is needed, we can provide different links and displays from the dashboard. This would require adding these amounts to the data model. |
these numbers are all relevant for contact with suppliers and accounting. On Fri, Jul 19, 2013 at 11:41 AM, wvengen [email protected] wrote:
|
Ok - let's put this in too. So we'd like to have the following quantities in the system ( (*) = currently in foodsoft):
|
perhaps we could set the interface like #98 |
work moved to branch fresh-flow, so that we can easily merge it into upstream |
Quantities are being tackled in foodcoops#222. Fractional units for member ordering are found in #101. Then this ticket is for entering kgs in the receive screen. Probably involves changing integer -> numeric in the database. Need to check if this affects performance. |
At the moment we can only add the exact amount to the bill based on the price of a product and quantity of that product that it has ordered.
We want to sell vegetables and fruits, and later also other products we will sell without packages with fixed weight. The issue is that it is not possible to get the exact weight as ordered because carrots or pumpkins are never the same size/weight.
Solution proposal:
With products (like veggies/fruit) sold per kg without fixed quantity packaging, add functionality that the person dividing the veggies/fruit can enter the amount of a product that he/she has allocated to a certain member.
Foodsoft currently keeps track of the amount that members ordered as well as the amount they received. To make this work, the system has to accept irrational numbers (e.g. 0.8 kg, 3,67 kg) (#101). Members still can have ordered in pieces (like pumpkin) or weight (like cherries) - both need to have the ability to bill by weight.
The amount ordered by the member is an indication to allocate a certain amount of the amount that is delivered of that product to that member. The member who divides the veggies needs to see what is ordered, puts an amount of the right veggies on the scale until it is near what the ordering member has ordered. Then he enters the amount in the system, if it is different.
The text was updated successfully, but these errors were encountered: