Coder Social home page Coder Social logo

agileware / au.com.agileware.renewalinvoices Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 62 KB

Home Page: https://agileware.com.au

License: GNU Affero General Public License v3.0

PHP 96.84% Smarty 3.16%
civicrm civicrm-extensions civicrm-extension

au.com.agileware.renewalinvoices's Introduction

Renewal Invoices for Memberships (au.com.agileware.renewalinvoices)

About

This extension provides the additional option of sending an invoice for a membership renewal using a scheduled reminder.

The use case is that typically the membership renewal invoice is sent 30 days (or more) prior to the membership expiry date, so that the member has time to process the invoice. It's also common for invoices to be sent out 60 and even 90 days prior depending on the membership fees involved. Membership renewal invoices are almost always sent to an individual contact for action regardless of whether they are the primary member or have an inherited membership. For individual memberships, sending the membership renewal invoice to the individual is fine. For organisation memberships, membership renewal invoices that are sent to generic "[email protected]" experience significant delay in processing whilst the accounts team locate who is responsible for approving the expenditure. For organisation memberships a related contact with a defined relationship like "key contact for" is often used to identify to whom the membership renewal invoice should be sent.

Features

  • A scheduled reminder is used to generate a "pending" contribution for the membership.
  • Existing "Send confirmation and receipt" contribution functionality is executed so that the invoice is sent.
  • Ability to define which contact the membership renewal invoice is sent to for the membership invoice.

Tokens

Some tokens which can be used while creating the email on the scheduled reminders page.

  • To attach the invoice to the mail, use {contribution.attachInvoice} or select 'Attach Invoice' from the tokens menu.
  • To display the effective end date after renewal in the mail, use {membership.nextEndDate} or select 'Membership Future End Date' from the tokens menu.
  • The PDF used is the Contributions - Invoice template, so changes can be made there to alter the output of the invoice.
  • To insert URL to renew membership on-line add following code sinppet in Contributions - Invoice template. Replace https://example.org with actual host name.
https://example.org{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$id`&cid=`$contactID`&cs=`$contact.checksum`"}

au.com.agileware.renewalinvoices's People

Contributors

agileware-justin avatar agilewarealok avatar deepak-srivastava avatar edzelopez avatar

Watchers

 avatar  avatar  avatar

Forkers

mountev

au.com.agileware.renewalinvoices's Issues

Initial Setup

Hi,

Is there any initial setup that I need to do to get this extension to work? Like maybe enable invoicing under the CiviContribute Component Settings?

I'm asking because I'm getting the following errors when I run the scheduled reminders job :
Screen Shot 2020-09-26 at 11 00 01 PM

Also, @agileware-justin, thank you for sharing your extension over at the CiviCRM Mattermost chatroom.

Cheers!
Rupert

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.