Qoffer-Portlet - The QBiC Offer Manager allows the user to create offers via the Offer Generator Tab, manage and print existing offers via the Offer Manager Tab and create and manage packages for the offers via the Package Manager Tab.
Created by Benjamin Sailer, Jennifer Boedker (jennifer.boedker@student.uni-tuebingen.de).
Since some resource files contain sensitive information they are stored in Google Drive. Ask the BioPMs for them when working on this portlet.
Firefox caches the generated offer-files. Changes to the contents
in the offer are not reflected in the file of a fresh download since the filename stays the same
and the browser provides the old cached file. This can be avoided by disabling caching:
browse about:config
and set browser.cache.disk.enable
to false (see: https://github.com/qbicsoftware/qoffer-portlet/issues/15).
The Offer Generator Tab allows the user to generate offers for the available openBIS projects and also to add the packages at the same time. The packages can then be edited via Offer Generator tab (change quantity, add/remove packages) or via the Package Manager tab (change package name, description, price, etc.).
The Offer Manager Tab allows the user to view all the offers stored in the database, edit some fields (e.g. offer name, description, etc.) and adding/removing the packages for the offers. Furthermore the user can update the package quantity for the currently selected offer and also change the price (internal/external academic/external commercial) the package should use. Additionally the user can generate a .docx file for the current offer and download it.
The following operations are supported via the edit menu (opens by either selecting an offer and hitting shift + enter or by double clicking an offer):
The following operations are supported via the control bar below the offer grid:
The following operations are supported via the control bar at the bottom. Note #1: This control bar is only shown when an offer has been selected! Note #2: You can change the packages to display via the Select package group ComboBox. E.g. if you want to see only the Sequencing packages below, simply select Sequencing in the Select Package group ComboBox.
Generating the .docx file is rather easy:
The implementation details can be found here.
The package manager allows the user to add new packages and also to edit or delete existing ones.
The following operations are supported for the packages:
Editing a package is usually done via the inline editor. To open the editor either select the package and hit shift + enter (works more consistently) or double click the package.
The following operations are supported for editing the packages:
qOffer supports automatic calculation of the external academic and external commercial price based on the internal price. To enable this check the Auto-calculate external prices check box and edit the internal price via the inline editor (see above). Note: It might be necessary to open the inline editor via selecting the row and hitting shift + enter rather than double clicking, since Vaadin sometimes fails to grab the currently selected row if selected via double click. The detailed README on the implementation details can be found here.
Install as any other portlet in your Liferay instance.