Subversion Repositories VORC

Rev

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

Rev 131 Rev 134
Line 149... Line 149...
149
 		  $t->{derby_name} .= " | <A HREF='#' onClick=\"event.stopPropagation(); if (confirm('Really? They were a no show?')==true) { window.open('make_shift_change.pl?noshow=true&change=del&RCid=$t->{RCid}&id=$t->{id}','Confirm Shift Change','resizable,height=260,width=370'); return false; }\">[NO SHOW]</a>";
149
 		  $t->{derby_name} .= " | <A HREF='#' onClick=\"event.stopPropagation(); if (confirm('Really? They were a no show?')==true) { window.open('make_shift_change.pl?noshow=true&change=del&RCid=$t->{RCid}&id=$t->{id}','Confirm Shift Change','resizable,height=260,width=370'); return false; }\">[NO SHOW]</a>";
150
 		}
150
 		}
151
 	} elsif (!$t->{derby_name}) {
151
 	} elsif (!$t->{derby_name}) {
152
 		if (findConflict ($ORCUSER->{RCid}, $t->{id})) {
152
 		if (findConflict ($ORCUSER->{RCid}, $t->{id})) {
153
      $t->{derby_name} .= "*schedule conflict*";
153
      $t->{derby_name} .= "*schedule conflict*";
-
 
154
		} elsif ($dept eq "EMT" and !$ORCUSER->{emt_verified}) {
-
 
155
			$t->{derby_name} .= "*needs verification*";
154
    } elsif (signUpEligible ($ORCUSER, $t, "vol") and $now < $cutoff) {
156
    } elsif (signUpEligible ($ORCUSER, $t, "vol") and $now < $cutoff) {
155
 			# SIGN UP
157
 			# SIGN UP
156
 			$t->{derby_name} = "<A HREF='#' onClick=\"event.stopPropagation(); window.open('make_shift_change.pl?change=add&RCid=$RCid&id=$t->{id}','Confirm Shift Change','resizable,height=260,width=370'); return false;\">[SIGN UP]</a>";
158
 			$t->{derby_name} = "<A HREF='#' onClick=\"event.stopPropagation(); window.open('make_shift_change.pl?change=add&RCid=$RCid&id=$t->{id}','Confirm Shift Change','resizable,height=260,width=370'); return false;\">[SIGN UP]</a>";
157
 		}
159
 		}
158
 		if ($user->{department}->{$dept} >= 2 or $LVL > 4) {
160
 		if ($user->{department}->{$dept} >= 2 or $LVL > 4) {