Subscriptions & Purchases
Subscriptions & Purchases
Original Payment
Name
Recurring
Amount
Next Payment Date
Last Payment
if(prop("Recurring") == "Monthly", dateAdd(prop("Original Payment"), dateBetween(now(), prop("Original Payment"), "months"), "months"), if(prop("Recurring") == "Quarterly", dateAdd(prop("Original Payment"), dateBetween(now(), prop("Original Payment"), "quarters"), "quarters"), if(prop("Recurring") == "Yearly", dateAdd(prop("Original Payment"), dateBetween(now(), prop("Original Payment"), "years"), "years"), now())))
Next Payment
if(prop("Recurring") == "Monthly", dateAdd(prop("Original Payment"), dateBetween(now(), prop("Original Payment"), "months") + 1, "months"), if(prop("Recurring") == "Quarterly", dateAdd(prop("Original Payment"), dateBetween(now(), prop("Original Payment"), "quarters") + 1, "quarters"), if(prop("Recurring") == "Yearly", dateAdd(prop("Original Payment"), dateBetween(now(), prop("Original Payment"), "years") + 1, "years"), prop("Original Payment"))))