Login.

Users, roles, groups.

A user represents a person which have access to the system. Each user has its personal email. Each user may have one or several roles. Each role allows a user to access certain functions of the system. List of roles: Each user may have one or several roles. In the case when a user has several roles, during login he is offered to choose one of available roles:
That means that a user may have access only to one single role during a session. To change the role it‘s necessary to log out and log in again using a different role.
Groups are used to assign same permissions to a set of users. Each group has an associated list of email addresses which represent users of this group. A group may have only one of two roles: Each group has a list of shops associated with it. In fact, a group is a way to allow access for a certain group of users to a certain set of shops to perform a certain function.
NOTE: if a user belongs to a group – that means that he possesses the group‘s role (in addition to its own roles).

NOTE: each user may login as a user or as a group. In the first case it‘s necessary to use the user‘s name during login, in the second case – the name of the group. The first method is preferable while all user actions are registered in the system and logging in as a user allows to the system to know exactly which person performs actions in the system. If a user logs in as a group – the system will register actions as performed by the group. Example: suppose there is a group named “visual.oz” which has role LOCAL_VISUAL and contains users “scarecrow” and “woodman”. During login the user may enter the name of the group – “visual.oz” and the corresponding password. The system will detect that this group has the single role – LOCAL_VISUAL and the user will be logged in with that role. Alternatively, the user may enter his personal account name (for example, “woodman”). In this case the system will detect that the user belongs to the group “visual.oz” and the user will have the possibility to log in with the role of that group – LOCAL_VISUAL. The difference is that in latter case the system will know exactly the name of the user which logs in.

Portal

The application has the possibility to manage several portals. That means that there are several databases, one for each portal and the user has the possibility to select with portal to use. At this moment there are two portals – “Prada” and “Miumiu”. The user should select the necessary portal yet before making login, because to log in it‘s necessary to know which database to use:
The current portal name is shown in the top left corner:
To change the portal, it‘s necessary to log out and log in again.
NOTE: links generated by the application and present in user emails already contain a parameter which indicates the necessary portal, so it‘s not necessary to select it manually when opening a page by a link.

Login form.

To log in, it‘s necessary to enter user name (not email, while for example, a group may contain several users represented by their email addresses) or a group name:
If you forget your password – click “forgot password”
and enter user name or email. The password will be sent to the user‘s email. In case when you supply an email address to restore the password – may happen that there are several accounts related with given email address. In this case the user will receive a message with the list of all accounts and passwords referring provided email. To log out – click the user icon in the top right corner:

Tables.

All tables in the user interface have similar structure:

Navigation

You may navigate to the necessary record using mouse or up-down arrows. If there are present several pages you may navigate to the necessary page using mouse click on the pager or entering manually the necessary page number:

Search.

There are two available search modes: full-text search and selective (normal) search. Full-text search allows to search records which contain the given string in any field of the table. To perform full-text search enter the searched string in the text field in upper-left corner:
then press enter key or the search button . To show all records again – press clear button . Selective search allows to search for certain values in certain fields. To start the selective search press the button to open the search form:
(search fields are individual for each table). Some fields allow entering arbitrary text, some are drop-down lists which allow to select one or several values:
If you supply values for several fields – the result will contain records matching to all supplied conditions. Buttons at the top of the form are used to:

Selection, active record.

Some forms provide operations with the current (active) record or with selected records. To perform such operation with a single record – click the target record (making it active) or select it with check mark and then press the necessary action button. For example:
(record is made active by mouse click or after navigating to it with with arrow buttons) or
(record is selected by clicking checkbox of the record) and then press the necessary action button:
To perform the operation over several records – select necessary records using corresponding checkboxes. You may also select all records using the checkbox at the header record:
then press the necessary action button.

Create, edit, delete record.

Usually you find available table operations in top-right corner of the screen:
If editing is enabled, the edit form may be activated by double-clicking the target record or by selecting the target record and clicking the edit button or pressing enter key.

Sort, show-hide fields.

Records may be sorted in ascending or descending order by any field of the table. Use the corresponding icon near the field caption. The user may customize the list of shown fields. Make a mouse click on any of shown fields:
then add/remove a field by clicking the corresponding checkbox. The list of selected fields is saved in the browser‘s cookie, therefore will be restored during the next session.

Record details.

In some tables a record has additional informations which can be viewed and edited by pressing corresponding button. It's usually located at the beginning of the row:
and opens the detail form below the row:
The detail form also may be opened and closed by pressing “enter” key (but in admin mode is opened edit form instead). It's convenient to use up and down arrows and “enter” key to navigate the table and close-open details form.

Events

All important actions are registered in the system as events. Each action has the source user (who makes the action) and one or more destination users (who should be informed about the action). For each action there is a corresponding email sent to destination users. Each user has the possibility to see the list of all events which refer him as the source or a destination. This list is shown as a table on the index page (index.php):
Each event contains some additional information as order number, event date and also the link which allows to navigate directly the target page. Events have different colors depending on the direction – incoming (blue) or outcoming (green) event. Each event may have several destination users. It‘s necessary to click the button to visualize all of them:
The user may use all standard functionalities of the table to navigate, filter and order events.

Statistics

Each user which works with orders has the possibility to see statistics relevant to him. They are shown at the left side of the index page and are grouped by campaign (only open campaigns are shown). Example:
Each item has a corresponding link which allows to go directly to the corresponding subset of orders. Thus a user always has the possibility to see the general state of his work and to navigate to the necessary set of orders.