-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2630 from ita-social-projects/tech-task/merge-end…
…point-for-not-taken-out-reason Tech task/merge endpoint for not taken out reason
- Loading branch information
Showing
9 changed files
with
87 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/app/ubs/ubs-admin/services/cancellation-reason-list-mock.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { CancellationReason } from '../../ubs/order-status.enum'; | ||
|
||
export const CancellationReasonList: any[] = [ | ||
{ | ||
value: CancellationReason.DELIVERED_HIMSELF, | ||
translation: 'order-cancel.reason.delivered-himself' | ||
}, | ||
{ | ||
value: CancellationReason.MOVING_OUT, | ||
translation: 'order-cancel.reason.moving-out' | ||
}, | ||
{ | ||
value: CancellationReason.OUT_OF_CITY, | ||
translation: 'order-cancel.reason.out-of-city' | ||
}, | ||
{ | ||
value: CancellationReason.DISLIKED_SERVICE, | ||
translation: 'order-cancel.reason.disliked-service' | ||
}, | ||
{ | ||
value: CancellationReason.OTHER, | ||
translation: 'order-cancel.reason.other' | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters