pella-reorder
Shared React Reorder Component.
Component contains a stepper with the following steps
Steps 1 and 2 - Selecting the Org and Station
Step 3 - Select the Method : based on station setups
Step 4 - Select Search : Schedule Number : Order Line Package
Step 5 - Select Reorder : Select which attributes
Step 6 - Reorder Reasons : Enter Reorder reasons in form then submit.
Input Parameters
-
user
Object containing the users ebs_login
Not passing this param will default the component to using all public routes and will prompt the user to enter their employee ID -
axios
Pass the parents apps Axios component that contains the users API token
-
selectionData
Object containing predefined user selections
{ startStep: 0, stationId: 116, organizationId: 378, selectMethod: 'schedule', fullAssembly: 'N', attributes: [ { scheduleNumber: '700496238', attributeName: 'GlzBdFixRail', orderPackage: null, onReorder: false, checked: true, }, ], }
-
showReasonForms
Defines which reason forms should be presented to the user
{ reason: true, subReason: true, occuredInCell: true, otherNotes: true, specialInstructions: true, whereToDeliver: true, kitter: true, loadCaptureImage: true, }
-
reorderResponse
Reorder completion confirmation
{ status: 'complete' }