olimart/moreflowers2 — Issue #3: add date filter on stocks to receive
Author: olimart
Created: 2011-12-10 05:15:43+00:00
State: open

on /stocks/items_to_receive add between dates filter (From and To). All items to receive between 2 dates

For that you will need to a date for each product purchased. PurchaseItem already has expected_date I think we should add a new column to Stock to store this information. See PurchaseItem observer to see how stocks are created but I think we should pass that on here (unless you have something to propose. Feel free).

When we get this information we need to group and sort stocks to receive by week.

* Week from XX to XX
* variation.name | supplier.name | in_stock
* Week from XX to XX
* variation.name | supplier.name | in_stock
* variation.name | supplier.name | in_stock
...