Commit graph

7042 commits

Author SHA1 Message Date
acli
6ac450b83b Converted a few SQL statements to use ? to fix a few strange SQL errors
Noted correct tab size
2003-02-05 10:05:02 +00:00
acli
88dcb0a314 Changed the 3 "this does nothing" lines to set the flag. Is this right? 2003-02-05 07:55:42 +00:00
acli
f475af255f Implemented fixes for bug 170
1. Circ2::returnbook will throw an exception if $branch is undef
2. branch/printer-getting code is modularized into getbranch and getprinter
   with correct logic from circulation.pl (temporarily put into Circ2.pm)
3. circulation.pl and returns.pl modified to use above functions

Noted correct tab sizes for the files; returns.pl partially reformatted to
conform to the dominant correct tab size

Handle non-latin1 charsets for returns.pl
2003-02-05 06:28:56 +00:00
tonnesen
f58bb6afe0 Removing +1y expiry time from cookies so that cookies expire when the browser
exits.
2003-02-04 17:57:10 +00:00
acli
f1ae358bcd Reverted to using s/// instead of quotemeta for title/author/illustrator,
to avoid quoting spaces (which results in most titles/authors etc. becoming
unsearchable) (Bug 197)
2003-02-04 04:44:35 +00:00
acli
b5ecefd485 Minor factoring in C4/Biblio.pm, plus change to export the per-tag
'mandatory' property to a per-subfield 'tag_mandatory' template parameter,
so that addbiblio.tmpl can distinguish between mandatory subfields in a
mandatory tag and mandatory subfields in an optional tag

Not-minor factoring in acqui.simple/addbiblio.pl to make the if-else blocks
smaller, and to add some POD; need further testing for this

Added function to check if a MARC subfield name is "koha-internal" (instead
of checking it for 'lib' and 'tag' everywhere); temporarily added to Koha.pm

