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:
David Cook 2026-04-21 04:33:18 +00:00 committed by Lucas Gass
parent ff9b74b72b
commit 609c11afc4
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 5 additions and 0 deletions

View File

@ -250,6 +250,11 @@ sub add_form {
);
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');
if ( $module eq 'reserves' ) {
push @{$field_selection}, add_fields( 'borrowers', 'reserves', 'biblio', 'biblioitems', 'items' );