generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ORV2 2386 Fixing void permit issue (#1422)
Co-authored-by: zgong-gov <[email protected]>
- Loading branch information
1 parent
ad1a9e0
commit 43e264c
Showing
13 changed files
with
187 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
import { trow } from "./trow.json"; | ||
import { PermitCommodity } from "../types/PermitCommodity"; | ||
import { COMMON_DURATION_OPTIONS, COMMON_MIN_DURATION } from "./constants"; | ||
import { | ||
BASE_DAYS_IN_YEAR, | ||
COMMON_DURATION_OPTIONS, | ||
COMMON_MIN_DURATION, | ||
TERM_DURATION_INTERVAL_DAYS, | ||
} from "./constants"; | ||
|
||
export const TROW_INELIGIBLE_POWERUNITS = [...trow.ineligiblePowerUnitSubtypes]; | ||
export const TROW_INELIGIBLE_TRAILERS = [...trow.ineligibleTrailerSubtypes]; | ||
export const TROW_COMMODITIES: PermitCommodity[] = [...trow.commodities]; | ||
export const MANDATORY_TROW_COMMODITIES: PermitCommodity[] = [...TROW_COMMODITIES]; | ||
export const MIN_TROW_DURATION = COMMON_MIN_DURATION; | ||
export const MAX_TROW_DURATION = BASE_DAYS_IN_YEAR; | ||
export const TROW_DURATION_OPTIONS = [...COMMON_DURATION_OPTIONS]; | ||
export const TROW_DURATION_INTERVAL_DAYS = TERM_DURATION_INTERVAL_DAYS; |
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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export const TROS_TERM = 30; | ||
export const TROS_PRICE_PER_TERM = 30; | ||
export const TROS_MIN_VALID_DURATION = TROS_TERM; | ||
export const TROS_MIN_VALID_DURATION = 1; | ||
export const TROS_MAX_VALID_DURATION = 366; | ||
export const TROW_TERM = 30; | ||
export const TROW_PRICE_PER_TERM = 100; | ||
export const TROW_MIN_VALID_DURATION = TROS_TERM; | ||
export const TROW_MIN_VALID_DURATION = 1; | ||
export const TROW_MAX_VALID_DURATION = 366; |
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,4 @@ | ||
export enum PgApprovesStatus { | ||
DECLINED = 0, | ||
APPROVED = 1, | ||
} |
Oops, something went wrong.