23 Commits

Author SHA1 Message Date
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