Use above function in acqui.simple/additem.pl and search.marc/search.pl
2003-02-03 18:46:00 +00:00
acli
8f62498205 Updated module location 2003-02-03 07:23:14 +00:00
acli
32b87866dd Minor code cleanup
(Implemented some simple FIXME's in C4/Search.pm)
2003-02-03 02:15:43 +00:00
acli
16d67236c2 Distinguish between On Loan, Item Lost, and Withdrawn, instead of saying
just "not available".  Cf. Bug 112
2003-02-02 08:47:01 +00:00
acli
e9858a2910 Moved C4/Charset.pm to C4/Interface/CGI/Output.pm 2003-02-02 07:19:29 +00:00
acli
52a5fd4bbd Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
Create output_html_with_http_headers function to contain the "print $query
->header(-type => guesstype...),..." call. This is in preparation for
non-HTML output (e.g., text/xml) and charset conversion before output in
the future.

Created C4/Interface/CGI/Template.pm to hold convenience functions specific
to the CGI interface using HTML::Template

Modified moremembers.pl to make the "sex" field localizable for languages
where M and F doesn't make sense
2003-02-02 07:18:37 +00:00
tipaul
c23d07724e search on MARC datas.
first draft
2003-01-28 14:56:39 +00:00
tipaul
d8c2e556ce fixing a sql query not using prepare(?) & execute($var) method 2003-01-28 14:53:30 +00:00
tipaul
c0c8f96121 fixing MARCmodbiblio API and reindenting code 2003-01-28 14:50:04 +00:00
tipaul
4cbb08cd5e bugfix #168 + "breedingsearch" sub added+ "isbnsearch" (used only in acqui.simple, should disappear soon) now works on title and isbn 2003-01-28 14:46:50 +00:00
acli
47fcb64527 Temporary patch for bug 182 2003-01-26 04:37:17 +00:00
acli
ef50ee5217 Use ? for an SQL query to prevent SQL syntax errors 2003-01-25 20:05:20 +00:00
tipaul
8392f92ec0 adding char_decode to decode MARC21 or UNIMARC extended chars 2003-01-23 12:22:37 +00:00
acli
b242ad44ec Removed scoping-related perl warnings 2003-01-20 07:38:54 +00:00
acli
5d52c8bf49 Removed scoping-related perl warnings
Factored similar code in getborrowernumber
"i.e." in one comment should be "e.g."
2003-01-20 07:38:23 +00:00
acli
2e7bb9a106 Removed perl warning 2003-01-20 07:35:31 +00:00
acli
ea50c2acb6 Preliminary fix of the CGI.pm problem of always assuming that everything is
in ISO-8859-1.

A new C4::Charset module (tentative name) has been created to guess the
charset of a piece of HTML markup. The CGI programs will be modified to use
this module as they are encountered during translation.
2003-01-19 06:15:44 +00:00
acli
6bdd53ded8 Added < to the filenames of open() calls 2003-01-19 06:13:27 +00:00
tipaul
95791d11cf last bugfix before releasing 1.3.3. Not trully a bugfix (see release notes) 2003-01-06 13:31:01 +00:00
tipaul
40d6ddb383 checks that the config file passed in parameter exist, otherwise, uses the default one (/etc/koha.conf)
useful in upgradedb2marc.pl script.
* if this script is called during installation, uses /etc/koha.conf.tmp
* if it's called manually (after installation), uses /etc/koha.conf, as the tmp file is no more here :-)
2002-12-20 13:54:31 +00:00
tipaul
6098d9c4eb little modif in gettemplate.
auto-replaces theme and lang template variable.
This is useful if you have images in your template :
<img src="/<TMPL_VAR name="theme">/<TMPL_VAR name="lang">/images/picture.gif>
or
<img src="/<TMPL_VAR name="theme">/images/picture.gif>
in the case of a non-language dependant image.

Before this fix, gettemplate only replaced a variable called themelang, which was useful for language dependant images, but didn't work with theme-only images.
Note the previous behaviour is still activated (ie : themelang still works)
2002-12-20 08:35:19 +00:00
hdl
16c57f0a75 Templating reservereport et shelves. 2002-12-19 18:55:40 +00:00
hdl
9d8857f344 Templating reports.pl
This might be of no use... Since it is never called and seems obsolete.
2002-12-19 15:22:18 +00:00
tipaul
80a37bdd4a small but important bugfix (fixes a problem in export) 2002-12-16 15:08:50 +00:00
tipaul
4b9af7f1ff 1st draft of marc export 2002-12-13 16:22:04 +00:00
tipaul
a067d70c35 code cleaning 2002-12-13 10:36:22 +00:00
tipaul
4d315418f2 YAB ! (Yet Another Bugfix) => related to biblio modif
(some warning cleaning too)
2002-12-12 21:26:35 +00:00
tipaul
dd696c61e8 adding authentification with Auth.pm and
MAJOR BUGFIX on marc biblio modification
2002-12-12 16:34:41 +00:00
tipaul
b0d0dddfac authentification bugfix :
the api in pod-auth.pm has "type => 'opac' "parameter.
If called from intranet, should be type => 'intranet'.
Output.pm checked for type existed, and not it's value. Now, Output compares checks for type value.
If type='intranet', then the intranet template is called, else it's an opac template.
Finlay, please validate this commit.
2002-12-10 15:52:49 +00:00
tipaul
60c769f326 removing warnings 2002-12-10 13:42:00 +00:00
tipaul
9b6d589336 fugfixes from Dombes Abbey work 2002-12-10 13:30:03 +00:00
rangi
bc9b0aca44 Added a note that this module is slated to be removed 2002-12-07 04:38:56 +00:00
finlayt
2ee268c632 This is essentially the Auth.pm coming from the rel-1-2 branch. It is quite different from the old one, but shouldnt break any existing code. 2002-12-04 04:32:35 +00:00
tipaul
5c67993c8f road to 1.3.2
various bugfixes, improvments, and migration from acquisition.pm to biblio.pm
2002-11-19 12:31:34 +00:00
tipaul
73e37063d5 road to 1.3.2 :
* many bugfixes
* adding value_builder : you can map a subfield in the marc_subfield_structure to a sub stored in "value_builder" directory. In this directory you can create screen used to build values with any method. In this commit is a 1st draft of the builder for 100$a unimarc french subfield, which is composed of 35 digits, with 12 differents values (only the 4th first are provided for instance)
2002-11-12 16:39:14 +00:00
tipaul
e11872aeb1 road to 1.3.2 :
* many bugfixes
* adding value_builder : you can map a subfield in the marc_subfield_structure to a sub stored in "value_builder" directory. In this directory you can create screen used to build values with any method. In this commit is a 1st draft of the builder for 100$a unimarc french subfield, which is composed of 35 digits, with 12 differents values (only the 4th first are provided for instance)
2002-11-12 15:58:43 +00:00
tonnesen
c16a952963 Merging from rel-1-2 to trunk 2002-10-28 20:02:57 +00:00
tipaul
94b6b3a6c1 Road to 1.3.2
* bugfixes and improvements
2002-10-25 10:58:26 +00:00
tonnesen
08d26bcc75 Removing ReserveWaiting call pending further discussion... 2002-10-24 20:09:29 +00:00
tonnesen
7aeb26593b Merging changes from rel-1-2 into trunk (circulation module only) 2002-10-24 18:30:17 +00:00
arensb
fbb774f115 Fixed "no title" warning when generating HTML documentation from POD. 2002-10-24 12:09:01 +00:00
tonnesen
a0df2d5ea3 Added a couple of tests. 2002-10-24 04:12:10 +00:00
tonnesen
d0a060afb5 Added some more functionality to Shelf.pm (including the ability to actually
create a new shelf) and started a test script (Shelf.t)
2002-10-23 23:32:47 +00:00
tonnesen
263f5ecd46 First shot at a Shelf module. I'd appreciate comments on this. It contains
perldoc documentation describing the interface to date.
2002-10-23 22:21:09 +00:00
arensb
15a05e968f Updated a FIXME comment. 2002-10-16 12:45:15 +00:00
arensb
aa3a88a76c Added and updated some FIXME comments. 2002-10-16 12:44:25 +00:00
arensb
15d6ecc822 Added some FIXME comments. 2002-10-16 12:42:29 +00:00
tipaul
6d578747a9 removing Acquisition.pm
deleting unused code in biblio.pm, rewriting POD and answering most FIXME comments
2002-10-15 13:39:17 +00:00
tipaul
c4892ded4d merging arens + my modifs/bugfixes 2002-10-14 07:40:04 +00:00
finlayt
6800d04813 added small fix to UpdateReserve that fixes a bug coming from the calles from moremember.pl 2002-10-14 04:22:25 +00:00
arensb
eff606ba56 Replaced expressions of the form "$x = $x <op> $y" with "$x <op>= $y".
Thus, $x = $x+2 becomes $x += 2, and so forth.
2002-10-13 11:32:14 +00:00
arensb
24b7b9a73d Removed trailing whitespace. 2002-10-13 09:31:35 +00:00
arensb
89ed0f29f6 Removed unused finalizer. 2002-10-13 08:34:49 +00:00
arensb
fddab26c2e Deleted unused variables.
Removed trailing whitespace.
2002-10-13 08:27:49 +00:00
arensb
7197a3735b Added magic RCS comment.
Removed trailing whitespace.
2002-10-13 07:31:21 +00:00
arensb
d5c8d40e23 Deleted unused variables.
Removed trailing whitespace.
2002-10-13 06:37:54 +00:00
arensb
73bcde4fa1 Added magic RCS comment.
Added some FIXME comments explaining why I didn't write a POD.
Removed unused finalizer.
2002-10-13 06:29:37 +00:00
arensb
a3118241ed Added magic RCS comment.
Added some FIXME comments.
Added some explanatory comments.
Removed trailing whitespace.
Deleted unused variables.
Added POD.
Removed unused finalizer.
2002-10-13 06:28:49 +00:00
arensb
c572ee3b11 Added magic RCS comment.
Added some FIXME comments.
Added some explanatory comments.
Removed trailing whitespace.
Deleted unused variables.
Added POD.
Removed unused finalizer.
2002-10-13 06:22:48 +00:00
arensb
f96a21551d Added magic RCS comment.
Added some FIXME comments.
Deleted unused variables.
Added POD.
Removed unused finalizer.
2002-10-13 06:20:22 +00:00
arensb
048e1fdfe1 Added magic RCS comment.
Removed a lying comment.
Removed unused global variables.
Added POD.
Added some FIXME comments.
Added some explanatory comments.
Removed unused finalizer.
2002-10-13 06:18:42 +00:00
arensb
198d27dd88 Added magic RCS string.
Added some FIXME comments.
Removed unused finalizer.
2002-10-13 06:15:08 +00:00
arensb
4779119226 Added magic RCS string.
Added a FIXME comment.
Removed unused finalizer.
2002-10-13 06:14:10 +00:00
arensb
3660bc647a Removed bogus #! line (this isn't a script!)
Removed unused global variables.
Added POD.
Added some explanatory comments.
Added some FIXME comments.
2002-10-13 06:13:23 +00:00
arensb
6e4f0b9fb7 Added magic RCS comment.
Removed declarations for nonexistent variables.
Added some FIXME comments.
Removed unused finalizer.
2002-10-13 06:12:00 +00:00
arensb
bc9257875b Added partial POD (but I don't understand reserves well enough to
continue).
Added magic RCS comment.
Added some explanatory comments.
Removed trailing whitespace.
Added some FIXME comments.
Moved comments in first column to where they wouldn't obscure the
indentation.
Removed unused finalizer.
2002-10-13 06:09:26 +00:00
arensb
3a92eb7781 Added some FIXME comments. 2002-10-13 06:05:59 +00:00
arensb
6da9869463 Added a FIXME comment. 2002-10-13 06:03:38 +00:00
arensb
118907bcdd Added some FIXME comments.
Added RCS magic comment.
Removed unused finalizer.
2002-10-13 06:03:03 +00:00
arensb
c7f9fb2b99 Added some FIXME comments. 2002-10-13 05:56:10 +00:00
arensb
3e5e5e0303 Added a partial POD.
Wrote some FIXME comments explaining why I'm not going to write any
more PODs.
Added some other FIXME comments.
2002-10-13 05:52:46 +00:00
arensb
5c91d43a43 Added some FIXME comments. 2002-10-13 05:49:13 +00:00
arensb
125a9fafcf Added some FIXME comments. 2002-10-12 07:31:35 +00:00
arensb
5ff7515d5b Turn off authentication entirely if systempreference "insecure" is set
to "yes".
2002-10-12 06:12:39 +00:00
arensb
57bc667d07 Got rid of the dependency on Set::Scalar. Yay! One fewer package that
the user has to install!
Redid the way SQL queries are built up, to make it more readable and
maintainable.
Removed a couple of unused variables.
Got rid of some un-Perl-like bogosity.
2002-10-12 05:43:03 +00:00
arensb
13d93ef115 Added a FIXME comment. 2002-10-11 13:06:52 +00:00
arensb
f981e30f4a Gutted.
Every function in this module is now obsolete. Removed just about
everything.
The name "Database" might still be reused, though the next time
something gets added, it should probably be called v2.0.
2002-10-11 12:52:11 +00:00
arensb
70d8c21450 Removed bogus unused variables at the top.
Prettified @EXPORT list.
(bug fix): Added missing semicolon.
2002-10-11 12:42:08 +00:00
arensb
70c08fd084 Replaced &requireDBI with C4::Context->dbh, thus making the "use
Database" statement unnecessary.
Fixed POD up a bit.
2002-10-11 12:40:50 +00:00
arensb
52d2d7bf92 Removed trailing whitespace that was messing up the POD. 2002-10-11 12:39:34 +00:00
arensb
cd8203d8d8 Added FIXME comment. This file is obsolete, right? 2002-10-11 12:36:44 +00:00
arensb
e744903393 Updated FIXME comment. This file is obsolete, right? 2002-10-11 12:36:26 +00:00
arensb
81ec28f127 Replaced &requireDBI with C4::Context->dbh 2002-10-11 12:34:53 +00:00
arensb
99fdc7afa0 Cleaned things up a bit. 2002-10-11 03:24:29 +00:00
arensb
61d632bf8a Removed &systemprefs. It is no longer used. 2002-10-11 03:14:51 +00:00
arensb
ddcc85bfc2 Use C4::Context->preference instead of &systemprefs or explicit SQL
calls to get an entry from the systempreferences table.
2002-10-11 03:14:03 +00:00
arensb
527fdc97e0 Made code a bit more Perl-ish. 2002-10-10 14:51:14 +00:00
tipaul
b47c3c7627 bugfixes 2002-10-10 14:48:25 +00:00
tipaul
ae8bd1dbf8 cleaning code 2002-10-10 14:47:00 +00:00
tipaul
9d31145bf2 merging 1.2 and bugfixes for auth and login 2002-10-10 10:07:34 +00:00
arensb
afa8db75fc Added some FIXMEs.
Made code more Perlish.
(bug fix): Allow whitespace in $HTTP_ACCEPT_LANGUAGE (Konqueror uses
", " as language separator).
2002-10-10 05:32:20 +00:00
arensb
657643c67d Added whitespace to make the POD work.
Added author.
2002-10-10 04:47:54 +00:00
arensb
94d2f6ea1f Added whitespace to make the POD work. 2002-10-10 04:44:28 +00:00
arensb
4c345d156a Fixed a few problems with POD. 2002-10-10 04:43:44 +00:00
arensb
d00793f8a1 Simplified references. 2002-10-10 04:42:35 +00:00
arensb
ef8cf295eb Added whitespace to make the POD work.
Removed references, added author.
2002-10-10 04:41:05 +00:00
arensb
95e2b3d1e6 Removed reference to Perl in POD. It should be obvious. 2002-10-10 04:34:51 +00:00
arensb
fa62f577cf Added whitespace to make the POD work.
Simplified references.
Added author email address.
2002-10-10 04:34:20 +00:00
arensb
668b558887 Fixed FIXMEs.
Removed reference to Perl in POD. It should be obvious.
2002-10-10 04:33:25 +00:00
arensb
9f09e01c07 Simplified references. 2002-10-10 04:32:44 +00:00
arensb
e4a482ac3d Fixed FIXMEs.
Removed reference to Perl. It should be obvious.
2002-10-10 04:32:06 +00:00
arensb
fa873de1fd Added whitespace to make the POD work.
Simplified references.
2002-10-10 04:29:39 +00:00
arensb
2f9a3a5bec Removed trailing whitespace that was breaking the POD. 2002-10-09 15:25:03 +00:00
arensb
3344f22bb7 Added POD.
Added a bunch of FIXMEs.
Trimmed trailing whitespace.
2002-10-09 14:17:49 +00:00
arensb
594987f486 Fixed missing bracket in POD. 2002-10-09 14:14:08 +00:00
arensb
99298f3d92 Added some FIXMEs. 2002-10-09 14:13:31 +00:00
arensb
7dcba2d082 Fixed FIXMEs in the POD. 2002-10-09 14:13:01 +00:00
arensb
3e7a102268 Added a couple of comments. 2002-10-09 14:04:49 +00:00
tipaul
dd1fd87846 road to 1.3.1 : viewing MARC biblio 2002-10-07 14:04:26 +00:00
arensb
fe98e2768b Removed unnecessary "use" line. 2002-10-07 00:51:55 +00:00
arensb
09fbb5e9d7 Added POD and some comments. 2002-10-07 00:51:22 +00:00
arensb
888c451d3d Added a FIXME comment. 2002-10-07 00:50:33 +00:00
arensb
21f62b0c03 Added a POD of sorts. 2002-10-07 00:48:50 +00:00
arensb
d00f624169 Added some FIXME comments. 2002-10-07 00:45:25 +00:00
arensb
695eb3b4b6 Removed unnecessary "use" line. 2002-10-07 00:44:23 +00:00
arensb
e551a3b888 Added a FIXME comment. 2002-10-07 00:35:44 +00:00
arensb
acaffcf53e Added POD and some comments. 2002-10-07 00:34:24 +00:00
arensb
f32b071f5c Fixed typo in synopsis. 2002-10-07 00:33:50 +00:00
arensb
3d22e58550 Fixed some bogosity.
Added some FIXMEs.
2002-10-05 23:59:40 +00:00
arensb
c3a1bd7117 Replaced several prepare()/execute()/finish() sequences with do(). 2002-10-05 23:57:39 +00:00
arensb
45c739791e Added "preference" method, for fetching a single value from
systempreferences (which is all most scripts need).
2002-10-05 23:55:00 +00:00
arensb
6421ecc986 Added a couple of FIXME comments. 2002-10-05 17:17:20 +00:00
arensb
ba786212eb Switched new functions to using C4::Context. 2002-10-05 16:55:09 +00:00
arensb
f0d284e6bd Removed remnants of code that read /etc/koha.conf for itself. 2002-10-05 16:48:08 +00:00
arensb
dbca39823f Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
2002-10-05 09:44:27 +00:00
arensb
dbb94761cf Changed a function call to a class method call, and a few more anal
changes.
2002-10-03 16:15:10 +00:00
tipaul
cbd283722e pod doc adding 2002-10-03 11:31:31 +00:00
tipaul
f75126490d Extending Context.pm to add stopword management and using it in MARC-API.
First benchmarks show a medium speed improvement, which  is nice as this part is heavily called.
2002-10-03 11:28:18 +00:00
finlayt
772d5bc36c Added a field to the barcodes sql search, now it returns the holding branch as well. 2002-10-03 03:56:10 +00:00
arensb
39d7df4191 Fixed some run-time bugs, so it'll actually load. 2002-10-02 23:38:47 +00:00
arensb
64c01c3574 Fixed typos in POD. 2002-10-02 17:21:09 +00:00
arensb
f46cb5b0a3 (added) Module for reading the config file and getting access to the
database.
2002-10-02 17:12:04 +00:00
tipaul
0d150edefe road to 1.3.1 2002-10-02 16:26:44 +00:00
tipaul
3c30f8b69e templating modifications to rspect finlay structure 2002-10-02 16:26:14 +00:00
arensb
fbd7f81044 Added an incomplete POD, as well as some FIXME comments (which, as it
turns out, might not be necessary after all).
2002-10-01 13:22:02 +00:00
arensb
048d545d11 Added some FIXME comments, mostly marking duplicate functions. 2002-10-01 11:48:51 +00:00
arensb
b5c2a888be Added some FIXME comments. 2002-09-28 04:58:18 +00:00
arensb
780b60f0d3 Added POD.
Removed extraneous trailing whitespace.
2002-09-28 04:56:26 +00:00
finlayt
13e7c898df Added the possiblity of deleting waiting reservesm or setting them back to not waiting.
uses UpdateReserve now, instead of updatereserves from Reserves2.pm
2002-09-27 05:21:44 +00:00
tipaul
3120194e94 long WAS the road to 1.3.0...
coming VERY SOON NOW...
modifying installer and buildrelease to update the DB
2002-09-24 13:49:26 +00:00
arensb
5087f3d208 Added POD. 2002-09-23 13:53:18 +00:00
arensb
ca2aba8788 Added POD.
Removed unnecessary trailing whitespace.
2002-09-23 13:52:38 +00:00
arensb
4478773b2d Fixed missing bit in POD. 2002-09-23 13:50:30 +00:00
arensb
a26ac73061 Fixed missing bits in POD. 2002-09-23 13:49:46 +00:00
arensb
4d8413ab87 Added POD.
Added some FIXME comments.
Removed useless trailing whitespace.
2002-09-22 17:29:17 +00:00
arensb
4bddc658c2 Added some FIXME comments. 2002-09-22 16:49:20 +00:00
arensb
c09e821d8c Added POD. 2002-09-22 05:38:32 +00:00
arensb
01e1912093 Added PODs.
Removed a bunch of trailing whitespace.
Fixed &mkheadr to match the documentation.
2002-09-22 04:04:22 +00:00
arensb
cf30cc742c Removed trailing spaces, especially those interfering with the POD. 2002-09-22 00:30:35 +00:00
tipaul
973334c26a long is the road to 1.4.0
* MARCadditem and MARCmoditem now wroks
* various bugfixes in MARC management
!!! 1.3.0 should be released very soon now. Be careful !!!
2002-09-20 12:57:46 +00:00
pate
500b95460e adding POD from Andres Arensburger 2002-09-20 12:49:47 +00:00
finlayt
70003da4ec Fixed the ordering of bibitems displayed in the request page. Most recent at top, ordered by dateaccessioned on the items table. 2002-09-19 00:24:27 +00:00
dnmeid
adf1769e43 Added getpathtotemplate-function 2002-09-17 12:42:52 +00:00
rangi
a68e85669b fixes for the ordering of the issues table in issues, and also on the
printed slip
2002-09-14 00:57:27 +00:00
tipaul
de7dfb22fc MARC API continued...
* some bugfixes
* multiple item management : MARCadditem and MARCmoditem have been added. They suppose that ALL the MARC field linked to koha-item are in the same MARC tag (on the same line of MARC file)

Note : it should not be hard for marcimport and marcexport to re-link fields from internal tag/subfield to "legal" tag/subfield.
2002-09-10 13:53:52 +00:00
finlayt
4867288671 changed the way Waiting items are transfered from returns.pl to Circ2.pm 2002-09-05 00:16:39 +00:00
finlayt
69c03f2194 Little bug fixes. 2002-09-04 22:51:39 +00:00
finlayt
f0244671c4 Bug fix in ReserveWaiting to make sure only the record found is marked waiting. 2002-09-04 22:31:06 +00:00
finlayt
4d9cb5162d rewrote CheckReserves so that it can be called with a barcode as well as on itemnumber. 2002-08-26 22:34:29 +00:00
finlayt
816520a4a1 Fixed up the display of bibitems, implemented some restrictions on which items can be reserved. 2002-08-22 02:31:58 +00:00
finlayt
eb78ea1a41 minor changes to comments etc.... 2002-08-21 02:45:30 +00:00
finlayt
98239184b7 Fixed a bug in the reordering priorities in FillReserve and andother different bug in CheckReserves. 2002-08-21 01:31:16 +00:00
finlayt
b195ac3625 removed the printreserve routine. It has been replaced by printslip. 2002-08-20 22:40:12 +00:00
finlayt
7eab6cbfda fixed up the CheckReserves.pm routine so that it does not put Referece items into "waiting" status if there is a reserve. Also fixed a bug in detail.pl. 2002-08-19 06:29:36 +00:00
finlayt
91fc634cdd Fixed a really terrible bug! Took out the fixpriorities call in FillReserve. This is not necesary because the priorities are fixed up when the item is set to waiting in ReserveWaiting. 2002-08-15 03:31:02 +00:00
finlayt
49e2aee04c Added some red color here into the message that appears when a waiting book is attempted to be issued. 2002-08-15 03:27:28 +00:00
rangi
6f9cbbda8a Fix for last borrower for the moredetail.pl page
sCVS:
2002-08-15 02:02:40 +00:00
tonnesen
1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
finlayt
7cb45abb40 added a check in the returnbook subroutine that checks to see if a book has been cancelled: i.e. that the wthdrawn field has been set to 1. 2002-08-14 05:37:07 +00:00
finlayt
3045d3aa12 Changed the ItemInfo method. if an items "itemlost" field is 2, the 'duedate' is set to "Very Overdue". If itemlost = 1, duedate is set to "Lost". 2002-07-31 01:50:06 +00:00
finlayt
c03d4f6f94 Fixxing bugs 2002-07-26 01:08:48 +00:00
finlayt
6eae239bb2 Changed FindReserves so that it gets biblioitem data if the reserve has a reserve constraint. 2002-07-25 21:41:10 +00:00
tipaul
0ae56dd011 pod documenting the API. 2002-07-25 13:40:31 +00:00
tipaul
9fb81afb85 Now, the API...
Database.pm and Output.pm are almost not modified (var test...)

Biblio.pm is almost completly rewritten.

WHAT DOES IT ??? ==> END of Hitchcock suspens

1st, it does... nothing...
Every old API should be there. So if MARC-stuff is not done, the behaviour is EXACTLY the same (if there is no added bug, of course). So, if you use normal acquisition, you won't find anything new neither on screen or old-DB tables ...

All old-API functions have been cloned. for example, the "newbiblio" sub, now has become :
* a "newbiblio" sub, with the same parameters. It just call a sub named OLDnewbiblio
* a "OLDnewbiblio" sub, which is a copy/paste of the previous newbiblio sub. Then, when you want to add the MARC-DB stuff, you can modify the newbiblio sub without modifying the OLDnewbiblio one. If we correct a bug in 1.2 in newbiblio, we can do the same in main branch by correcting OLDnewbiblio.
* The MARC stuff is usually done through a sub named MARCxxx where xxx is the same as OLDxxx. For example, newbiblio calls MARCnewbiblio. the MARCxxx subs use a MARC::Record as parameter.
The last thing to solve was to manage biblios through real MARC import : they must populate the old-db, but must populate the MARC-DB too, without loosing information (if we go from MARC::Record to old-data then back to MARC::Record, we loose A LOT OF ROWS). To do this, there are subs beginning by "ALLxxx" : they manage datas with MARC::Record datas. they call OLDxxx sub too (to populate old-DB), but MARCxxx subs too, with a complete MARC::Record ;-)

