Bug 9229 - branch code instead of name in subscription-detail.pl
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / member-search.tt
index 64c23d6..93357b4 100644 (file)
@@ -15,7 +15,7 @@ function add_member(subscriptionid,borrowernumber){
    #custom-doc { width:36.46em;*width:35.53em;min-width:430px; margin:auto; text-align:left; padding: 1em; }
    </style>
 </head>
-<body>
+<body id="ser_member-search" class="ser">
 <div id="custom-doc" class="yui-t7">
    
 <div id="bd">
@@ -28,7 +28,7 @@ function add_member(subscriptionid,borrowernumber){
                        <ol>
                        <li><label for="member">Name:</label> <input type="hidden" name="surname" value="[% surname %]" />
                        <input type="text" name="member" id="member" value="[% member %]" /></li>
-                       <li><label for="branchcode"> Library :</label><select name="branchcode" id="branchcode">
+            <li><label for="branchcode"> Library:</label><select name="branchcode" id="branchcode">
                        <option value="">Any</option>[% FOREACH branchloo IN branchloop %]
                        [% IF ( branchloo.selected ) %]
                        <option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>[% ELSE %]
@@ -64,8 +64,7 @@ function add_member(subscriptionid,borrowernumber){
                <td>[% resultsloo.cardnumber %] </td>
                <td>[% resultsloo.surname %], [% resultsloo.firstname %] </td>
                <td>[% resultsloo.branchcode %] </td>
-               <td><a onclick="add_member(<!-- TMPL_VAR
-               NAME="subscriptionid" -->,[% resultsloo.borrowernumber %]); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% resultsloo.subscriptionid %]&amp;borrowernumber=[% resultsloo.borrowernumber %]&amp;op=add">Add</a></td></tr>
+               <td><a onclick="add_member([% subscriptionid %],[% resultsloo.borrowernumber %]); return false" href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% resultsloo.subscriptionid %]&amp;borrowernumber=[% resultsloo.borrowernumber %]&amp;op=add">Add</a></td></tr>
                [% END %]
        </tbody>
 </table>