| Line 222... |
Line 222... |
| 222 |
$F{$DBFields[0]} .= $h->input ({ type=>"hidden", name=>$DBFields[0], value=> $F{$DBFields[0]} });
|
222 |
$F{$DBFields[0]} .= $h->input ({ type=>"hidden", name=>$DBFields[0], value=> $F{$DBFields[0]} });
|
| 223 |
$F{dept} = $DepartmentNames->{$F{dept}};
|
223 |
$F{dept} = $DepartmentNames->{$F{dept}};
|
| 224 |
if ($F{assignee_id}) {
|
224 |
if ($F{assignee_id}) {
|
| 225 |
my $temp;
|
225 |
my $temp;
|
| 226 |
$temp = getUserDerbyName ($F{assignee_id});
|
226 |
$temp = getUserDerbyName ($F{assignee_id});
|
| 227 |
$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]");
|
227 |
$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=$R->{$primary}','Confirm Shift Change','resizable,height=260,width=370'); return false; }" }, "[DROP]");
|
| 228 |
$F{assignee_id} = $temp;
|
228 |
$F{assignee_id} = $temp;
|
| 229 |
} else {
|
229 |
} else {
|
| 230 |
$F{assignee_id} = $h->a ({ onClick=>"window.open('make_shift_change.pl?change=lookup&id=$F{id}','Confirm Shift Change','resizable,height=260,width=370'); return false;" }, "[ADD USER]");
|
230 |
$F{assignee_id} = $h->a ({ onClick=>"window.open('make_shift_change.pl?change=lookup&id=$R->{$primary}','Confirm Shift Change','resizable,height=260,width=370'); return false;" }, "[ADD USER]");
|
| 231 |
}
|
231 |
}
|
| 232 |
$F{doubletime} = $F{doubletime} ? "TRUE" : "FALSE";
|
232 |
$F{doubletime} = $F{doubletime} ? "TRUE" : "FALSE";
|
| Line 233... |
Line 233... |
| 233 |
|
233 |
|
| 234 |
$actionbutton = formField ("choice", "Update");
|
234 |
$actionbutton = formField ("choice", "Update");
|