Advertisement
stormihoebe

Shoutbase Report Invoice

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