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
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
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
16f48cd28d
Made the deafult loan length configurable in config.php
2025-03-13 11:27:43 +01:00
Erik Thuning
8cf081a9d1
Underscores in info field names are now changed to spaces when rendered.
...
Not an ideal solution since underscores now can't be used in field names,
but since it's PHP's POST handling getting in the way it'll have to do.
2024-03-08 16:40:55 +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
c6a7af0639
Cleaned up trailing whitespace
2024-02-27 13:59:59 +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
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
746ad28545
Implemented internationalization.
...
Let's see how many strings have been missed.
2024-02-26 13:10:13 +01:00
Erik Thuning
0ae6b11c21
Indentation fix
2024-02-09 16:18:23 +01:00
Erik Thuning
019725dade
Missed replacing a placeholder in the product_form fragment
2024-02-08 13:39:09 +01:00
root
d3e6ee7ab2
Fixed too many fields showing up when creating a new product
2023-03-08 10:05:44 +01:00
Erik Thuning
b10bf1eed8
Added ability to check out a product from the product page directly
2023-01-11 11:11:42 +01:00
Erik Thuning
8502fbf0a1
Initial implementation of search result detail output
2022-03-01 16:33:00 +01: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
a3656604c0
Implemented attachments for products
2019-11-19 15:06:22 +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
5f7ee5ff45
Fixed several bugs:
...
- product creation/update was broken since adding the brand field
- template suggestions and loading was broken since changing datalist names
- discard and service buttons were not hidden when creating new products
2019-08-16 14:06:41 +02:00
Erik Thuning
282d19ee2c
Fixed minor display bugs
2019-08-16 09:38:08 +02:00
Erik Thuning
07b372c426
Fixed a placeholder not being removed on the new product page
2019-08-16 09:18:09 +02:00
Erik Thuning
a412256598
Merge branch 'add_manufacturer'
2019-07-16 15:00:53 +02:00
Erik Thuning
720551af8d
Changed products to always have a manufacturer field
2019-07-16 14:47:44 +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
97d483524a
Fixed bugs caused by the previous commit
2019-06-11 17:19:00 +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