fix/data #46

Merged
aswin merged 4 commits from fix/data into development 2024-08-01 07:01:42 +00:00
24 changed files with 4 additions and 24 deletions

View File

@ -176,7 +176,7 @@ export const PrivilegePOSConstant = [
index: 18, index: 18,
}, },
{ {
menu: 'POS_DISCOUNT_CODE', menu: 'PRINT_RECEIPT',
menu_label: 'Print Receipt', menu_label: 'Print Receipt',
actions: [PrivilegeAction.CREATE], actions: [PrivilegeAction.CREATE],
index: 19, index: 19,

View File

@ -52,7 +52,6 @@ export class UpdateItemCategoryManager extends BaseUpdateManager<ItemCategoryEnt
return [ return [
{ {
topic: ItemCategoryUpdatedEvent, topic: ItemCategoryUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdateItemRateManager extends BaseUpdateManager<ItemRateEntity> {
return [ return [
{ {
topic: ItemRateUpdatedEvent, topic: ItemRateUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -26,7 +26,7 @@ export class BatchInactiveItemManager extends BaseBatchUpdateStatusManager<ItemE
} }
get validateRelations(): validateRelations[] { get validateRelations(): validateRelations[] {
return [{ relation: 'bundling_items' }]; return [];
} }
get entityTarget(): any { get entityTarget(): any {

View File

@ -29,7 +29,7 @@ export class InactiveItemManager extends BaseUpdateStatusManager<ItemEntity> {
} }
get validateRelations(): validateRelations[] { get validateRelations(): validateRelations[] {
return [{ relation: 'bundling_items' }]; return [];
} }
get entityTarget(): any { get entityTarget(): any {

View File

@ -39,7 +39,6 @@ export class UpdateItemManager extends BaseUpdateManager<ItemEntity> {
return [ return [
{ {
topic: ItemUpdatedEvent, topic: ItemUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -75,7 +75,7 @@ export class IndexSeasonPeriodManager extends BaseIndexManager<SeasonPeriodEntit
} }
if (this.filterParam.season_type_ids) { if (this.filterParam.season_type_ids) {
queryBuilder.andWhere(`user_privilege_id In (:...seasonIds)`, { queryBuilder.andWhere(`season_type_id In (:...seasonIds)`, {
seasonIds: this.filterParam.season_type_ids, seasonIds: this.filterParam.season_type_ids,
}); });
} }

View File

@ -39,7 +39,6 @@ export class UpdateSeasonTypeManager extends BaseUpdateManager<SeasonTypeEntity>
return [ return [
{ {
topic: SeasonTypeUpdatedEvent, topic: SeasonTypeUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdatePaymentMethodManager extends BaseUpdateManager<PaymentMethodE
return [ return [
{ {
topic: PaymentMethodUpdatedEvent, topic: PaymentMethodUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -49,7 +49,6 @@ export class UpdateProfitShareFormulaManager extends BaseUpdateManager<SalesPric
return [ return [
{ {
topic: ProfitShareFormulaUpdatedEvent, topic: ProfitShareFormulaUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -70,7 +70,6 @@ export class UpdateRefundManager extends BaseUpdateManager<RefundEntity> {
return [ return [
{ {
topic: RefundUpdatedEvent, topic: RefundUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -49,7 +49,6 @@ export class UpdateSalesPriceFormulaManager extends BaseUpdateManager<SalesPrice
return [ return [
{ {
topic: SalesPriceFormulaUpdatedEvent, topic: SalesPriceFormulaUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdateTaxManager extends BaseUpdateManager<TaxEntity> {
return [ return [
{ {
topic: TaxUpdatedEvent, topic: TaxUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdateVipCategoryManager extends BaseUpdateManager<VipCategoryEntit
return [ return [
{ {
topic: VipCategoryUpdatedEvent, topic: VipCategoryUpdatedEvent,
data: this.result,
}, },
]; ];
} }

View File

@ -44,7 +44,6 @@ export class UpdatePasswordTenantManager extends BaseUpdateManager<UserEntity> {
return [ return [
{ {
topic: TenantUpdatedEvent, topic: TenantUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -51,7 +51,6 @@ export class UpdateTenantManager extends BaseUpdateManager<UserEntity> {
return [ return [
{ {
topic: TenantUpdatedEvent, topic: TenantUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdateUserPrivilegeManager extends BaseUpdateManager<UserPrivilegeE
return [ return [
{ {
topic: UserPrivilegeUpdatedEvent, topic: UserPrivilegeUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -45,7 +45,6 @@ export class UpdatePasswordUserManager extends BaseUpdateManager<UserEntity> {
return [ return [
{ {
topic: UserUpdatedEvent, topic: UserUpdatedEvent,
data: this.result,
}, },
]; ];
} }

View File

@ -52,7 +52,6 @@ export class UpdateUserManager extends BaseUpdateManager<UserEntity> {
return [ return [
{ {
topic: UserUpdatedEvent, topic: UserUpdatedEvent,
data: this.result,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdateBannerManager extends BaseUpdateManager<BannerEntity> {
return [ return [
{ {
topic: BannerUpdatedEvent, topic: BannerUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdateFaqManager extends BaseUpdateManager<FaqEntity> {
return [ return [
{ {
topic: FaqUpdatedEvent, topic: FaqUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -41,7 +41,6 @@ export class UpdateGateManager extends BaseUpdateManager<GateEntity> {
return [ return [
{ {
topic: GateUpdatedEvent, topic: GateUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdateNewsManager extends BaseUpdateManager<NewsEntity> {
return [ return [
{ {
topic: NewsUpdatedEvent, topic: NewsUpdatedEvent,
data: this.data,
}, },
]; ];
} }

View File

@ -39,7 +39,6 @@ export class UpdateTermConditionManager extends BaseUpdateManager<TermConditionE
return [ return [
{ {
topic: TermConditionUpdatedEvent, topic: TermConditionUpdatedEvent,
data: this.data,
}, },
]; ];
} }