$query_id = $this->db2->query($sql,__LINE__,__FILE__);
if($this->db2->num_rows($query_id) == 0) {
// We did not find any visits made by the currently assigned companionship,
- // look for visits made by any other companionship other than 0. (0 == EQ Presidency Visit)
+ // look for visits made by any other companionship other than 0. (0 == Presidency Visit)
$sql = "SELECT * FROM tc_visit WHERE date >= '$month_start' AND date <= '$month_end' ".
" AND companionship!=0".
" AND family=". $family_id;
$query_id = $this->db2->query($sql,__LINE__,__FILE__);
if($this->db2->num_rows($query_id) == 0) {
// We did not find any visits made by the currently assigned companionship,
- // look for visits made by any other companionship other than 0. (0 == EQ Presidency Visit)
+ // look for visits made by any other companionship other than 0. (0 == Presidency Visit)
$sql = "SELECT * FROM tc_visit WHERE date >= '$month_start' AND date <= '$month_end' ".
" AND companionship!=0".
" AND family=". $family_id;
$year = date('Y');
- // Get the EQ President
+ // Get the President
$sql = "SELECT * FROM tc_presidency where president=1 and valid=1";
$this->db->query($sql,__LINE__,__FILE__);
if($this->db->next_record()) {
$total_indivs=0; $indivs_with_yearly_ppi=0;
- // Display a scheduling table for the EQ President
+ // Display a scheduling table for the President
$table_data=""; $appt_table_data="";
$table_title = "District ".$district_number.": ".$district_name.": All indivs with Yearly PPI Not Completed";
$appt_table_title = "District ".$district_number.": ".$district_name.": Yearly PPI Appointment Slots";
$appt_header_row.= "<th width=$location_width><font size=-2>Location</th>";
$appt_table_data = "";
- // Find out what the EQ Presidency ID is
+ // Find out what the President ID is
$sql = "SELECT * FROM tc_presidency where president=1 and valid=1";
$this->db->query($sql,__LINE__,__FILE__);
if($this->db->next_record()) {
$this->t->pfp('adminhandle','admin');
}
- // Now save off the data needed for an EQ Presidency Table Update
+ // Now save off the data needed for a Presidency Table Update
$sql = "SELECT * FROM tc_presidency where valid=1";
$this->db->query($sql,__LINE__,__FILE__);
<tr>
<td align="left">
<hr>
- <b>Update the EQ Presidency Table</b>
+ <b>Update the Presidency Table</b>
<br><br>
<form enctype="multipart/form-data" action="{presidency_action}" method="POST">
<table border="0" width="80%" cellspacing="2" cellpadding="2">
</table>
<b>Notes:</b>
<br>- The District is a drop-down list. Please assign a unique district number per district supervisor.
- <br>- The President, Counselor, Secretary, and EQ Presidency fields are boolean value (true|false) flags.
+ <br>- The President, Counselor, Secretary, and Presidency fields are boolean value (true|false) flags.
<br>- If a member of the presidency is not a District Leader, make sure to set their "District=0".
<br>- If a district leader is not a member of the presidency, add them without setting any other flags except the district.
<br>- You can only add 1 new presidency member at a time (1 per each update request to the table).
- <br>- Make sure you have 1 EQ Presidency member that is marked as EQ Presidency=1 with no Elder selected.
- <br>This entry is used to email the entire presidency, and its email address should cause that to happen.
<br><br>
- <input type="submit" value="Update EQ Presidency Table">
+ <input type="submit" value="Update Presidency Table">
</form>
</td>
</tr>