Shopping lists

A shopping list collects what the lab wants to buy, so that one person can place a joint order with Farnell, Merkur or another shop instead of a dozen small ones. The app only keeps the records. Nothing is ordered through it: a manager places the order with the shop and tells the app what happened.

A list is long-running. A list called “Farnell” can stay active for a year, and many orders can be made from it. Each order takes some of the items that are wanted at that moment.

The lists are behind the shopping-cart icon in the top bar (its tooltip reads Shopping lists). It is there for everybody who is signed in and approved. The page it opens is a table with one row per list: the name, the lab (or “all labs”), how many items are wanted, how many orders are in progress, and whether the list is active or archived. Archived lists are dimmed and sit last.

Throughout, the pages work the same way: the items are rows of a table, you tick the rows you mean, and the buttons that act on them are once below the table. No row has buttons of its own. On a phone each row stacks and every value takes its label back.

Asking for something

Open an active list and press + Add a row. An empty row appears at the bottom of the table:

  • What and Quantity (already 1) are required.

  • Many purchases repeat. While you type in What, earlier items whose name contains what you typed are offered below the field, newest first, with the ones from this list on top. Each shows the list it was on, its date and its price. Pick one (tap it, or use the arrow keys and Enter) and the name, link, price and quantity are filled in from its latest use. All of them can still be changed, and the note stays empty. Only lists you can see are searched.

  • The link field is optional but worth the half minute. Whoever orders should not have to guess which of five similar parts you meant, and a link settles it. A row without one is marked no link. In the table a link is shown as the word link and opens in a new tab.

  • The price field is a rough figure for one piece, not for the whole line. The page multiplies it by the quantity and shows an estimated total. Items without a price are left out of that total, so the real bill can be higher.

  • The note field is for anything else the buyer should know.

Press Save. Your name is recorded on the row. If something is wrong (no name, a link that is not a web address) the row comes back open with the message beside the field. New items can be added at any time, also while an order from the list is being prepared or is on its way. They stay under Wanted and wait for the next order.

Every item is in one of four states:

Wanted

On the list, not in any order yet.

Packed

A manager has put it into an order that has not been placed yet.

Ordered

Its order has been placed with the shop.

Received

It has arrived.

While an item is wanted you can correct your own line: its name in the table is a link to the change form (a manager can do this for anybody’s line). On that form, leaving the price empty keeps the price the line already has. To take lines off, tick them and press Remove below the table; you can tick only your own, and a manager can remove anybody’s. Once an item is packed into an order it can no longer be changed or removed.

Orders

An order is a set of items from one list that goes to the shop together. It has three states, and only moves forward:

Packed

The manager has chosen the items, but nothing has been ordered yet. Items can still be moved in and out.

Ordered

The order has been placed with the shop. Its items are fixed from now on.

Closed

The order is finished. It stays readable but nothing in it changes.

Each list shows its orders in progress under Orders, with their state, date, number of items and note. Closed orders are folded away under Closed orders. Open an order to see its items in a table (quantity, link, price, line total, who asked, state and the catalogue identifiers) and the estimated total.

What managers do

Managers start lists with New list on the overview, which opens a small form of its own. A list belongs to the lab of the person who started it.

Packing an order. On the list, tick the wanted rows that belong in one order and press Pack into order, or press Pack all wanted items to take everything that is wanted. The field next to them is an optional note for the order, the place for the supplier’s order number. Packing does not order anything.

While the order is packed. On the order page:

Put selected back on the list

Takes the ticked items out of the order. They become wanted again.

Add selected to this order

Adds wanted items from the list that were left out or asked for since.

Cancel the order

Throws the order away. All its items go back to wanted.

Mark ordered

Says the order has been placed with the shop.

Send to procurement

Emails the order to the people who place it; see below.

While the order is ordered. As the parcel arrives, tick the items that came and press Mark selected received; Mark selected not received takes the tick back. The person who asked is told when their item is received.

Close the order

Finishes the order. Items that have not arrived go back to wanted, so they can go into the next order, and the order records how many did. Received items stay with the closed order.

Sending the order to procurement. If the lab has a procurement office, a packed order can be emailed to it instead of being marked ordered by hand. Press Send to procurement on the order page (it is in the Manage panel of a packed order). On the page that opens:

  • To offers the lab’s saved procurement addresses; choose one, or choose Other: and type an address.

  • Copy to is filled in with the lab head’s address, and you can change it. Several addresses are separated by commas. Untick the box for no copy.

  • Language is the language the email is written in: its subject, its fixed text, the column headings of the table and the standard message. It starts as the lab’s setting (Slovenian when the lab has none), whatever language you use the app in. After choosing another, press Update preview to see the email in it; the standard message follows the language, but text you edited yourself is kept as typed.

  • Message is the text above the item list. It starts from the lab’s default message, with the name of the list in place of {supplier}, and you can edit it.

  • Preview shows the table of items exactly as it is emailed. The names of the people who asked are not included.

Send and mark ordered sends the email and marks the order ordered. You always get a copy yourself, and replies go to you. If the email cannot be sent, you see why and the order stays packed, so nothing is marked ordered that was not asked for. Afterwards the order page says who sent the request, to whom and when.

Admins set the addresses once, per lab, under Procurement settings (a link on the shopping-lists overview, visible to admins only): Procurement addresses (one per line), Copy to by default (the head of the lab), Default message, in which {supplier} is replaced by the name of the list, and Language of the emails. Left empty, the message is a short standard sentence, translated into the lab’s email language; a message the admin writes is sent exactly as written. The email language is Slovenian unless the admin chooses another.

The list itself. The panel Manage at the bottom of a list offers:

Edit

Changes the name, the note, or whether other labs can see the list.

Archive

Stops new requests on the list. Orders already made carry on as they are. Make active again brings the list back.

Delete

Removes a list for good, and only while it has no items and no orders. Otherwise archive it. It first opens a confirmation page where you type the list’s name; the page says so plainly when the list cannot be deleted.

Adding a received item to the catalogue

Once an item has arrived, a manager sees Add to catalogue in its row on the order page. It opens the usual add form, after the category question, with the name, the owning lab (the list’s lab) and a note already filled in: the list, the order date, the order note, the shop link and the approximate price. All of it can be changed. The manufacturer, serial number and keeping place are left for you.

After Add you come back to the order, which now shows the new LA-#### identifier beside the item. An item bought in several pieces shows how many are catalogued (for example “1 of 2 catalogued”) and keeps the button until all of them are; add each piece separately, since each has its own serial number and label. The equipment’s history says which order it came from, and managers see a line “Bought through” on its page.

Everybody in a lab sees that lab’s lists and can add to them while they are active. Tick Share with all labs when starting or editing a list and everyone sees it and can add to it. A list with no lab is visible to everyone. Unlike equipment, a manager does not see other labs’ lists; only a superuser sees them all.

Everybody who sees a list also sees its orders and what is in them. Only managers pack, place, receive and close; other people see the same pages without those controls.

Notices

Two things reach you under Mine: a manager took one of your lines off a list, or something you asked for has arrived. Removing your own line does not notify you. Each notice links to the list. Mine has no shopping panel of its own; use the cart icon.

The same listing and the same adding are available to scripts; see The API.