status

mail@pastecode.io avatar
unknown
typescript
2 years ago
2.1 kB
2
Indexable
Never
export const statusLabel = [
  {
    status: 'unknown',
    label: 'Unknown',
    step: 'Unknown',
    order: 0
  },
  {
    status: 'registration_unfilled',
    label: 'Have not filled the registration form yet',
    step: 'Registration',
    order: 1
  },
  {
    status: 'registration_filled',
    label: 'Has filled out the registration form',
    step: 'Registration',
    order: 2
  },
  {
    status: 'payment_registration_waiting',
    label: 'Waiting for registration form payment',
    step: 'Registration Payment',
    order: 3
  },
  {
    status: 'payment_registration_confirmation_waiting',
    label: 'Waiting for registration form payment confirmation',
    step: 'Registration Payment',
    order: 4
  },
  {
    status: 'test_schedule_none',
    label: 'Test schedule has not been created',
    step: 'Test Schedule',
    order: 5
  },
  {
    status: 'test_schedule_waiting',
    label: 'Waiting for test schedule',
    step: 'Test Schedule',
    order: 6
  },
  {
    status: 'test_result_waiting',
    label: 'Waiting for test result',
    step: 'Test Result',
    order: 7
  },
  {
    status: 'test_result_failed',
    label: 'Test failed',
    step: 'Test Result',
    order: 8
  },
  {
    status: 'payment_final_waiting',
    label: 'Waiting for final payment',
    step: 'Final Payment',
    order: 9
  },
  {
    status: 'payment_final_confirmation_waiting',
    label: 'Waiting for final payment confirmation',
    step: 'Final Payment',
    order: 10
  },
  {
    status: 'nis_waiting',
    label: 'Waiting for Generate NIS',
    step: 'Final Payment',
    order: 11
  },
  {
    status: 'nis_complete',
    label: 'NIS Complete',
    step: 'Completed',
    order: 12
  },
  {
    status: 'completed',
    label: 'Completed',
    step: 'Completed',
    order: 13
  },
  {
    status: 'canceled',
    label: 'Canceled',
    step: 'Canceled',
    order: -1
  },
  {
    status: 'deleted',
    label: 'Deleted',
    step: 'Canceled',
    order: -99
  }
];