added autocomplete="off"
[koha.git] / C4 / Print.pm
index 69986dc..f810816 100644 (file)
@@ -13,13 +13,13 @@ package C4::Print;
 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License along with
-# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
-# Suite 330, Boston, MA  02111-1307 USA
+# You should have received a copy of the GNU General Public License along
+# with Koha; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use strict;
+#use warnings; FIXME - Bug 2505
 use C4::Context;
-use C4::Circulation;
 use C4::Members;
 use C4::Dates qw(format_date);
 
@@ -47,9 +47,7 @@ The functions in this module handle sending text to a printer.
 
 =head1 FUNCTIONS
 
-=over 2
-
-=item remoteprint
+=head2 remoteprint
 
   &remoteprint($items, $borrower);
 
@@ -81,7 +79,8 @@ sub remoteprint ($$) {
     # to have spaces in them). Or perhaps if $queue eq "" and
     # $env->{file} ne "", then that should mean "print to $env->{file}".
     if ( $queue eq "" || $queue eq 'nulllp' ) {
-        open( PRINTER, ">/tmp/kohaiss" );
+        return;
+       #open( PRINTER, ">/tmp/kohaiss" );
     }
     else {
 
@@ -127,6 +126,10 @@ sub remoteprint ($$) {
 }
 
 sub printreserve {
+
+    # FIXME - make useful
+    return;
+
     my ( $branchname, $bordata, $itemdata ) = @_;
     my $printer = '';
     (return) unless ( C4::Context->boolean_preference('printreserveslips') );
@@ -167,16 +170,19 @@ EOF
     return $slip;
 }
 
-=item printslip
+=head2 printslip
 
   &printslip($borrowernumber)
 
-  print a slip for the given $borrowernumber
-  
+print a slip for the given $borrowernumber
+
 =cut
 
 #'
 sub printslip ($) {
+
+    #FIXME - make useful
+
     my $borrowernumber = shift;
     my $borrower   = GetMemberDetails($borrowernumber);
        my $issueslist = GetPendingIssues($borrowernumber); 
@@ -192,11 +198,9 @@ END { }    # module clean-up code here (global destructor)
 1;
 __END__
 
-=back
-
 =head1 AUTHOR
 
-Koha Developement team <info@koha.org>
+Koha Development Team <http://koha-community.org/>
 
 =head1 SEE ALSO