my ( $tagslib, $tag, $subfield, $value, $framework, $dbh ) = @_;
#---- branch
- #if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
+ if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) {
- # return GetBranchDetail($value)->{branchname};
- #}
+# return GetBranchDetail($value)->{branchname};
+ return $value;
+ }
#---- itemtypes
- #if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "itemtypes" ) {
+ if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "itemtypes" ) {
- # my $itemtypedef = getitemtypeinfo($itemtype);
- # return $itemtypedef->{description};
- #}
+ my $itemtypedef = getitemtypeinfo($itemtype);
+ return $itemtypedef->{description};
+ }
#---- "true" authorized value
my $category = $tagslib->{$tag}->{$subfield}->{'authorised_value'};
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
<table>
<tr>
+ <th scope="col">Date due</th>
<th scope="col">Title</th>
<th scope="col">Barcode</th>
- <th scope="col">Date due</th>
<th scope="col">Itemtype</th>
<th scope="col">Charge</th>
<th scope="col">Price</th>