bugfix: process bar code only when complet

I cannot believe I forgot this!

Signed-off-by: Zeljko <zeljko@zwr.fi>
housekeeping: no JS on basic pages

This was causing double compilation of resources if angular
app would change.

Signed-off-by: Zeljko <zeljko@zwr.fi>
bugfix: do not clear the bar code input too eagerly

Signed-off-by: Zeljko <zeljko@zwr.fi>
make barcode input red if input is not allowed

This will happen if there is non-existing command, or existing
command at a wrong moment, of any other input that is not usable at
that point.

The input stays red until the next code is scanned.

Signed-off-by: Zeljko <zeljko@zwr.fi>
bootstrap on secondary side

Signed-off-by: Zeljko <zeljko@zwr.fi>
nicer docs with tables

Signed-off-by: Zeljko <zeljko@zwr.fi>
cool commit! add 1 per scan, no order

This changes it so that it ads one commit per scan, instead
of jumping to the full quantity (there will be a command for that).
However, it does it really nice that it increases to the full into
one order, and only then switching to the next order that would contain
the same item.

In addition, the order of scanning is no more important!

Condition is a bit clumsy, but effective. However, there is still a way
to give less than full amount, but making a substitution. When 'Done
substituting' is executed, next scan will not try to add to that item,
but will try to find another one.

Signed-off-by: Zeljko <zeljko@zwr.fi>
added "if 1" for easier debugging

Signed-off-by: Zeljko <zeljko@zwr.fi>
quantity management

Now there are buttons (and commands) for increasing and decreasing
quantities, and fulfilling them. In addition, quantities are now
integers, and original requested quantity always shows on the right
side (And left as before).

Signed-off-by: Zeljko <zeljko@zwr.fi>
bugfix: return correct loaded work order

Signed-off-by: Zeljko <zeljko@zwr.fi>
show some shelf number

Signed-off-by: Zeljko <zeljko@zwr.fi>
boxes are ABCD now, not 1234

Signed-off-by: Zeljko <zeljko@zwr.fi>
complete, finish incomplete or defer

Now we are realy checking if order is complete.

Signed-off-by: Zeljko <zeljko@zwr.fi>
visualize next and latest box

Signed-off-by: Zeljko <zeljko@zwr.fi>
debug: always serve only first work order

Signed-off-by: Zeljko <zeljko@zwr.fi>
allow adding mroe later

This allows operator to add certain item later, if he has missed it.

Signed-off-by: Zeljko <zeljko@zwr.fi>
ui improvements

- Buttons are now in the navbar in pickup view.
- We paint meaningfully items that are incomplete.
- We show the latest item on top.
- Clearfix to nicely arrange buttons.

Signed-off-by: Zeljko <zeljko@zwr.fi>
add as web app to android

Signed-off-by: Zeljko <zeljko@zwr.fi>
do not show barcodes to the operator

Signed-off-by: Zeljko <zeljko@zwr.fi>
longer delay for barcode reading

This is needed for the Lenovo tablet.

Signed-off-by: Zeljko <zeljko@zwr.fi>