Merge pull request 'fix/data' (#46) from fix/data into development
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
Reviewed-on: #46pull/48/head devel_17.0.0
commit
33f955c209
|
@ -176,7 +176,7 @@ export const PrivilegePOSConstant = [
|
|||
index: 18,
|
||||
},
|
||||
{
|
||||
menu: 'POS_DISCOUNT_CODE',
|
||||
menu: 'PRINT_RECEIPT',
|
||||
menu_label: 'Print Receipt',
|
||||
actions: [PrivilegeAction.CREATE],
|
||||
index: 19,
|
||||
|
|
|
@ -52,7 +52,6 @@ export class UpdateItemCategoryManager extends BaseUpdateManager<ItemCategoryEnt
|
|||
return [
|
||||
{
|
||||
topic: ItemCategoryUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateItemRateManager extends BaseUpdateManager<ItemRateEntity> {
|
|||
return [
|
||||
{
|
||||
topic: ItemRateUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ export class BatchInactiveItemManager extends BaseBatchUpdateStatusManager<ItemE
|
|||
}
|
||||
|
||||
get validateRelations(): validateRelations[] {
|
||||
return [{ relation: 'bundling_items' }];
|
||||
return [];
|
||||
}
|
||||
|
||||
get entityTarget(): any {
|
||||
|
|
|
@ -29,7 +29,7 @@ export class InactiveItemManager extends BaseUpdateStatusManager<ItemEntity> {
|
|||
}
|
||||
|
||||
get validateRelations(): validateRelations[] {
|
||||
return [{ relation: 'bundling_items' }];
|
||||
return [];
|
||||
}
|
||||
|
||||
get entityTarget(): any {
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateItemManager extends BaseUpdateManager<ItemEntity> {
|
|||
return [
|
||||
{
|
||||
topic: ItemUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ export class IndexSeasonPeriodManager extends BaseIndexManager<SeasonPeriodEntit
|
|||
}
|
||||
|
||||
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,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateSeasonTypeManager extends BaseUpdateManager<SeasonTypeEntity>
|
|||
return [
|
||||
{
|
||||
topic: SeasonTypeUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdatePaymentMethodManager extends BaseUpdateManager<PaymentMethodE
|
|||
return [
|
||||
{
|
||||
topic: PaymentMethodUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -49,7 +49,6 @@ export class UpdateProfitShareFormulaManager extends BaseUpdateManager<SalesPric
|
|||
return [
|
||||
{
|
||||
topic: ProfitShareFormulaUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -70,7 +70,6 @@ export class UpdateRefundManager extends BaseUpdateManager<RefundEntity> {
|
|||
return [
|
||||
{
|
||||
topic: RefundUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -49,7 +49,6 @@ export class UpdateSalesPriceFormulaManager extends BaseUpdateManager<SalesPrice
|
|||
return [
|
||||
{
|
||||
topic: SalesPriceFormulaUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateTaxManager extends BaseUpdateManager<TaxEntity> {
|
|||
return [
|
||||
{
|
||||
topic: TaxUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateVipCategoryManager extends BaseUpdateManager<VipCategoryEntit
|
|||
return [
|
||||
{
|
||||
topic: VipCategoryUpdatedEvent,
|
||||
data: this.result,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -44,7 +44,6 @@ export class UpdatePasswordTenantManager extends BaseUpdateManager<UserEntity> {
|
|||
return [
|
||||
{
|
||||
topic: TenantUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -51,7 +51,6 @@ export class UpdateTenantManager extends BaseUpdateManager<UserEntity> {
|
|||
return [
|
||||
{
|
||||
topic: TenantUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateUserPrivilegeManager extends BaseUpdateManager<UserPrivilegeE
|
|||
return [
|
||||
{
|
||||
topic: UserPrivilegeUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -45,7 +45,6 @@ export class UpdatePasswordUserManager extends BaseUpdateManager<UserEntity> {
|
|||
return [
|
||||
{
|
||||
topic: UserUpdatedEvent,
|
||||
data: this.result,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -52,7 +52,6 @@ export class UpdateUserManager extends BaseUpdateManager<UserEntity> {
|
|||
return [
|
||||
{
|
||||
topic: UserUpdatedEvent,
|
||||
data: this.result,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateBannerManager extends BaseUpdateManager<BannerEntity> {
|
|||
return [
|
||||
{
|
||||
topic: BannerUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateFaqManager extends BaseUpdateManager<FaqEntity> {
|
|||
return [
|
||||
{
|
||||
topic: FaqUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -41,7 +41,6 @@ export class UpdateGateManager extends BaseUpdateManager<GateEntity> {
|
|||
return [
|
||||
{
|
||||
topic: GateUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateNewsManager extends BaseUpdateManager<NewsEntity> {
|
|||
return [
|
||||
{
|
||||
topic: NewsUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateTermConditionManager extends BaseUpdateManager<TermConditionE
|
|||
return [
|
||||
{
|
||||
topic: TermConditionUpdatedEvent,
|
||||
data: this.data,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue