Skip to content

Commit

Permalink
GH-8499: Apply code review improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
plabadie committed Oct 23, 2020
1 parent 6475ed9 commit a807b29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { Currency } from '@spartacus/core';
import { B2BApprovalProcess } from './order-approval.model';
import {
B2BApprovalProcess,
OrderApprovalPermissionResult,
} from './order-approval.model';

declare module '@spartacus/core' {
interface B2BUnit {
Expand All @@ -23,6 +26,10 @@ declare module '@spartacus/core' {
interface CostCenter {
activeFlag?: boolean;
currency?: Currency;
originalCode?: string; // TODO: validate the need of this
originalCode?: string;
}

interface Order {
permissionResults?: OrderApprovalPermissionResult[];
}
}
1 change: 0 additions & 1 deletion projects/core/src/model/order.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ export interface Order {
orderDiscounts?: Price;
orgCustomer?: B2BUser;
paymentInfo?: PaymentDetails;
permissionResults?: any[]; //OrderApprovalPermissionResult[];
pickupItemsQuantity?: number;
pickupOrderGroups?: PickupOrderEntryGroup[];
productDiscounts?: Price;
Expand Down

0 comments on commit a807b29

Please sign in to comment.