Merge branch 'development' of ssh://git.eigen.co.id:2222/eigen/pos-be into development
commit
46307774e1
|
@ -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,
|
||||||
|
|
|
@ -52,7 +52,6 @@ export class UpdateItemCategoryManager extends BaseUpdateManager<ItemCategoryEnt
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: ItemCategoryUpdatedEvent,
|
topic: ItemCategoryUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateItemRateManager extends BaseUpdateManager<ItemRateEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: ItemRateUpdatedEvent,
|
topic: ItemRateUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateItemManager extends BaseUpdateManager<ItemEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: ItemUpdatedEvent,
|
topic: ItemUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateSeasonTypeManager extends BaseUpdateManager<SeasonTypeEntity>
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: SeasonTypeUpdatedEvent,
|
topic: SeasonTypeUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdatePaymentMethodManager extends BaseUpdateManager<PaymentMethodE
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: PaymentMethodUpdatedEvent,
|
topic: PaymentMethodUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,6 @@ export class UpdateProfitShareFormulaManager extends BaseUpdateManager<SalesPric
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: ProfitShareFormulaUpdatedEvent,
|
topic: ProfitShareFormulaUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,6 @@ export class UpdateRefundManager extends BaseUpdateManager<RefundEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: RefundUpdatedEvent,
|
topic: RefundUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,6 @@ export class UpdateSalesPriceFormulaManager extends BaseUpdateManager<SalesPrice
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: SalesPriceFormulaUpdatedEvent,
|
topic: SalesPriceFormulaUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateTaxManager extends BaseUpdateManager<TaxEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: TaxUpdatedEvent,
|
topic: TaxUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateVipCategoryManager extends BaseUpdateManager<VipCategoryEntit
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: VipCategoryUpdatedEvent,
|
topic: VipCategoryUpdatedEvent,
|
||||||
data: this.result,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,6 @@ export class UpdatePasswordTenantManager extends BaseUpdateManager<UserEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: TenantUpdatedEvent,
|
topic: TenantUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,6 @@ export class UpdateTenantManager extends BaseUpdateManager<UserEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: TenantUpdatedEvent,
|
topic: TenantUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateUserPrivilegeManager extends BaseUpdateManager<UserPrivilegeE
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: UserPrivilegeUpdatedEvent,
|
topic: UserPrivilegeUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,6 @@ export class UpdatePasswordUserManager extends BaseUpdateManager<UserEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: UserUpdatedEvent,
|
topic: UserUpdatedEvent,
|
||||||
data: this.result,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,6 @@ export class UpdateUserManager extends BaseUpdateManager<UserEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: UserUpdatedEvent,
|
topic: UserUpdatedEvent,
|
||||||
data: this.result,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateBannerManager extends BaseUpdateManager<BannerEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: BannerUpdatedEvent,
|
topic: BannerUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateFaqManager extends BaseUpdateManager<FaqEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: FaqUpdatedEvent,
|
topic: FaqUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,6 @@ export class UpdateGateManager extends BaseUpdateManager<GateEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: GateUpdatedEvent,
|
topic: GateUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateNewsManager extends BaseUpdateManager<NewsEntity> {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: NewsUpdatedEvent,
|
topic: NewsUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ export class UpdateTermConditionManager extends BaseUpdateManager<TermConditionE
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
topic: TermConditionUpdatedEvent,
|
topic: TermConditionUpdatedEvent,
|
||||||
data: this.data,
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue