Lines 240-274
sub add_form {
Link Here
|
240 |
|
240 |
|
241 |
my $field_selection; |
241 |
my $field_selection; |
242 |
push @{$field_selection}, add_fields('branches'); |
242 |
push @{$field_selection}, add_fields('branches'); |
243 |
if ($module eq 'reserves') { |
243 |
if ( $module eq 'reserves' ) { |
244 |
push @{$field_selection}, add_fields('borrowers', 'reserves', 'biblio', 'biblioitems', 'items'); |
244 |
push @{$field_selection}, add_fields( 'borrowers', 'reserves', 'biblio', 'biblioitems', 'items' ); |
245 |
} |
245 |
} elsif ( $module eq 'acquisition' ) { |
246 |
elsif ( $module eq 'acquisition' ) { |
246 |
push @{$field_selection}, add_fields( 'aqbooksellers', 'aqorders', 'biblio', 'items' ); |
247 |
push @{$field_selection}, add_fields('aqbooksellers', 'aqorders', 'biblio', 'items'); |
247 |
} elsif ( $module eq 'claimacquisition' || $module eq 'orderacquisition' ) { |
248 |
} |
248 |
push @{$field_selection}, add_fields( 'aqbooksellers', 'aqbasket', 'aqorders', 'biblio', 'biblioitems' ); |
249 |
elsif ($module eq 'claimacquisition' || $module eq 'orderacquisition') { |
249 |
} elsif ( $module eq 'claimissues' ) { |
250 |
push @{$field_selection}, add_fields('aqbooksellers', 'aqbasket', 'aqorders', 'biblio', 'biblioitems'); |
250 |
push @{$field_selection}, add_fields( 'aqbooksellers', 'serial', 'subscription', 'biblio', 'biblioitems' ); |
251 |
} |
251 |
} elsif ( $module eq 'patron_slip' ) { |
252 |
elsif ($module eq 'claimissues') { |
|
|
253 |
push @{$field_selection}, add_fields('aqbooksellers', 'serial', 'subscription', 'biblio', 'biblioitems'); |
254 |
} |
255 |
elsif ( $module eq 'patron_slip' ) { |
256 |
push @{$field_selection}, add_fields('borrowers'); |
252 |
push @{$field_selection}, add_fields('borrowers'); |
257 |
} |
253 |
} elsif ( $module eq 'serial' ) { |
258 |
elsif ($module eq 'serial') { |
254 |
push @{$field_selection}, |
259 |
push @{$field_selection}, add_fields('branches', 'biblio', 'biblioitems', 'borrowers', 'subscription', 'serial'); |
255 |
add_fields( 'branches', 'biblio', 'biblioitems', 'borrowers', 'subscription', 'serial' ); |
260 |
} |
256 |
} elsif ( $module eq 'suggestions' ) { |
261 |
elsif ($module eq 'suggestions') { |
257 |
push @{$field_selection}, add_fields( 'suggestions', 'borrowers', 'biblio' ); |
262 |
push @{$field_selection}, add_fields('suggestions', 'borrowers', 'biblio'); |
258 |
} else { |
263 |
} |
259 |
push @{$field_selection}, add_fields( 'biblio', 'biblioitems' ), |
264 |
else { |
|
|
265 |
push @{$field_selection}, add_fields('biblio','biblioitems'), |
266 |
add_fields('items'), |
260 |
add_fields('items'), |
267 |
{value => 'items.content', text => 'items.content'}, |
261 |
{ value => 'items.content', text => 'items.content' }, |
268 |
{value => 'items.fine', text => 'items.fine'}, |
262 |
{ value => 'items.fine', text => 'items.fine' }, |
269 |
add_fields('borrowers'); |
263 |
add_fields('borrowers'); |
270 |
if ($module eq 'circulation') { |
264 |
if ( $module eq 'circulation' ) { |
271 |
push @{$field_selection}, add_fields('additional_contents', 'recalls'); |
265 |
push @{$field_selection}, add_fields( 'additional_contents', 'recalls' ); |
272 |
|
266 |
|
273 |
} |
267 |
} |
274 |
|
268 |
|
Lines 278-284
sub add_form {
Link Here
|
278 |
push @{$field_selection}, add_fields('issues'); |
272 |
push @{$field_selection}, add_fields('issues'); |
279 |
} |
273 |
} |
280 |
|
274 |
|
281 |
if ( $module eq 'circulation' and $code and $code =~ /^AR_/ ) { |
275 |
if ( $module eq 'circulation' and $code and $code =~ /^AR_/ ) { |
282 |
push @{$field_selection}, add_fields('article_requests'); |
276 |
push @{$field_selection}, add_fields('article_requests'); |
283 |
} |
277 |
} |
284 |
|
278 |
|
285 |
- |
|
|