Subversion Repositories ORC

Rev

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

Rev 16 Rev 23
Line 207... Line 207...
207
      $actionbutton .= formField ("Cancel");
207
      $actionbutton .= formField ("Cancel");
208
    } else {
208
    } else {
209
      # We're just looking at it...
209
      # We're just looking at it...
210
      print $h->p ("Viewing Shift: $R->{$primary}...");
210
      print $h->p ("Viewing Shift: $R->{$primary}...");
211
      $F{$DBFields[0]} .= $h->input ({ type=>"hidden", name=>$DBFields[0], value=> $F{$DBFields[0]} });
211
      $F{$DBFields[0]} .= $h->input ({ type=>"hidden", name=>$DBFields[0], value=> $F{$DBFields[0]} });
-
 
212
      $F{dept} = $DepartmentNames->{$F{dept}};
212
      if ($F{assignee_id}) {
213
      if ($F{assignee_id}) {
213
        my $temp;
214
        my $temp;
214
        $temp = getUserDerbyName ($F{assignee_id});
215
        $temp = getUserDerbyName ($F{assignee_id});
215
        $temp .= " ".$h->a ({ onClick=>"if (confirm('Really? You want to drop this person from the shift?')==true) { window.open('make_shift_change.pl?change=del&RCid=$F{assignee_id}&id=$F{id}','Confirm Shift Change','resizable,height=260,width=370'); return false; }" }, "[DROP]");
216
        $temp .= " ".$h->a ({ onClick=>"if (confirm('Really? You want to drop this person from the shift?')==true) { window.open('make_shift_change.pl?change=del&RCid=$F{assignee_id}&id=$F{id}','Confirm Shift Change','resizable,height=260,width=370'); return false; }" }, "[DROP]");
216
        $F{assignee_id} = $temp;
217
        $F{assignee_id} = $temp;