Skip to main content

JodGig Domain Statuses

This reference documents the status values used by the JodGig domain tables.

Numeric values are scoped to their table and column. For example, 1 can mean an enabled slot, an applied job user, an unprocessed payment, or a clock-in payment state; it must not be interpreted without its context.


jod_jobs​

Column: status

ValueConstantTranslation keyMeaning
1JOB_JOD_STATUS_OPENINGjod_job_openingOpen for applications.
2JOB_JOD_STATUS_ACTIVEjod_job_activeActive job.
3JOB_JOD_STATUS_COMPLETEDjod_job_completedCompleted job.
4JOB_JOD_STATUS_CANCELEDjod_job_canceledCancelled job.
5JOB_JOD_STATUS_PENDINGjod_job_pendingPending job.
6JOB_JOD_STATUS_NO_APPROVEjod_job_no_approveNot approved.
7JOB_JOD_STATUS_EXPIRED_NO_APPLICANTSjod_job_expired_no_applicantsExpired with no applicants.
8JOB_JOD_STATUS_EXPIRED_NO_SELECTIONjod_job_expired_no_selectionExpired with no selection.
10JOB_JOD_STATUS_ALL_REJECTED_BY_MANAGERjod_job_all_rejected_by_managerAll applicants rejected by the manager.
11JOB_JOD_STATUS_ALL_CANCELLEDjod_job_all_cancelledAll applicants cancelled.
12JOB_JOD_STATUS_ACTIVE_WITH_REJECTEDjod_job_active_with_rejectedActive with rejected applicants.
13JOB_JOD_STATUS_ACTIVE_WITH_CANCELLEDjod_job_active_with_cancelledActive with cancelled applicants.
14JOB_JOD_STATUS_CLOSED_REJECTEDjod_job_closed_rejectedClosed after rejection.
15JOB_JOD_STATUS_CLOSED_CANCELLEDjod_job_closed_cancelledClosed after cancellation.
16JOB_JOD_STATUS_PARTIALLY_COMPLETEDjod_job_partially_completedPartially completed.
17JOB_JOD_STATUS_INCOMPLETEjod_job_incompleteIncomplete.

Value 9 is not active: its constant is commented out. JOB_JOD_STATUS_EXPIRED_TEXT and JOB_JOD_STATUS_CLOSED_TEXT are generic translation keys only; they do not have corresponding numeric statuses.

job_user​

Column: status. This represents an applicant's job-level application and selection state.

ValueConstantTranslation keyMeaning
1JOB_USER_STATUS_APPLIEDjob_user_appliedApplied.
2JOB_USER_STATUS_SELECTEDjob_user_selectedSelected.
3JOB_USER_STATUS_UNSELECTEDjob_user_unselectedUnselected.
4JOB_USER_STATUS_PRE_SELECTION_SELF_CANCELEDjob_user_pre_selection_self_canceledSelf-cancelled before selection.
5JOB_USER_STATUS_REJECT_BY_MANAGERjob_user_reject_by_managerRejected by the manager.
6JOB_USER_STATUS_TIME_OVERLAP_REJECTEDjob_user_time_overlap_rejectedRejected because of a time overlap.
8JOB_USER_STATUS_POST_SELECTION_SELF_CANCELEDjob_user_post_selection_self_canceledSelf-cancelled after selection.
9JOB_USER_STATUS_ADMIN_DISABLING_REJECTEDjob_user_admin_disable_applicantRejected because the applicant was disabled by an administrator.
10JOB_USER_STATUS_NO_HIRINGjob_user_no_hiringNo hiring.
11JOB_USER_STATUS_NO_APPLICANTSjob_user_no_applicantNo applicants.
12JOB_USER_STATUS_ADMIN_DISABLING_COMPANY_REJECTEDjob_user_admin_disable_company_rejectedRejected because the company was disabled by an administrator.
13JOB_USER_STATUS_ADMIN_DISABLING_OUTLET_REJECTEDjob_user_admin_disable_outlet_rejectedRejected because the outlet was disabled by an administrator.
14JOB_USER_STATUS_ADMIN_DISABLING_APPLICANT_REJECTEDjob_user_admin_disable_applicant_rejectedRejected because the applicant was disabled by an administrator.

