Compare commits

..

No commits in common. "d4bd3d746c586026100177807f7829388f91d27c" and "c49bb379bd0c406147f8adc386244bb58165aaf2" have entirely different histories.

24 changed files with 24 additions and 4 deletions

View File

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

View File

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

View File

@ -39,6 +39,7 @@ 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 []; return [{ relation: 'bundling_items' }];
} }
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 []; return [{ relation: 'bundling_items' }];
} }
get entityTarget(): any { get entityTarget(): any {

View File

@ -39,6 +39,7 @@ 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(`season_type_id In (:...seasonIds)`, { queryBuilder.andWhere(`user_privilege_id In (:...seasonIds)`, {
seasonIds: this.filterParam.season_type_ids, seasonIds: this.filterParam.season_type_ids,
}); });
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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