Commit Graph

8 Commits

Author SHA1 Message Date
Mekan1206
e2adf5e9da write me a warner 2026-02-11 03:15:43 +05:00
Mekan1206
522ebdae34 Refactor product relations to use new category_product and channel_product tables
- Updated queries and relationships in various controllers and models to replace `product_has_relations` with `category_product` and `channel_product`.
- Adjusted methods in `ProductFilterer`, `FilterParamsController`, and `FilterController` to reflect the new database structure.
- Modified seeder to insert data into the new `channel_product` table.
- Updated tests to ensure compatibility with the new product relation structure.
2026-02-09 00:48:22 +05:00
Mekan1206
683fa5e0d9 Refactor helper functions and update seeders
- Simplified `tmpostChannel` and `tmpostDefaultInventory` functions by removing caching logic.
- Changed return type of `namesWithTaxes` method in `CategoryRepository` to `mixed`.
- Enabled `ProductsTableSeeder` and added user association logic for product relations.
- Updated `BrandsSeeder` to include the product ID in the slug.
- Added `old_customer_id` to `options` in `SellersTableSeeder` for user tracking.
2026-02-08 23:12:40 +05:00
Mekan1206
c46eccb24f Refactor code for improved readability and consistency
- Removed unnecessary blank lines in various files to enhance code clarity.
- Updated comments for consistency and clarity across multiple classes and methods.
- Adjusted spacing in test files for better formatting and readability.
2026-02-08 02:24:43 +05:00
ace4442879 wip 2026-02-05 17:54:24 +05:00
38fa0e2e45 Add properties filtering and relationships in Product model 2026-02-05 01:08:07 +05:00
d9b7b0f930 opensms 2026-02-04 20:51:35 +05:00
326c677e8d reupload 2026-02-03 15:31:29 +05:00