In Biblio.pm, there are some subs that permits to build a old-style record from a MARC::Record, and the opposite. There is also a sub finding a MARC-bibid from a old-biblionumber and the opposite too.
Note we have decided with steve that a old-biblio <=> a MARC-Biblio.
2002-07-24 16:11:37 +00:00
finlayt
55798ef08a commented out a warn or two... 2002-07-24 04:00:33 +00:00
finlayt
51e0e140c2 Fixed up the Print module. Added a function printslip that takes a string as an argument. It is easier to prepare the slip and then call the print function.
in circulation.pl I have moved some javascript out to the circulation-top.inc
2002-07-24 03:16:21 +00:00
finlayt
34aee13b95 fixed bug that kept asigning reserved books to the same person! 2002-07-24 03:01:17 +00:00
finlayt
4ec4fd9552 reactivated the printreserve method that is used to print a slip when a reserved book is returned. this is used in /circ/returns.pl 2002-07-23 03:32:42 +00:00
tonnesen
dd541749fb Missing bracket 2002-07-22 20:45:47 +00:00
tonnesen
b6f8a4a580 Cleaned up contents of location information 2002-07-11 05:48:01 +00:00
tonnesen
17388eccad Updates to authentications cripts. userpage.pl is the page for authenticated
users in the OPAC to set preferences, get personal information, etc.
2002-07-11 05:46:58 +00:00
tipaul
3c4ca5a444 *** empty log message *** 2002-07-10 13:58:43 +00:00
tonnesen
657685e1ac Auth.pm now caches form submissions and resubmits them if a user logs back in
after being logged out for inactivity.  Also switched from crypt passwords to
md5 passwords stored in borrowers table.  Used Digest::MD5 module.  I ain't
gonna reinvent _that_ wheel.  :)
2002-07-09 05:37:53 +00:00
tonnesen
e30b2ea968 use warnings breaks perl 5.005 2002-07-08 16:45:34 +00:00
tonnesen
1a43c68fe3 Cookie bug. 2002-07-05 20:33:23 +00:00
tonnesen
259a4873fb Auth.pm now checks the password againts a new field in the borrowers table
(password).   There is also a new "userid" field in the borrowers table.  When
a user logs in, the userid will be checked against the userid first and the
cardnumber second, so either method will work.
2002-07-05 19:56:35 +00:00
tonnesen
a66bcaa168 Minor changes to authentication routines. 2002-07-05 05:03:36 +00:00
tonnesen
bdee484019 Checks for a basic authentication userid. If found, it skips the cookie stuff.
Also now supports scripts that do not _require_ authentication, but might
display differently if they get an authenticated userid (might be useful for
opac pages, where pages could be tailored to meet a patron's preferences).
2002-07-04 21:22:21 +00:00
tonnesen
185adfbfe7 Additions to authentication scheme. Logs to /tmp/sessionlog. Will move this
to a db table.
2002-07-04 21:09:43 +00:00
tonnesen
62e0baa92a Minor changes 2002-07-04 19:42:48 +00:00
tonnesen
60a72c67fe Beginning of authentication api. Applied to shelves.pl for now as a test case. 2002-07-04 19:21:29 +00:00
tipaul
528f1b2b80 Long is the road to MARC..
Not related to MARC :
* removed HLT- empty link when no basket for a supplier (should be useful to copy this into rel-1-2 i think)
* fixed some "use of uninitialized value"
related to MARC
* changed use Acquisition to use Catalogue, new package for MARC management

For instance, nothing is done to MARC DB, but structure is modified (see Biblio.pm for details), and everything seems to work : it's still possible to use acqui, and it fills old-DB pretty good.

WARNING : if you work on main trunk, please note Acquisition.pm is NO MORE USED in /acqui/ system. Every sub in Acquisition.pm has been moved to Biblio.pm or Catalogue.pm.
2002-07-04 15:53:02 +00:00
tipaul
ec25ca4dfd bugfix from merging 2002-07-04 12:28:54 +00:00
tipaul
057fd6af5c merging 1.2 and main branches 2002-07-03 12:41:01 +00:00
tonnesen
17bb4d7343 Fixed bug in checkvalidisbn() 2002-07-03 03:18:50 +00:00
rangi
d6f9a61c7d Fixed so datelastseen is updated on the item record for every issue or return 2002-07-02 23:31:33 +00:00
tonnesen
68e13b2c78 Removed use warnings; which breaks perl 5.005 2002-07-02 20:49:44 +00:00
tonnesen
1a6b88483f module added from rel-1-2 branch 2002-07-02 20:31:33 +00:00
tonnesen
dcfb3b835c Merged SimpleMarc.pm over from rel-1-2 2002-07-02 20:30:15 +00:00
tonnesen
40bffc1f0e Merged in updates from rel-1-2 2002-07-02 17:48:06 +00:00
tipaul
004519edbc Merge from 1.2 and main branches 2002-07-02 15:46:42 +00:00
tipaul
33947ff039 merging 1-2 and main. 2002-06-28 08:53:51 +00:00
tonnesen
1ac576e81b removed "use warnings" 2002-06-24 21:54:44 +00:00
tipaul
3bee5b5743 * Acquisition synchronised with rel-1-2
* Update of biblio.pm and catalogue.pm that continuates MARC stuff. Lot of explanations at the beginning of Biblio.pm
2002-06-20 21:07:30 +00:00
tonnesen
d6e7293f76 Cosmetic change. Merged with rel-1-2 2002-06-20 20:43:26 +00:00
tonnesen
cceee9e230 Merged changes from rel-1-2 2002-06-20 20:41:21 +00:00
tonnesen
1929403b8f Merged with rel-1-2 copy 2002-06-20 20:31:01 +00:00
tonnesen
264b8f0093 Merged changes from rel-1-2 branch version 1.21.2.1, all fixes to warnings 2002-06-20 20:10:08 +00:00
tonnesen
6897cec04d Most of these merges are just removing unused parts of the perl modules. 2002-06-20 18:56:52 +00:00
tonnesen
d3af19dcb2 Are we getting sick of merging yet? Not me! 2002-06-20 18:04:45 +00:00
tonnesen
29b4d2d534 merges from rel-1-2. Starting to get a little longer now. Being very
careful.
2002-06-20 17:57:11 +00:00
tonnesen
cb7441a537 More merges in from rel-1-2
All of the changes so far have been minor.  I did uncomment delbiblio($biblio)
in delbiblio.pl in the main branch to match delbiblio.pl in rel-1-2
2002-06-20 17:33:07 +00:00
rangi
78c976aa0f issues printing issue slips again 2002-06-18 22:46:59 +00:00
tipaul
3d7df52b0d Going to MARC 1.4...
0- Requires MARC::Record from cpan to work

1- divided Catalogue.pm in 2 parts :
Biblio.pm ,that contains biblio management
Catalogue.pm, that contains acquisition management.
When ended, they will replace the Acquisition.pm package

2- Created MARCxxx functions :
* MARCgetbiblio : retrieves a MARC::Record from the bibid passed in parameter (working, see test.pl script)
* MARCaddbiblio : creates a MARC-DB entry, for a MARC::Record given as parameter. (working)
* MARCmodsubfield : modifies a subfield for a given subfieldid
* MARCfingsubfield : retrieves a subfieldvalue from a bibid/tag/subfield
* MARCaddsubfield : adds a subfield to biblio into the DB
* MARCkoha2marc : builds a MARC::Record, given a biblionumber, a biblioitemnumber and/or an itemnumber. (working).


TODO :
A lot ;-))))
For instance, you can create only a MARC-DB entry from a old-DB entry. Note some questions are still to solve around bibid (old-DB/MARC-DB)...
2002-06-14 16:47:33 +00:00
rangi
49e2b90a8b Fix to get list of overdue items showing correctly 2002-06-13 03:16:55 +00:00
tipaul
503066d538 MARC stuff : beginning to use MARC::Record package. 2002-06-10 20:49:54 +00:00
tipaul
56d4ac55a7 today stuff around marc. Will change soon as we will use MARC::record (see marcpm.sourceforge.net) 2002-06-06 16:23:36 +00:00
finlayt
c3820fa998 fixed bug http://bugzilla.katipo.co.nz/show_bug.cgi?id=1284
If an item doesnt have a holdingbranch it just shows blank instead of not appearing at all.
2002-06-06 04:15:18 +00:00
finlayt
89026ec754 Changed the issuebook routine to use the new methods from C4::Reserves2.pm 2002-06-06 02:48:53 +00:00
finlayt
0e69a3906e improved all the code so that priorities are reset properly. 2002-06-06 02:47:53 +00:00
tipaul
0595587f93 test.pl, contains a script to test the Catalogue.pm stuff.
Catalogue.pm : marc stuff :
* the 3 xxxSubfield functions works
* the addMarcBiblio function has been added : if you pass it a perlmarcstructure (sample in test.pl and explanation in marc/perlmarcstructure file), it adds a biblio to the marc_schema. The newbiblioitem (old koha-DB) still has to be updated to build the perlmarcstructure internally and call addMarcBiblio function.
2002-06-04 16:08:47 +00:00
tonnesen
02fc6654ec Started modifications to match new marc schema 2002-05-29 22:47:20 +00:00
finlayt
a6dd1bcf44 Changed the returnbook method to use CheckReserves instead of FindReserves. 2002-05-29 05:52:12 +00:00
finlayt
970081fb49 Some small changes in transferbook: uses the new Reserves2.pm methods. 2002-05-29 04:40:15 +00:00
finlayt
7d603978ed Added some subroutines.
All reserve activity should go through these.
CheckReserves (search on itemnumber),
CancelReserve (manages priorities correctly)
ReserveWaiting (sets a reserve record to waiting and sorts other priorities)
2002-05-29 04:39:12 +00:00
amillar
7ebbc8311d Added "lccn" and "marc" fields to newbiblioitem 2002-05-23 22:59:37 +00:00
truth_nz
cc840a7bfa Update to acqui.simple system. Hopefully this is a lot more user friendly.
Probably a few bug fixes to come still.
2002-05-22 18:35:25 +00:00
amillar
549677ee1b Fix typo in booksellerid field name 2002-05-21 06:19:48 +00:00
amillar
3b184ab85d Fix warning about use of undefined variable, found when endmenu
called from marcimport.pl
2002-05-21 06:15:41 +00:00
rangi
9775fedd9b Some minor changes to get detail.pl and moredetail.pl working nicely with
html::template
2002-05-21 01:17:44 +00:00
amillar
7c65ea04c5 Some cleanup, reformatting, fix some undeclared variables 2002-05-18 07:01:27 +00:00
tonnesen
86c0d5ce87 Few more changes... not much to look at yet, still wrapping my head around the
new schema
2002-05-16 23:08:05 +00:00
tonnesen
3437472f27 Starting rewrite of Catalogue.pm using Paul's new marc schema, and Alan's
koha-wide ban on $dbh->quote.  :)
2002-05-16 18:10:35 +00:00
truth_nz
cefb0bb2c1 Fixed a few warnings. 2002-05-15 04:08:38 +00:00
rangi
1e647ae716 Shifted picktemplate out into C4::Output.pm 2002-05-14 23:13:23 +00:00
rangi
171372a9d0 Made a wrapper function catalogsearch
This then chooses whether to call KeywordSearch, or CatSearch, or any other
searches.
2002-05-14 21:36:39 +00:00
tipaul
64a90aec93 * getallorders now returns only not fully recieved orders 2002-05-14 09:12:43 +00:00
truth_nz
bb8b344e40 Added code to allow deleting of biblioitems 2002-05-14 04:12:52 +00:00
tonnesen
b7ad145cfe Calculate itemcount in Search.pm if using new template based search interface 2002-05-13 23:07:47 +00:00
tipaul
c981ae9957 oops, removing 3 test lines... (ending by a die !) 2002-05-13 20:32:36 +00:00
tipaul
c7d01057b9 Bugfixes : removes some hard coded trailing dates in select... 2002-05-13 20:22:24 +00:00
truth_nz
da5071c2fd bug fix to actually save the changes made to an website biblioitem. 2002-05-13 00:45:46 +00:00
truth_nz
0747fb1fbb Changes to allow modifications to the website biblioitems
Changes to way that website biblioitems are shown on the details page
2002-05-12 18:08:17 +00:00
truth_nz
4915ed786c New files, and changes to add associated webstes to a biblio.
Adds a new table to database - so installer needs updating again.
2002-05-12 15:37:53 +00:00
rangi
05f7375ea9 Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
truth_nz
3e3b57dedf Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's
2002-05-09 01:07:36 +00:00
rangi
3d854d01ef Making the CatSearch and KeywordSearch return more sane returns
Returns an array of hashrefs now, rather than the array of tab separated
strings it was returning before.
2002-05-07 00:08:20 +00:00
rangi
c0fc669126 Removing keywordsearch2 (no longer used)
Fixing glitches in counting lost items.
In items
itemlost=1 item marked lost by a librarian
itemlost=2 item marked lost by kohas automatic this item is over 4 weeks
overdue routine.

