24 Commits

Author SHA1 Message Date
Erik Thuning
df796f6564 Consistency changes to handle dropped users being present in the system
Printing the users' names as unknown in various places, and excluding
purged users from autocomplete suggestions
2025-09-25 15:04:53 +02:00
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
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
62b8c853f5 Products now get sorted in alphabetical name order in most (all?) views 2024-11-14 15:44:04 +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
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
437ec951bd Past inventories used to list all current products,
not just the ones that existed at the time of inventory. Fixed.
2024-02-26 13:10:50 +01:00
Erik Thuning
746ad28545 Implemented internationalization.
Let's see how many strings have been missed.
2024-02-26 13:10:13 +01:00
Erik Thuning
60982069f6 Apparently final private is pointless, who knew 2024-02-21 16:31:51 +01:00
Erik Thuning
b3434dbb6a Changed loan extension form to have a saner default end time. 2022-07-27 10:52:52 +02:00
Erik Thuning
22d760a0af Whitespace cleanup 2022-07-27 10:48:53 +02:00
Erik Thuning
3fae0ce1ff Search overhaul possibly finished? 2022-03-03 11:37:35 +01:00
Erik Thuning
8502fbf0a1 Initial implementation of search result detail output 2022-03-01 16:33:00 +01:00
root
9f4bc39e55 Testing a hopefully faster ldap lookup 2021-09-15 11:43:36 +02:00
Erik Thuning
9d346296bc Reverted the last two commits; back to eager product init.
Made product creation a separate page and added a menu item for it
2020-01-20 14:47:50 +01:00
Erik Thuning
3cc2b91ed4 Changed the layout to use two columns
Preparing to implement attachments
2019-10-28 16:55:08 +01:00
Erik Thuning
bb8666a2d7 Minor bug fix 2019-07-24 15:49:18 +02:00
Erik Thuning
ef756e36b4 Several changes:
- The inventory page now shows status of seen products as of when they were registered,
   not as of now.
 - Renamed a placeholder in fragments.html to be more intuitive.
 - Added a type field to the event table in the database, so that complete events can
   be constructed without complex logic.
 - Refactored to support the above changes
2019-07-24 14:09:31 +02:00
Erik Thuning
1b0f27b2e9 Refactoring to support the new database structure and event model 2019-07-23 15:32:33 +02:00
Erik Thuning
0923435462 Added a function to temporariliy suspend availability of products
for service. Also did some refactoring in related areas.
2019-06-12 20:39:55 +02:00
Erik Thuning
402980a304 Added serial in product tables 2019-06-12 11:42:16 +02:00
Erik Thuning
692c2e0aeb Broke all classes into separate files and activated class autoloading.
All free functions are now in functions.php
2019-06-11 17:05:48 +02:00