| Line 147... |
Line 147... |
| 147 |
if ($user->{department}->{$dept} >= 2 or $LVL > 4) {
|
147 |
if ($user->{department}->{$dept} >= 2 or $LVL > 4) {
|
| 148 |
# NO SHOW
|
148 |
# NO SHOW
|
| 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->{assignee_id}&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->{assignee_id}&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})) {
|
| - |
|
153 |
$t->{derby_name} .= "*schedule conflict*";
|
| 152 |
if (signUpEligible ($ORCUSER, $t, "vol") and $now < $cutoff) {
|
154 |
} elsif (signUpEligible ($ORCUSER, $t, "vol") and $now < $cutoff) {
|
| 153 |
# SIGN UP
|
155 |
# SIGN UP
|
| 154 |
$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>";
|
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>";
|
| 155 |
}
|
157 |
}
|
| 156 |
if ($user->{department}->{$dept} >= 2 or $LVL > 4) {
|
158 |
if ($user->{department}->{$dept} >= 2 or $LVL > 4) {
|
| 157 |
# ADD USER
|
159 |
# ADD USER
|