fix: add time group at item bundling

pull/144/head
Firman Ramdhani 2025-06-04 14:41:46 +07:00
parent 5f08b4be66
commit d8cfa97612
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,7 @@ export class DetailItemManager extends BaseDetailManager<ItemEntity> {
selectRelations: [ selectRelations: [
'item_category', 'item_category',
'bundling_items', 'bundling_items',
'bundling_items.time_group bundling_time_groups',
'tenant', 'tenant',
'time_group', 'time_group',
], ],
@ -64,6 +65,9 @@ export class DetailItemManager extends BaseDetailManager<ItemEntity> {
'bundling_items.hpp', 'bundling_items.hpp',
'bundling_items.base_price', 'bundling_items.base_price',
'bundling_time_groups.id',
'bundling_time_groups.name',
'tenant.id', 'tenant.id',
'tenant.name', 'tenant.name',