phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: timetrack detail_report_bycust.php,1.1,1.2 viewc


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: timetrack detail_report_bycust.php,1.1,1.2 viewcustomer.php,1.7,1.8
Date: Thu, 19 Sep 2002 22:54:52 -0400

Update of /cvsroot/phpgroupware/timetrack
In directory subversions:/tmp/cvs-serv14381/timetrack

Modified Files:
        viewcustomer.php 
Added Files:
        detail_report_bycust.php 
Log Message:
GNU Patch #525.


Index: viewcustomer.php
===================================================================
RCS file: /cvsroot/phpgroupware/timetrack/viewcustomer.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** viewcustomer.php    18 Mar 2002 03:18:04 -0000      1.7
--- viewcustomer.php    20 Sep 2002 02:54:50 -0000      1.8
***************
*** 17,23 ****
  
    include("../header.inc.php");
!   if (! $cid)
       Header("Location: " . 
$GLOBALS['phpgw']->link("/timetrack/customers.php"));
  
    $GLOBALS['phpgw']->db->query("select * from phpgw_ttrack_customers where 
company_id='$cid'");
    $GLOBALS['phpgw']->db->next_record();
--- 17,31 ----
  
    include("../header.inc.php");
!       if (! $cid)
!       {
       Header("Location: " . 
$GLOBALS['phpgw']->link("/timetrack/customers.php"));
+       }
  
+       inc_cal();
+       if ($error)
+       {
+               echo "<center>" . lang("Error") . ":$error</center>";
+       }
+       
    $GLOBALS['phpgw']->db->query("select * from phpgw_ttrack_customers where 
company_id='$cid'");
    $GLOBALS['phpgw']->db->next_record();
***************
*** 114,117 ****
  
  <?php
!   $GLOBALS['phpgw']->common->phpgw_footer();
  
--- 122,157 ----
  
  <?php
!   // add form button for generating detail reports
!   $thismonth = date("n") - 1;
!   $thisyear = date("Y");
!   echo '<form name="Report" method=POST action="' . 
$GLOBALS['phpgw']->link("/timetrack/detail_report_bycust.php")
!         . '">';
!   echo '<input type="hidden" name="company_id" value="' . $company_id . '">';
!   echo '<center><table width="65%" border="0">'
!         . '<th colspan="4" bgcolor="' . 
$GLOBALS['phpgw_info']["theme"]["th_bg"] . '">'
!         . lang("Activity Report") . '</th>'
!         . '<tr>'; //<td width="20%"><input type="submit" 
value="Generate"</td>';
! 
!   echo '<td width="40%">&nbsp;' . lang("Start Date") . ':';
!   // Set the beginning date to automatically be the same as the quote date 
here.
!   $yr=strval(substr($n_quote_date,0,4));
!   $mo=strval(substr($n_quote_date,5,2));
!   $da=strval(substr($n_quote_date,8,2));
!   CalDateSelector("Report","startdate",0,"",$mo,$da,$yr);
!   echo '</td>';
! 
!   echo '<td width="40%">&nbsp;' . lang("End Date") . ':'; 
!   CalDateSelector("Report","enddate",0,"");
!   echo '</td>';
! 
!   echo '<td>';
!   //cal_layer();
!   echo '</td>';
! 
!   echo '<td align="center"><input type="submit" value="'
!         . lang("Generate") . '"</td></tr>';
  
+   echo '</table></form></center>';
+ 
+   $GLOBALS['phpgw']->common->phpgw_footer();
+ ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]