Skip to content

Commit 47d188e

Browse files
authored
Merge pull request #345 from eisbilir/work-period-automation
Work period automation
2 parents acd1e0b + e68e4fc commit 47d188e

23 files changed

+6724
-8193
lines changed

app-constants.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ const ChallengeStatus = {
8484
COMPLETED: 'Completed'
8585
}
8686

87+
const PaymentStatus = {
88+
PENDING: 'pending',
89+
IN_PROGRESS: 'in-progress',
90+
PARTIALLY_COMPLETED: 'partially-completed',
91+
COMPLETED: 'completed',
92+
FAILED: 'failed',
93+
NO_DAYS: 'no-days'
94+
}
95+
8796
const WorkPeriodPaymentStatus = {
8897
COMPLETED: 'completed',
8998
SCHEDULED: 'scheduled',
@@ -92,6 +101,11 @@ const WorkPeriodPaymentStatus = {
92101
CANCELLED: 'cancelled'
93102
}
94103

104+
const WorkPeriodPaymentUpdateStatus = {
105+
SCHEDULED: 'scheduled',
106+
CANCELLED: 'cancelled'
107+
}
108+
95109
const PaymentProcessingSwitch = {
96110
ON: 'ON',
97111
OFF: 'OFF'
@@ -112,7 +126,9 @@ module.exports = {
112126
Scopes,
113127
Interviews,
114128
ChallengeStatus,
129+
PaymentStatus,
115130
WorkPeriodPaymentStatus,
131+
WorkPeriodPaymentUpdateStatus,
116132
PaymentSchedulerStatus,
117133
PaymentProcessingSwitch
118134
}

0 commit comments

Comments
 (0)