Value 7 is not active: its constant and translation key are commented out.

slots​

Column: status

ValueConstantMeaning
1SLOT_STATUS_ENABLEEnabled and available for use.
0SLOT_STATUS_DISABLEDisabled.

slot_user​

Column: status. This represents a selected worker's slot-level work lifecycle.

ValueConstantMeaning
1SLOT_USER_STATUS_HIREDHired.
2SLOT_USER_STATUS_ACK1ACK1 completed.
3SLOT_USER_STATUS_ACK2ACK2 completed.
4SLOT_USER_STATUS_CLOCK_INClocked in.
5SLOT_USER_STATUS_CLOCK_OUTClocked out.
6SLOT_USER_STATUS_REJECTED_BY_MANAGERRejected by the manager.
7SLOT_USER_STATUS_SELF_CANCELEDSelf-cancelled.
8SLOT_USER_STATUS_NO_SHOWNo show.
9SLOT_USER_STATUS_ADMIN_DISABLING_REJECTEDRejected because of administrative disabling.
10SLOT_USER_STATUS_NO_HIRINGNo hiring.
11SLOT_USER_STATUS_NO_APPLICANTNo applicant.
12SLOT_USER_STATUS_REJECTED_BY_MANAGER_PARTIALPartially rejected by the manager.

payments​

payments has three independent status-related columns. Always include the column name when querying, filtering, or integrating with this table.

ColumnValueConstantMeaning
payment_status1PAYMENT_STATUS_UNPROCESSEDPayment has not been processed.
payment_status2PAYMENT_STATUS_PROCESSEDPayment has been processed.
payment_status3PAYMENT_STATUS_IN_PROGRESSPayment is in progress.
clock_status1PAYMENT_STATUS_CLOCK_IN_DONEClock in completed.
clock_status0PAYMENT_STATUS_CLOCK_OUT_SUCCESSFULLYClock out completed successfully.
status1PAYMENT_STATUS_ENABLEEnabled payment record.
status0PAYMENT_STATUS_DISABLEDisabled payment record.

job_templates​

Column: status

ValueConstantMeaning
1JOB_TEMPLATE_ENABLEEnabled.
0JOB_TEMPLATE_DISABLEDisabled.

qr_code_slot_users​

This table has no status field and no QR-code status constants in Constants.php. QR-code state is represented by record attributes instead.

AttributeValues used by the applicationMeaning
is_used0, 10 is unused; 1 is used.
expired_datetimetimestamp or NULLA QR code is expired when this is NULL or earlier than the current time.
qr_typeclock_in, clock_outIdentifies the QR-code action.

job_types​

Column: status

ValueConstantMeaning
1JOB_TYPE_ENABLEEnabled.
0JOB_TYPE_DISABLEDisabled.

cancellation_penalties​

Column: status

ValueConstantMeaning
pendingCANCELLATION_PENALTY_STATUS_PENDINGAwaiting a decision or processing.
approvedCANCELLATION_PENALTY_STATUS_APPROVEDPenalty approved.
rejectedCANCELLATION_PENALTY_STATUS_REJECTEDPenalty rejected.
waivedCANCELLATION_PENALTY_STATUS_WAIVEDPenalty waived.

The table also stores a category, which is not a status but is defined alongside the statuses:

ValueConstantMeaning
more_than_24_hoursCANCELLATION_PENALTY_CATEGORY_MORE_THAN_24_HOURS_BEFORE_SHIFT_STARTMore than 24 hours before shift start.
within_24_hoursCANCELLATION_PENALTY_CATEGORY_WITHIN_24_HOURS_BEFORE_SHIFT_STARTWithin 24 hours before shift start.
after_shift_startCANCELLATION_PENALTY_CATEGORY_AFTER_SHIFT_STARTAfter shift start.

account_suspensions​

Column: status

ValueConstantMeaning
0ACCOUNT_SUSPENSION_STATUS_ENABLEDSuspension is enabled (active).
1ACCOUNT_SUSPENSION_STATUS_DISABLEDSuspension is disabled.
2ACCOUNT_SUSPENSION_STATUS_PENDING_FOR_REVIEWSupporting document or suspension is pending review.