CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • expiration medical certificate
Pages: [1]

Author Topic: expiration medical certificate  (Read 289 times)

cerelli

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.6
  • CMS version: WordPress
  • MySQL version: 5
  • PHP version: 5.4
expiration medical certificate
March 17, 2015, 03:58:37 am
Hi, I have to manage the medical certificates for athletes (individuals).
Every athlete can have only one active medical certificate with an expiration date. Expired medical certificate, I can insert another.
How can I do?
Thank You

Marco

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: expiration medical certificate
March 17, 2015, 04:50:11 am
I would create a contact subtype 'Athlete'  with a (repeating?) custom group on Athlete level with
custom field medical_certificatie (assuming it has an ID of sorts) and an expiration_date.

As a developer my next step would be to create a scheduled job that sends reminder emails to the athletes once the date is expired? And some validation to prevent a new one being added if there is still a valid one.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • expiration medical certificate

This forum was archived on 2017-11-26.