diff --git a/individual_history_log.php b/individual_history_log.php
index 89407c6..64880fc 100644
--- a/individual_history_log.php
+++ b/individual_history_log.php
@@ -17,7 +17,7 @@ include("include_header.html");
?>
diff --git a/js/reports.js b/js/reports.js
index b3d5d88..aa08716 100644
--- a/js/reports.js
+++ b/js/reports.js
@@ -43,10 +43,11 @@ $(function(){
});
// name
+ var date;
$.post("json/reports.php", { name: 1, contact_id: contact_id }, function (data) {
if (data) {
var d = new Date();
- var date = d.toISOString().split('T')[0];
+ date = d.toISOString().split('T')[0];
var obj = $.parseJSON(data);
var full_name_with_link = '
= expiration_date) {
+ var membership = '' + "Expired Membership";
+ $("#membership_status").prop("title",title).html(membership).children().
+ css({color: "rgb(27, 105, 30)", textAlign: "center", cursor: "help", textDecoration: "none"});
+ } else if (d < expiration_date) {
+ var membership = '
' + "Paid Membership";
+ $("#membership_status").prop("title",title).html(membership).children().
+ css({color: "rgb(27, 105, 30)", textAlign: "center", cursor: "help", textDecoration: "none"});
+
+ }
+
+ }
+
+
+ }); // Is contact a member
+
} // if contact_id
// stats_userhours