> I would like to avoid adding a configuration option. Let us try to
> find an improved solution that covers all needs.
> Choosing your "green" option just makes the current behavior more
> consistent. I think there is a bug concerning initial background color
> (after page load) vs. dynamically updated background color (after
> changing the amounts by clicking +/-): In the situation you describe,
> the initial background color is white. However, after clicking "+" and
> "-" once, the background color is green. Note: I am not describing the
> behavior of your modifications, but the current behavior of the demo.
> I can observe the same inconsistency with only one ordergroup: After
> filling the package, the background color is green. After saving and
> re-opening the ordering form, the background color is white. Clicking
> "+" and "-" once, the background color is back to green.
> I think that four colors (white, green, red, yellow) are enough. I
> would like to avoid additional complexity (for developers and users).
So lets try to fix the semantics for the colors:
*yellow*: somebody (possibly including you) has ordered this article,
but there is one item missing to complete enough packages to fulfill all
*red*: As yellow, but more than one item is missing*
*green*: You have ordered this article and the order can be fulfilled
*OR* there is tolerance left for this article.
*white*: Nobody has ordered this article or all orders can be fulfilled
and there is no tolerance left.
Ok like that?