To the borrowers (ie in the opac) they should just show as lost
2002-05-06 23:12:25 +00:00
finlayt
fe88c2a022 Removed the "Item has been transfered" message from the returnbook2
subroutine.
2002-05-06 04:36:42 +00:00
finlayt
ca7a9d7264 Changed the error message from: There is no book with barcode: XXXXXX
to: No item with barcode: XXXXXXX
2002-05-06 04:30:37 +00:00
truth_nz
073dc61c59 Bug fixes to get the new acqui.simple system working. 2002-05-03 02:47:33 +00:00
finlayt
9255f92b21 moredetail.pl presents circulation information taken from the
branchtransfers table

Circ2.pm has been changed a little

admin/branches.pl alows branches to be added, edited and deleted.

updatedatabase needs more fixing
2002-05-02 00:08:53 +00:00
rangi
8ea1f94eb7 Cleaning out all unused cruft.
C4Connect is the only function that was actually being used in this module
2002-04-30 09:21:03 +00:00
truth_nz
47c18cfcdc Modifications for new acqui.simple
Database includes new biblio abstract field and biblioitem url field
acqui/finishreceive.pl modified to use changed C4/Acquisitions.pm
2002-04-29 05:25:41 +00:00
finlayt
4ecb80c5f2 Fixed typo 2002-04-23 00:34:16 +00:00
finlayt
d239497209 fixed typo 2002-04-22 22:47:09 +00:00
rangi
9144d67850 Fixing bug reported by Steve,
Couldnt remove an additional Author when modifying a biblio
2002-04-21 06:33:32 +00:00
saas
ffc98bebe4 Correct spelling - aquisitions to acquisitions 2002-04-21 04:45:21 +00:00
pate
214257b1d8 starting to move ethnicity stuff out of programs and into modules 2002-04-17 21:35:53 +00:00
pate
2409d7fe90 moved ethnicity fixing out of moremember.pl into a function,
eventually to replace with a more configurable version (non-NZ specific)
2002-04-15 16:15:38 +00:00
truth_nz
e1d7a81197 Acquisitions::newbiblioitem updated to be usable for new acqui.simple
addorder.pl and updatebibitem.pl modified to use new newbiblioitem
2002-04-15 05:33:33 +00:00
rangi
b3375469e3 Fixing the subject search i broke ;) 2002-04-10 09:55:17 +00:00
rangi
132835283a Working on a fix to speed up title and author searches 2002-04-10 07:59:28 +00:00
truth_nz
51ee67d237 Altered newbiblio to be more generic - so can use with new acui.simple
scripts (which are not finished yet).
2002-04-10 05:49:17 +00:00
pate
0376493cd4 refactored slashifyDate function out of inline code, created C4/Koha.pm
to hold it and wrote tests for it, started marking other places for
potential refactoring.
2002-04-08 23:44:43 +00:00
rangi
3eecf2956e Deals with lost book charges now 2002-03-17 02:58:00 +00:00
finlayt
314e80a9e9 Added a transferbook subroutine that is called from /circ/branchtransfers.pl
It writes a new line in the branchtransfers table and changes the
currentbranch field in items.
2002-03-13 21:13:42 +00:00
rangi
c2eb80ce60 Tidy up, removing deprecated routines 2002-03-13 07:36:49 +00:00
rangi
204ff647f3 Getting Iteminfo in Search to only display correct reserves (mainly used on
detail.pl) and another typo fix in moremember.pl
2002-03-13 03:26:43 +00:00
rangi
5849a03b30 Fix so that reserves are only showing for the biblioitem not the biblio on
the moremembers screen
2002-03-13 02:03:56 +00:00
rangi
0b9ab3723f Fix for manual invoices 2002-03-11 03:36:41 +00:00
rangi
0f23c6e75d Fixed apostrophe ' handling 2002-02-26 09:31:14 +00:00
rangi
8e8455789f Making a "fix" to normal title search 2002-02-20 21:05:19 +00:00
rangi
bbb2008246 Playing with keyword search trying to speed it up more 2002-02-20 20:53:29 +00:00
rangi
4c20707e76 Fixing bug in subject searching that was causing subjects with ' to break
the search
2002-02-12 21:31:41 +00:00
rangi
a9f5a8b858 Fixing bug that was duplicating additional authors, and a bug that was
breaking the updating classicification field
2002-02-12 21:07:21 +00:00
rangi
1a3d705dab Added the facility to restrict a keyword search by dewey number 2001-12-12 02:31:28 +00:00
rangi
bb7b308682 Fixing error in keyword search (fixing my mistake from yesterday) 2001-11-27 02:01:39 +00:00
rangi
8ad078f97e Fixing a bug in keyword search was duplicating results 2001-11-26 04:33:42 +00:00
rangi
e21914e425 Added a findguarantor routine to search for the guarantor of a given borrower.
Probably it and findgurantees need to moved out to borrowers.pm
2001-11-26 00:41:34 +00:00
rangi
7a7465fe05 Author combined with Title search was not searching the series title field
Fixed now
2001-11-25 22:25:55 +00:00
rangi
79ebd030d6 Fixing reserve handling.
Mulitple copy reserves now handled correctly, and correct charges are being
applied
2001-11-25 20:17:53 +00:00
rangi
501cc61c85 Adding the facility to search on just dewey and class 2001-11-23 02:12:48 +00:00
tonnesen
0ac91af069 Working out problems with MARC record support. 2001-11-06 18:15:34 +00:00
tonnesen
07e2e3780a Minor cleanups. Needs testing. Starting to think about modifying
updatebiblio.pl to use this API.
2001-11-03 07:29:36 +00:00
tonnesen
aa97d73b39 Typo in printf format string was causing all issues to appear in the
Previous issues box and not in today's issues.
2001-10-10 19:28:05 +00:00
tonnesen
33ab2526f3 Changed search interface to allow searches on Illustrator. This is
apparently a common search in elementary school libraries.
2001-10-05 20:13:20 +00:00
tonnesen
1e2d6c40c3 Tested updateItem subroutine, made some better checks for Subfield_IDs and
Subfield_Keys when modifying MARC data based on changes to Koha data.
2001-09-27 20:39:59 +00:00
tonnesen
245d7a8adc Started on updateItem subroutine. 2001-09-27 19:24:18 +00:00
rangi
89cbfd3cd0 Fixing a glitch that was showing the biblio notes field where the
biblioitems notes should have been displaying
2001-09-10 23:37:09 +00:00
tonnesen
b179127d7c Finished updateBiblioItem subroutine 2001-06-26 22:27:12 +00:00
tonnesen
6269ad87bf newBiblio subroutine completed. 2001-06-26 21:13:01 +00:00
tonnesen
aab6b66555 Added biblioitems table update when newBiblioItem() routine is called. 2001-06-26 20:17:35 +00:00
tonnesen
3f3ae4cda2 Beginning updateBiblio routine. 2001-06-26 17:15:13 +00:00
tonnesen
6650354d23 Added skeletons of update routines. 2001-06-25 19:43:59 +00:00
tonnesen
58b7c86d13 Cataloguing API. Very early draft at this point. 2001-06-25 18:49:34 +00:00
rangi
c74ad16d2e Made a little change to allow the reading record to be sorted, and now
defaults to the last 50 items borrowed
2001-06-20 03:36:01 +00:00
rangi
2dc62d4bc4 More little bug fixes in the manual credits section 2001-05-15 23:05:43 +00:00
rangi
9eee24c9a2 Changed the way a lost book being returned is handled.
If the book has already been paid for a credit is added to their account.
And offset against any current charges
2001-05-09 23:29:00 +00:00
rangi
a254455342 Added facility to do a cash refund.
Also HLT allows ppl to work off their bill,so added a facility to do manual
credit for that
2001-05-09 23:22:10 +00:00
rangi
f72283e23f Renewing a rental or pay item from the borrowers record screen
Now adds a charge to the borrowers account
2001-05-09 00:05:57 +00:00
tonnesen
91ac7223f6 Steve Tonnesen's K12Admin-specific (for the time-being) group based
overdue reports.
2001-05-02 23:06:44 +00:00
tonnesen
3fd3b300c4 Added an overdue variable to the itemdata returned by the currentissues
subroutine.  This makes it easier to pick out overdue items in other
modules (ie circulation, reports, etc.)
2001-05-02 22:38:26 +00:00
rangi
4680c9e98a Fixed the code that adds a credit or wipes a lost book charge from a
borrowers account if said book is returned
2001-05-02 21:15:22 +00:00
rangi
462acc56e4 Added functions to add credits and invoices to borrowers account 2001-05-02 21:13:15 +00:00
rangi
8f0109b7c8 Fixed a bug in the return lost routine (when a payment is made on a lost item)
So that the correct date was being recorded
2001-05-01 23:24:50 +00:00
rangi
5f8d3937df Add functionality so that when the replacement cost of a lost item is paid
Its returned off the members/patrons card. And a note is placed on the item
saying that its been paid for.
The item stays marked as lost. But the patron does not accrue more fines
2001-04-18 02:51:18 +00:00
rangi
b2c9dabcf1 Making a change to the way charges are handled, the system originally worked such that if a borrower owed more than $5 issues werent allowed. This worked fine except that often borrowers wish to borrows say 3 pay videos at $2 each, then 2 books say. The three pay videos rack up charges of $6 and then they cant issue the books until that is paid.
Reworked so that it cares about previous charges, not the ones accrued during current issue process.
2001-04-03 21:32:37 +00:00
rangi
fb870fb2c8 Reworking statistics for payments and writeoffs 2001-04-02 22:51:26 +00:00
rangi
fe1fab2ab5 Reworked layout of issues section. 2001-03-28 02:23:03 +00:00
rangi
e295b51570 Modified the update stats routine to store borrowernumbers also
Passing borrowernumbers to update stats from Account routines
2001-03-27 21:43:37 +00:00
rangi
53f147a340 Added functionality to allow invalid itemtype to be fixed 2001-03-15 10:15:51 +00:00
rangi
4d35327d19 Got undeleting biblios going (catalogue maintenance should probably be in a
password protected super librarian area or the like)
2001-03-13 22:04:04 +00:00
rangi
6bd59eeef7 Little fix to the returnbook routine so the correct branchcode is passed to the updatestats routine 2001-02-18 22:13:26 +00:00
rangi
de38567887 Made some changes to checkreserve and find_reserves, so that items are always displayed as reserved when returned, not just once 2001-02-14 00:27:36 +00:00
tonnesen
401aada2ac Added header and log substition variables 2001-02-07 23:47:43 +00:00
tonnesen
1159649fe8 Start of code to implement virtual bookshelves in Koha. 2001-02-07 20:27:16 +00:00
tonnesen
0d4c0ffb84 loadmodules.pl allows redirection to different modules based on systemprefs
Added subroutine in Search.pm load systemprefs from new systempreferences
table in database.  Initial use is to allow using my simplified acquisitions
module in place of vendor-based acquisitions module.  Default is vendor-based
module.
2001-02-05 18:48:15 +00:00
tonnesen
ee184dc80b Added a couple of missing $dbh->disconnect lines that were logging errors
in apache log files.
2001-02-05 17:47:58 +00:00
rangi
3b07c5bf30 Fixing printing error, now is printing all of the days issues for borrower 2001-02-04 22:25:42 +00:00
rangi
cf3086c7da Attempting to get issues slip to print when borrower is finished with 2001-02-01 02:08:34 +00:00
rangi
74aa1d1edd Fixed a little bug in getiteminformation, it wasnt returning item loanlength 2001-01-31 22:09:31 +00:00
rangi
dea0fd150d Added a line to Ouput.pm to enable circulation to use its own includes
Changed the look of circulation.pl to the green/yellow colours

