Adding itemtypes and branches in MARCdetail BugFixing moremember.tmpl : column descriptions were messed.
Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
parent
d53e1d3343
commit
059c9880c3
2 changed files with 9 additions and 8 deletions
|
@ -60,17 +60,18 @@ sub get_authorised_value_desc ($$$$$$) {
|
|||
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'};
|
||||
|
|
|
@ -189,9 +189,9 @@ function confirm_reregistration() {
|
|||
<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>
|
||||
|
|
Loading…
Reference in a new issue