my $dbh = C4::Context->dbh;
my $query = "
SELECT suggestions.*,
+ U1.branchcode AS branchcodesuggestedby,
U1.surname AS surnamesuggestedby,
U1.firstname AS firstnamesuggestedby,
U1.borrowernumber AS borrnumsuggestedby,
my $query = qq(SELECT suggestions.*,
U1.surname AS surnamesuggestedby,
U1.firstname AS firstnamesuggestedby,
+ U1.branchcode AS branchcodesuggestedby,
U1.borrowernumber AS borrnumsuggestedby,
U2.surname AS surnamemanagedby,
U2.firstname AS firstnamemanagedby,
Suggested by:
</th>
<td>
- <select name="suggestedbyme">
+ <select name="suggestedby">
<option value="0">Anyone</option>
<option value="1">Me</option>
</select>
<!-- TMPL_IF NAME="loggedinusername" --><th> </th><!-- /TMPL_IF -->
<th>Summary</th>
<th>Note</th>
- <!-- TMPL_IF NAME="OPACViewOthersSuggestions" --><th>Suggested by</th><!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="OPACViewOthersSuggestions" --><th>Suggested For</th><!-- /TMPL_IF -->
<th>Managed by</th>
<th>Status</th>
</tr></thead>
<!-- TMPL_VAR name="note" -->
</td>
<!-- TMPL_IF NAME="OPACViewOthersSuggestions" --><td>
- <!-- TMPL_IF NAME="surnamesuggestedby" --><!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamesuggestedby" --><!-- TMPL_ELSE --> <!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="branchcodesuggestedby" --><!-- TMPL_VAR name="branchcodesuggestedby" --><!-- TMPL_ELSE --> <!-- /TMPL_IF -->
</td><!-- /TMPL_IF -->
<td>
<!-- TMPL_IF NAME="surnamemanagedby" --><!-- TMPL_VAR name="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" --><!-- TMPL_ELSE --> <!-- /TMPL_IF -->