449 Commits

Author SHA1 Message Date
Erik Thuning
d4cf2498fe FIX: bad method name 2024-11-14 15:49:49 +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
9db001a635 Fixed a typo 2024-03-11 10:03:53 +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
45f80a0855 Moved entitlement handling into the application.
Any user who can log in via SSO but doesn't have one of the required
entitlements will only ever see a listing of their own loans.
2024-02-29 15:44:19 +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
ff079abb9c Found more strings to translate 2024-02-28 11:08:04 +01:00
Erik Thuning
d770138159 Fixed a typo 2024-02-28 10:54:46 +01:00
Erik Thuning
bf696127a9 Reworked email lookup logic on CheckoutPage,
so a user will be automatically created if their email address exists in sukat but doesn't have a corresponding boka user yet.
2024-02-27 15:49:52 +01:00
Erik Thuning
b2ff35a6d9 Found even more untranslated strings! 2024-02-27 15:19:30 +01:00
Erik Thuning
c6a7af0639 Cleaned up trailing whitespace 2024-02-27 13:59:59 +01:00
Erik Thuning
deb47f94d3 Eliminated a warning due to attempting to index into null 2024-02-27 13:49:42 +01:00
Erik Thuning
362ee182cb Found some untranslated strings 2024-02-27 13:35:35 +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
36fa5d36f6 Merge branch 'test' into prod 2024-02-26 13:13:16 +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
5c199783c2 Added error handling for missing attributes in ldap lookups 2024-02-26 12:39:11 +01:00
Erik Thuning
b14603c7fb Merge branch 'test' into prod 2024-02-21 16:33:08 +01:00
Erik Thuning
60982069f6 Apparently final private is pointless, who knew 2024-02-21 16:31:51 +01:00
Erik Thuning
048cfb3ee2 match is a keyword in php8, so renamed the match() function accordingly 2024-02-21 11:37:35 +01:00
Erik Thuning
e15e2da3b4 Merge branch 'test' into prod 2024-02-14 10:57:05 +01:00
Erik Thuning
bd8e50493b Aded minimal documentation 2024-02-14 10:54:48 +01:00
Erik Thuning
8afeeb3fc5 Ignoring the email fragments file 2024-02-14 10:54:33 +01:00
Erik Thuning
7cb0b1ea57 Updated the Cron.php email logic to use configurable fragments instead of hardcoded text 2024-02-14 10:48:01 +01:00
Erik Thuning
5aaf5654f2 Added comment to the subject prefix setting 2024-02-14 10:46:28 +01:00
Erik Thuning
48940ef10a Merge branch 'test' into prod 2024-02-09 16:23:16 +01:00
Erik Thuning
0ae6b11c21 Indentation fix 2024-02-09 16:18:23 +01:00
Erik Thuning
af39340b4b Updated the scrapping emails to include a lot more detail. 2024-02-09 16:17:59 +01:00
Erik Thuning
6ad29ccd7d Merge branch 'test' into prod 2024-02-09 11:43:50 +01:00
Erik Thuning
2f6cc432b1 Missed using the configured subject prefix in a spot 2024-02-08 16:36:35 +01:00
Erik Thuning
4f8bc9486d Fixed the inventory registry field not trimming whitespace 2024-02-08 15:38:54 +01:00
Erik Thuning
1f33f73938 Implemented notification emails when discarding products. 2024-02-08 15:34:04 +01:00
Erik Thuning
c31c827b36 Upped the default font size a bit. 2024-02-08 15:30:33 +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
e61e6454dd Merge branch 'test' into prod 2023-01-13 16:16:00 +01:00
Erik Thuning
a7d961c4d3 If a product was checked out and immediately returned, an empty email receipt was being sent. Fixed. 2023-01-13 16:14:41 +01:00
Erik Thuning
5068575111 Merge branch 'test' into prod 2023-01-11 11:13:10 +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
fa46874ae3 Mail notifications get pushed forward in time when a new loan is created if there is a pending notification.
This way the user can add multiple loans over time without the notification getting sent prematurely.
2023-01-11 10:43:57 +01:00
root
183166c4d0 Merge branch 'test' into prod 2022-09-02 13:15:59 +02:00
Erik Thuning
9307604aa0 Implemented receipts for loan extensions 2022-07-27 13:53:18 +02:00