From: Alan Jack Pippin Date: Tue, 14 Nov 2006 15:43:08 +0000 (-0700) Subject: Added truncated PPI notes to PPI completed table X-Git-Tag: release_0_1_0~42 X-Git-Url: http://git.pippins.net/embedvideo/static/images/%7Bnolink%7D?a=commitdiff_plain;h=2b7d846ca87b79a639063ee7252992c91f2cef4b;p=eq%2F.git Added truncated PPI notes to PPI completed table --- diff --git a/inc/class.eq.inc.php b/inc/class.eq.inc.php index 9132163..c253f15 100644 --- a/inc/class.eq.inc.php +++ b/inc/class.eq.inc.php @@ -961,12 +961,23 @@ class eq $tr_color = $this->nextmatchs->alternate_row_color($tr_color); $this->t->set_var('tr_color',$tr_color); } else { + $link_data['menuaction'] = 'eq.eq.ppi_update'; + $link_data['interviewer'] = $this->db2->f('interviewer'); + $link_data['elder'] = $this->db2->f('elder'); + $link_data['aaronic'] = $this->db2->f('aaronic'); + $link_data['name'] = $name; + $link_data['ppi'] = $this->db2->f('ppi'); + $link_data['eqpresppi'] = $this->db2->f('eqpresppi'); + $link_data['action'] = 'view'; + $link = $GLOBALS['phpgw']->link('/eq/index.php',$link_data); $elders_with_yearly_ppi++; $date = $this->db2->f('date'); + $ppi_notes = $this->db2->f('notes'); + if(strlen($ppi_notes) > 40) { $ppi_notes = substr($ppi_notes,0,40) . "..."; } $completed_data.= "$name"; $completed_data.= "$phone"; - $completed_data.= "$date"; - $completed_data.= "$ppi_notes"; + $completed_data.= "$date"; + $completed_data.= "$ppi_notes"; $completed_data.= ''; $tr_color2 = $this->nextmatchs->alternate_row_color($tr_color2); $this->t->set_var('tr_color2',$tr_color2); @@ -978,7 +989,7 @@ class eq $completed_header_row = "Elder Name"; $completed_header_row.= "Phone"; $completed_header_row.= "Date"; - $completed_header_row.= "Scheduling Notes"; + $completed_header_row.= "PPI Notes"; $elders_width=300; $totals_width=100; $totals_table_width=$elders_width + $totals_width;