15 Commits

Author SHA1 Message Date
Erik Thuning
c8e3ff0212 Reworked loan display to accommodate loan notes
Loans are no longer displayed as a unified table, but instead each loan
gets a "card" that contains the relevant data for the loan.

This has had a fairly major html/css re-work as a side effect. Most views are
now structured with two div-based columns so as to avoid the large blank areas
that pure grid can lead to when elements are very different in height.
2025-03-18 13:39:48 +01:00
Erik Thuning
afb3020a34 Added support for notes on events.
As of yet the notes get saved but never displayed anywhere.
2025-03-14 15:26:07 +01:00
Erik Thuning
a7bfc49afc Rearranged the checkout page so the product selection is at the bottom of the form 2025-03-14 14:21:07 +01:00
Erik Thuning
63ccad38c8 Implemented tracking of who initiated an event. 2025-03-14 14:12:28 +01:00
Erik Thuning
e953f6c7a5 Made the loan length preset buttons configurable in config.php
Supported length keywords are day, week, month and year. The plural forms
are also valid. There may be minor differences in the semantics of
the time string between the preset list and the default length setting,
due to the default length being computed by php's Date object,
while the preset list is computed in javascript on the client side.
2025-03-13 14:36:37 +01:00
Erik Thuning
22608f1aa7 Added a page intended for users to view their own loans.
Also added serial numbers to loan listings for users.
2024-02-29 14:48:37 +01:00
Erik Thuning
c51bd1a60a Renamed history_table and related fragments to loan_table 2024-02-28 11:32:53 +01:00
Erik Thuning
212c34d779 Discarded products are now displayed in a read-only format.
Also added a fragment for a public view of a product
2024-02-26 17:22:26 +01:00
Erik Thuning
dd6c270fa3 Merge branch 'prod' into test 2024-02-26 16:36:21 +01:00
Erik Thuning
5602b81fd0 Added alternating coloration for most tables 2024-02-26 16:20:40 +01:00
Erik Thuning
9410c7bcec Fixed a mismatched tag on that broke the search page 2024-02-26 16:15:15 +01:00
Erik Thuning
a91923ad18 Renamed product_detail fragments to product_match
in order to disambiguate with actual detail views
2024-02-26 16:10:59 +01:00
Erik Thuning
07128568ca Renamed the fragment product_form to product_details
in preparation for readonly public views
2024-02-26 15:14:41 +01:00
Erik Thuning
f8e951c215 Added a missed css class to the user table fragment 2024-02-26 14:50:58 +01:00
Erik Thuning
746ad28545 Implemented internationalization.
Let's see how many strings have been missed.
2024-02-26 13:10:13 +01:00