Yaro Kasear
dab23009c1
Refactor model imports and add nullable indices for improved database performance and clarity
2025-07-17 15:29:14 -05:00
Yaro Kasear
0533f09851
Remove debug print statements.
2025-07-14 09:07:52 -05:00
Yaro Kasear
48ad5847b9
More image changes. Delete and replacement logic.
2025-07-11 14:03:16 -05:00
Yaro Kasear
7d96839af8
Rename "photo" to "image."
2025-07-11 13:01:08 -05:00
Yaro Kasear
a2b035f522
Add image upload functionality and enhance inventory template with image rendering
2025-07-11 11:48:53 -05:00
Yaro Kasear
3e0faae851
Refactor Photo model constructor to remove timestamp parameter; update helper function to use getattr for safer attribute access.
2025-07-11 09:34:04 -05:00
Yaro Kasear
e1cb99f2d1
Implement PhotoAttachable interface in Inventory, User, and WorkLog models; add photo upload API endpoint with file handling and attachment logic.
2025-07-11 09:21:31 -05:00
Yaro Kasear
92dce08d1c
Add Photo and worklog_photos to __all__ for improved module exports
2025-07-11 08:07:56 -05:00
Yaro Kasear
19d1c31984
Enhance Photo and WorkLog models with relationships to improve data integrity and associations
2025-07-10 16:20:44 -05:00
Yaro Kasear
2a8e1710b3
Add Photo model and establish relationships with Inventory and User; create worklog_photos association table
2025-07-10 16:15:29 -05:00
Yaro Kasear
39a8e64c90
Add WorkNote model and integrate updates into WorkLog functionality
2025-07-09 15:39:55 -05:00
Yaro Kasear
58f8a040b7
Standardize table names and foreign key references for consistency across area, brand, inventory, item, room function, room, user, and work log models
2025-07-09 13:06:15 -05:00
Yaro Kasear
ae5ffc82b3
Standardize foreign key references and column names for consistency across inventory, users, and work log models
2025-07-09 12:34:00 -05:00
Yaro Kasear
b0927680b9
Standardize foreign key references for case consistency in inventory and user models
2025-07-09 12:05:23 -05:00
Yaro Kasear
b6b4979034
Standardize column names in RoomFunction and Room models for consistency
2025-07-09 11:49:18 -05:00
Yaro Kasear
f7fae7dc9b
Fix foreign key reference case sensitivity and standardize column definitions in inventory models
2025-07-09 11:40:31 -05:00
Yaro Kasear
65dcbbfb0b
Refactor inventory model and related routes to standardize field names and improve clarity
2025-07-09 10:20:54 -05:00
Yaro Kasear
ac05373f95
Refactor mapped_column parameters for consistency in models
2025-07-09 09:30:17 -05:00
Yaro Kasear
cf0d4bb1ed
Remove unnecessary ForeignKeyConstraint from WorkLog model
2025-07-08 12:08:12 -05:00
Yaro Kasear
9803db17ab
Add inventory management templates and utility functions
...
- Created HTML templates for inventory index, layout, search, settings, table, user, and worklog.
- Implemented utility functions for eager loading relationships in SQLAlchemy.
- Added validation mixin for form submissions.
- Updated project configuration files (pyproject.toml and setup.cfg) for package management.
2025-07-08 11:47:22 -05:00