Lines 255-268
sub add_form {
Link Here
|
255 |
push @{$field_selection}, add_fields('issues'); |
255 |
push @{$field_selection}, add_fields('issues'); |
256 |
} |
256 |
} |
257 |
|
257 |
|
258 |
if ( $module eq 'circulation' and $code =~ /^AR_/ ) { |
258 |
if ( $module eq 'circulation' and $code and $code =~ /^AR_/ ) { |
259 |
push @{$field_selection}, add_fields('article_requests'); |
259 |
push @{$field_selection}, add_fields('article_requests'); |
260 |
} |
260 |
} |
261 |
} |
261 |
} |
262 |
|
262 |
|
263 |
my $preview_is_available = grep {/^$code$/} qw( |
263 |
my $preview_is_available = 0; |
264 |
CHECKIN CHECKOUT HOLD_SLIP |
264 |
|
265 |
); |
265 |
if ($code) { |
|
|
266 |
$preview_is_available = grep {/^$code$/} qw( CHECKIN CHECKOUT HOLD_SLIP ); |
267 |
} |
268 |
|
266 |
$template->param( |
269 |
$template->param( |
267 |
module => $module, |
270 |
module => $module, |
268 |
SQLfieldnames => $field_selection, |
271 |
SQLfieldnames => $field_selection, |
269 |
- |
|
|