Note: Steve, i added another variable $backgroundimage that sets the background image for the main tables, so it should be straightforward to change the look back to the colours you had if you want to
2001-01-31 21:38:43 +00:00
tonnesen
f7953fecf3 Return itemlist array, and itemlisttext (text version of overdues) with
overdue flag in getpatroninformation()
2001-01-31 18:13:38 +00:00
tonnesen
ee5ba729f3 Returns module lists recently returned items, cookies used to store branch
and printer preferences.
2001-01-26 00:17:00 +00:00
tonnesen
d389b68e6d Refined Returns module.
Added ability to select branch and printer.
Fixed charges for rental items.
2001-01-25 00:01:34 +00:00
tonnesen
eaa9677292 Changes to web circulation module: rudimentary returns module, arbitrary
due date for issues, flag info displayed, overdue books are displayed in
red.
2001-01-23 23:48:54 +00:00
tonnesen
3186e690ce Fixed a bug in issuing reserved books. Was calling non-existent
printreserve subroutine
2001-01-23 00:12:49 +00:00
tonnesen
7c52cda9d6 Started work on a web-based circulation interface. 2001-01-22 23:48:41 +00:00
tonnesen
e6d86cdd17 Added support for showing patron flags in the issues module.
Moved popup message windows to a Toplevel widget instead of a message
widget.  Toplevel widgets come up much faster than message widgets.
2001-01-17 23:45:50 +00:00
rangi
e6fb400c7d Fixing a glitch in the fines routine, was failing if adding a new fine to
the same user for the same item
2001-01-16 23:34:29 +00:00
tonnesen
e16ba0cb0a API for circulation modules 2001-01-15 19:31:41 +00:00
tonnesen
8b421dd4cc Renamed koha.conf config entry from "path" to "includes", which is more
meaningful in the koha.conf file.
2001-01-05 17:47:20 +00:00
tonnesen
21b18bf675 Modified getbranch() and getprinter() subroutines to not pop up a menu if
there is only one branch or one printer, but just select the single option
automatically.
2001-01-05 17:39:25 +00:00
tonnesen
1c9ef0371f Added support for moving path=... variable to /etc/koha.conf 2001-01-05 16:30:45 +00:00
rangi
80a0cb638e Shifted Database connection variables out into a configuration file
The permissions on this config file should also be strict, since they contain
the database password.
At a minimum, the apache user needs to be able to read it, as well as any other user that runs circ.
I would suggest ownership of www-data.libadmins with no access to others.
libadmins contain all users that use circ

destined for v1.08
2000-12-21 19:56:43 +00:00
rangi
d0374d0037 Initial revision 2000-12-19 23:45:51 +00:00