Subversion Repositories computer_asset_manager_v1

Rev

Rev 52 | Rev 85 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52 Rev 53
Line 75... Line 75...
75
     return array($sql, implode ( ' and ', $whereClause ), ' order by ');
75
     return array($sql, implode ( ' and ', $whereClause ), ' order by ');
76
   }
76
   }
77
 
77
 
78
   function EditMaintenanceRecord( $id ) {
78
   function EditMaintenanceRecord( $id ) {
79
      global $DATABASE_DEFINITION;
79
      global $DATABASE_DEFINITION;
80
      print "<pre>\nInside EditMaintenanceRecord id = $id\n</pre>";
-
 
81
      print $id == -1 ? addData( $DATABASE_DEFINITION['maintenance_schedule'] ) : editData( $DATABASE_DEFINITION['maintenance_schedule'], $id );
80
      print $id == -1 ? addData( $DATABASE_DEFINITION['maintenance_schedule'] ) : editData( $DATABASE_DEFINITION['maintenance_schedule'], $id );
82
   }
81
   }
83
   
82
   
84
   function postChanges( $id = '' ) {
83
   function postChanges( $id = '' ) {
85
      global $DATABASE_DEFINITION;
84
      global $DATABASE_DEFINITION;