Bug 40659: (follow-up) include substitutions in the possible options for template
Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
ff9b74b72b
commit
609c11afc4
|
|
@ -250,6 +250,11 @@ sub add_form {
|
||||||
);
|
);
|
||||||
|
|
||||||
my $field_selection;
|
my $field_selection;
|
||||||
|
|
||||||
|
if ( $module eq 'members' and $code and $code eq 'VIRTUALCARD' ) {
|
||||||
|
push @{$field_selection}, { value => '', text => '---VIRTUALCARD---' },
|
||||||
|
{ value => 'my_image', text => 'my_image' }, { value => 'my_barcode', text => 'my_barcode' };
|
||||||
|
}
|
||||||
push @{$field_selection}, add_fields('branches');
|
push @{$field_selection}, add_fields('branches');
|
||||||
if ( $module eq 'reserves' ) {
|
if ( $module eq 'reserves' ) {
|
||||||
push @{$field_selection}, add_fields( 'borrowers', 'reserves', 'biblio', 'biblioitems', 'items' );
|
push @{$field_selection}, add_fields( 'borrowers', 'reserves', 'biblio', 'biblioitems', 'items' );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue