Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Extract duration from "Input Data" field.
- const { duration } = inputData
- // Define your hourly rate. You can alter this value to whatever your hourly rate is.
- const rate = 75
- // Multiply duration by rate to get Invoice Price.
- const price = duration * rate
- // Return rate and price to be used in the following steps.
- output = [{rate, price}];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement