evergreen/bjwebb.git
14 years agoHave Patron Merge interface honor horizontal patron summary setting
phasefx [Thu, 15 Apr 2010 15:38:41 +0000 (15:38 +0000)]
Have Patron Merge interface honor horizontal patron summary setting

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16241 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agocirc.holds.clear_shelf.no_capture_holds is not used. removing
erickson [Thu, 15 Apr 2010 14:21:15 +0000 (14:21 +0000)]
circ.holds.clear_shelf.no_capture_holds is not used.  removing

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16240 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: unified search UI bugfix - timestamp searches were broken
senator [Wed, 14 Apr 2010 21:40:50 +0000 (21:40 +0000)]
Acq: unified search UI bugfix - timestamp searches were broken

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16239 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoorg unit setting for suppressing alerts/popups during checkin--will indicate these...
phasefx [Wed, 14 Apr 2010 18:48:15 +0000 (18:48 +0000)]
org unit setting for suppressing alerts/popups during checkin--will indicate these events some other way if true.  Commiting now so as to not tie up upgrade_log

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16237 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoRework clear_hold_shelf process so that it looks for eligible holds for the cleared...
phasefx [Wed, 14 Apr 2010 16:22:50 +0000 (16:22 +0000)]
Rework clear_hold_shelf process so that it looks for eligible holds for the cleared copies after the transaction updating the existing holds and copies has committed.  Also fixed the copy_status test so that Available works as a value for circ.holds.clear_shelf.copy_status

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16236 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: fixing bug introduced in 16230
senator [Wed, 14 Apr 2010 13:42:35 +0000 (13:42 +0000)]
Acq: fixing bug introduced in 16230

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16235 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: add search-by-file-of-terms to unified search
senator [Tue, 13 Apr 2010 20:17:55 +0000 (20:17 +0000)]
Acq: add search-by-file-of-terms to unified search

This feature was present in the now deprecated lineitem search interface.
It works, but it is severely limited at the moment in the number of search
terms you can use, because search queries are made into URIs before the
search actually happens (in order to make backing up to old search results
possible), and at a certain point, very large URIs become infeasible.

Some adjustments to how search history is made naviagable may be in order.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16230 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agotweaks to <help> widget to support non-chrome help content with chrome <help> widgets...
phasefx [Tue, 13 Apr 2010 18:02:25 +0000 (18:02 +0000)]
tweaks to <help> widget to support non-chrome help content with chrome <help> widgets, and wiring it up into a generic Help button for embedded browser based interfaces

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16229 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoReworking the <help> widget to add more hooks for localized/custom content, and a...
phasefx [Tue, 13 Apr 2010 16:19:12 +0000 (16:19 +0000)]
Reworking the <help> widget to add more hooks for localized/custom content, and a @pathname attribute for overriding the location.pathname value used to derive URL's for content.

Current behavior:

This widget will try to load help content from various static and dynamic URL's, stopping at the
first one that it finds.  Given an example location.href of '/xul/server/patron/display.xul' and
a @src of 'foo.html', it will check these URL's in this order:

    foo.html
    /xul/server/patron/display.xul.custom_help.html
    /xul/server/patron/display.xul.help.html
    /xul/server/patron/custom_help.html
    /xul/server/patron/help.html
    /xul/server/custom_help.html
    /xul/server/help.html
    /xul/custom_help.html
    /xul/help.html
    /custom_help.html
    /help.html

If @pathname is specified, it will override the value from location.href

The idea is that *custom_help.html files will never be stock.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16228 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoplugged in some required fields for invoicing and fund create dialog as proof of...
erickson [Tue, 13 Apr 2010 16:18:01 +0000 (16:18 +0000)]
plugged in some required fields for invoicing and fund create dialog as proof of concept (and because it's needed)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16227 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agodijits that are marked as 'required' will show render with the invalid dijit styling...
erickson [Tue, 13 Apr 2010 16:18:00 +0000 (16:18 +0000)]
dijits that are marked as 'required' will show render with the invalid dijit styling when no data is present during page render.  The previous behavior was to only style the invalid widgets after the user had focused the widget and left invalid data in the widget.  this way users can see at page load if a field is required

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16226 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agomoved money summary boxes to regular in-markup dijits
erickson [Tue, 13 Apr 2010 16:17:59 +0000 (16:17 +0000)]
moved money summary boxes to regular in-markup dijits

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16225 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadded a balance owed column to invoice UI
erickson [Tue, 13 Apr 2010 15:18:12 +0000 (15:18 +0000)]
added a balance owed column to invoice UI

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16224 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadded pcrud perms for invoice payment method
erickson [Tue, 13 Apr 2010 14:07:06 +0000 (14:07 +0000)]
added pcrud perms for invoice payment method

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16223 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agouse oilsBasePath consistently for relative url support
erickson [Tue, 13 Apr 2010 13:59:29 +0000 (13:59 +0000)]
use oilsBasePath consistently for relative url support

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16222 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoopen-ils.actor.user.retrieve.parts -- default to logged in user when no id is provided
erickson [Tue, 13 Apr 2010 00:53:31 +0000 (00:53 +0000)]
open-ils.actor.user.retrieve.parts -- default to logged in user when no id is provided

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16221 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoXBL for a <help> widget. It will try to load help content from various static and...
phasefx [Mon, 12 Apr 2010 21:40:54 +0000 (21:40 +0000)]
XBL for a <help> widget.  It will try to load help content from various static and dynamic URL's, stopping
at the first one that it finds.  If for example, I were to add this to /xul/server/patron/display.xul:

    <help id="bar" src="foo.html" />

We would get a "Help" button that if clicked would then it would test these locations:

    foo.html (if @foo not set, then custom_help.html)
    /xul/server/patron/display.xul.help.html
    /xul/server/patron/help.html
    /xul/server/help.html
    /xul/help.html
    /help.html

and since @id is defined, it would also tack on ?id=bar (for log tracking and/or dynamic use by the content).

It will open the location in a non-modal pop-up window.  Navigation buttons not included.

MAYBE TODO:
    Add an @anchor for dynamically appending a hash component to each URL tested.
    Implement a browser with Back/Forward/Search/Index functionality.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16220 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoverify thaw date exists before attempting to iso-string-ify it, otherwise dojo dies
erickson [Mon, 12 Apr 2010 19:12:24 +0000 (19:12 +0000)]
verify thaw date exists before attempting to iso-string-ify it, otherwise dojo dies

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16217 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoenabled paging for provider invoices tab, fixed some related data order_by defs to...
erickson [Mon, 12 Apr 2010 18:59:37 +0000 (18:59 +0000)]
enabled paging for provider invoices tab, fixed some related data order_by defs to be more useful in the provider detail page

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16216 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoUpdate copyright statement to current year; include "and others" to be more accurate
dbs [Mon, 12 Apr 2010 18:21:34 +0000 (18:21 +0000)]
Update copyright statement to current year; include "and others" to be more accurate

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16213 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoTurn "next page" / "previous page" symbols into entities
dbs [Mon, 12 Apr 2010 18:06:07 +0000 (18:06 +0000)]
Turn "next page" / "previous page" symbols into entities
Makes it easier for sites to customize this aspect of the look and feel of their skins if they support multiple languages.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16211 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: Add a pane to show related invoices on provider interface
senator [Mon, 12 Apr 2010 17:26:37 +0000 (17:26 +0000)]
Acq: Add a pane to show related invoices on provider interface

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16210 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agovar name typo w/ last commit, fixed
erickson [Mon, 12 Apr 2010 15:08:20 +0000 (15:08 +0000)]
var name typo w/ last commit, fixed

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16207 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from Galen Charlton:
miker [Mon, 12 Apr 2010 15:00:29 +0000 (15:00 +0000)]
Patch from Galen Charlton:

This patch adds additional calls to escape_xml to handle cases where patron or library data could contain ampersand or other characters that need to be converted to entities.  Issue discovered by Bibliomation; patch includes contributions by Ben Ostrowsky.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16204 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agosome <permacrud> permission cleanup
miker [Mon, 12 Apr 2010 14:52:22 +0000 (14:52 +0000)]
some <permacrud> permission cleanup

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16203 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadded a total-estimated value to the PO view. format prices with 2 decimals in PO...
erickson [Mon, 12 Apr 2010 14:50:09 +0000 (14:50 +0000)]
added a total-estimated value to the PO view.  format prices with 2 decimals in PO summary

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16202 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agow/ in-db circ, if patron permit fails with 'no_item', continue on if this is a noncat...
erickson [Mon, 12 Apr 2010 14:20:56 +0000 (14:20 +0000)]
w/ in-db circ, if patron permit fails with 'no_item', continue on if this is a noncat checkout

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16201 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agomove a couple of heavily hit calls from open-ils.storage to open-ils.cstore. removed...
erickson [Mon, 12 Apr 2010 13:53:10 +0000 (13:53 +0000)]
move a couple of heavily hit calls from open-ils.storage to open-ils.cstore.  removed now-unnecessary xact begin/rollback (handled w/ authoritative via CStoreEditor)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16200 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoRestore the ability to set the maximum flesh depth by an entry
scottmk [Mon, 12 Apr 2010 13:07:56 +0000 (13:07 +0000)]
Restore the ability to set the maximum flesh depth by an entry
in the configuration file.  This ability was inadvertently
eliminated in the previous commit.

M    Open-ILS/include/openils/oils_sql.h
M    Open-ILS/src/c-apps/oils_pcrud.c
M    Open-ILS/src/c-apps/oils_rstore.c
M    Open-ILS/src/c-apps/oils_cstore.c
M    Open-ILS/src/c-apps/oils_sql.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16199 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: Improved invoice-linking and -viewing features in LI, PO interfaces
senator [Fri, 9 Apr 2010 20:27:50 +0000 (20:27 +0000)]
Acq: Improved invoice-linking and -viewing features in LI, PO interfaces

Additional miscellany: removed menu entries for deprecated lineitem search
interface, added uniqueness constraint around (provider, inv_ident) on the
acq.invoice table, and made subtle improvements to unified search interface

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16197 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofixed bug in save+prorate action (passing null ID)
erickson [Fri, 9 Apr 2010 18:35:04 +0000 (18:35 +0000)]
fixed bug in save+prorate action (passing null ID)
changed default currency textbox width
removed stub number from view invoices link

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16196 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoapi: some sanity checks
erickson [Fri, 9 Apr 2010 18:35:03 +0000 (18:35 +0000)]
api: some sanity checks

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16195 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadd id_list flag to the options hash of the search method in openils.PermaCrud
miker [Fri, 9 Apr 2010 13:57:03 +0000 (13:57 +0000)]
add id_list flag to the options hash of the search method in openils.PermaCrud

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16194 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agowhen amount paid exceeds amount billed, disable save/prorate buttons and style the...
erickson [Fri, 9 Apr 2010 13:48:48 +0000 (13:48 +0000)]
when amount paid exceeds amount billed, disable save/prorate buttons and style the amount paid box.  if either paid/billed are < 0, style their respective boxes

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16193 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoplugged in amount paid columns and new total column for amount paid
erickson [Fri, 9 Apr 2010 13:00:13 +0000 (13:00 +0000)]
plugged in amount paid columns and new total column for amount paid
added some confirm dialogs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16192 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agomoved entry and item updating into the main
erickson [Fri, 9 Apr 2010 13:00:12 +0000 (13:00 +0000)]
moved entry and item updating into the main
CUD call for consistency.
making use of amount_paid
remove .process call in favor of a specific prorate call
prorate the cost billed as well

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16191 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agothrow away single ampersand and pipe
miker [Fri, 9 Apr 2010 02:16:56 +0000 (02:16 +0000)]
throw away single ampersand and pipe

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16188 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd audit tables for acq.invoice, acq.invoice_item, and acq.invoice_entry.
scottmk [Fri, 9 Apr 2010 02:08:47 +0000 (02:08 +0000)]
Add audit tables for acq.invoice, acq.invoice_item, and acq.invoice_entry.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
M    Open-ILS/src/sql/Pg/901.audit-tables.sql
A    Open-ILS/src/sql/Pg/upgrade/0232.schema.audit-invoice.sql

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16187 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdding amount_paid columns to acq.invoice_item, acq.invoice_entry.
scottmk [Thu, 8 Apr 2010 23:57:34 +0000 (23:57 +0000)]
Adding amount_paid columns to acq.invoice_item, acq.invoice_entry.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0231.schema.acq-inv-amt-paid.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16186 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoWire up the Clear Shelf functionality into the Hold Shelf Browser.
phasefx [Thu, 8 Apr 2010 21:51:21 +0000 (21:51 +0000)]
Wire up the Clear Shelf functionality into the Hold Shelf Browser.

The button for this enables when the View Expired On-Shelf Holds checkbox is activated.  The Clear Shelf process will cancel these holds, optionally set the status for the affected items according to an org unit setting,  and report back the needed actions for the affected items.

TODO: the ML clear_shelf_process method needs fixing where it's jumping to storage within a transaction

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16183 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoTweak the descriptions for the on-shelf holds retrieval methods, and add a variant...
phasefx [Thu, 8 Apr 2010 21:50:20 +0000 (21:50 +0000)]
Tweak the descriptions for the on-shelf holds retrieval methods, and add a variant that filters to shelf-expired holds.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16182 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agotypo in clear_shelf_process method
phasefx [Thu, 8 Apr 2010 21:50:13 +0000 (21:50 +0000)]
typo in clear_shelf_process method

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16181 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix bug where Filter checkbox stickiness from cataloging's View Holds was trampling...
phasefx [Thu, 8 Apr 2010 21:50:09 +0000 (21:50 +0000)]
fix bug where Filter checkbox stickiness from cataloging's View Holds was trampling over Browse Hold Shelf's invisible use of the widget

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16180 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd three columns to acq.invoice, plus a
scottmk [Thu, 8 Apr 2010 21:06:31 +0000 (21:06 +0000)]
Add three columns to acq.invoice, plus a
new table acq.invoice_payment_method.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0230.schema.acq-inv-pmt-method.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16179 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: you can now back up to old search results
senator [Thu, 8 Apr 2010 20:58:50 +0000 (20:58 +0000)]
Acq: you can now back up to old search results

This works by changing what actually happens when you click "Search."
Instead of running your search instantly, the search interface turns your
search into URL parameters and redirects you.  This way you get a new entry
in your browser history (much as if you were doing a non-AJAX search).

When the search interface is run with these URL paramters, it actually runs
the search and shows you the results.  This has the added benefit of
allowing other interfaces to link to prepopulated searches, and potentially
giving users a way to save searches in the future.

Incidentally also added "new invoice" menu item.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16178 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoimplemented invoice processing to updating encumbered funds (for invoice_entry's...
erickson [Thu, 8 Apr 2010 16:45:44 +0000 (16:45 +0000)]
implemented invoice processing to updating encumbered funds (for invoice_entry's) and  ad-hoc charges, and prorating fees/taxes, etc. (aka invoice_items)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16174 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agomore fleshing options in PO retrieval
erickson [Thu, 8 Apr 2010 16:45:43 +0000 (16:45 +0000)]
more fleshing options in PO retrieval

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16173 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoshow more lineitem data in the invoice title list
erickson [Thu, 8 Apr 2010 16:45:42 +0000 (16:45 +0000)]
show more lineitem data in the invoice title list
plugged in invoice process call.
equalized some fleshing on the po fetch side

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16172 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoflesh lids and fund debits in invoice retrieve
erickson [Thu, 8 Apr 2010 16:45:41 +0000 (16:45 +0000)]
flesh lids and fund debits in invoice retrieve

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16171 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadd fiscal_calendar field to actor.org_unit in old CDBI definition
miker [Thu, 8 Apr 2010 15:41:48 +0000 (15:41 +0000)]
add fiscal_calendar field to actor.org_unit in old CDBI definition

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16170 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoSplit the cstore servers into several pieces.
scottmk [Thu, 8 Apr 2010 13:53:47 +0000 (13:53 +0000)]
Split the cstore servers into several pieces.

Most of the machinery is now in a single module, oils_sql.c, shared
by all three servers, and available to other programs as well
through the new header oils_sql.h.

The three different servers -- pcrud, cstore, and reporter-store --
are now in separate modules, whose differences are built-in rather than
controlled by conditional compilation.  The original file, oils_cstore.c,
now implements only the cstore server.  The other two are now
implemented by oils_rstore.c and oils_pcrud.c.

The test_json_query program now calls functions from oils_sql.c instead
of from oils_cstore.c.

This restructuring required changes to configure.ac and to
Makefile.am in order to regenerate the Makefile appropriately.

M    configure.ac
A    Open-ILS/include/openils/oils_sql.h
A    Open-ILS/src/c-apps/oils_pcrud.c
A    Open-ILS/src/c-apps/oils_rstore.c
M    Open-ILS/src/c-apps/oils_cstore.c
A    Open-ILS/src/c-apps/oils_sql.c
M    Open-ILS/src/c-apps/Makefile.am
M    Open-ILS/src/c-apps/test_json_query.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16168 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: unified search: add before/after searching for timestamp fields
senator [Thu, 8 Apr 2010 13:29:06 +0000 (13:29 +0000)]
Acq: unified search: add before/after searching for timestamp fields

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16167 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoimplemented create/save logic
erickson [Wed, 7 Apr 2010 21:42:38 +0000 (21:42 +0000)]
implemented create/save logic
Show PO link for newly attached lineitems
use autofieldwidget everywhere
implemented item/entry delete/detach.
fixed total cost widget
using new invoice_item.fund field.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16165 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoconsolidated invoice attach and create API call into a single cud call
erickson [Wed, 7 Apr 2010 21:42:37 +0000 (21:42 +0000)]
consolidated invoice attach and create API call into a single cud call
initial invoice process call to create/update the associated debits
added keep_li_marc option, otherwise strip the marc and just return
li attrs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16164 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: make invoices searchable with unified search interface
senator [Wed, 7 Apr 2010 21:24:25 +0000 (21:24 +0000)]
Acq: make invoices searchable with unified search interface

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16163 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoIDL: added virtual link from lineitem to invoice entries
erickson [Wed, 7 Apr 2010 20:14:56 +0000 (20:14 +0000)]
IDL: added virtual link from lineitem to invoice entries

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16161 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd fund column to acq.invoice_item.
scottmk [Wed, 7 Apr 2010 19:40:36 +0000 (19:40 +0000)]
Add fund column to acq.invoice_item.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0229.schema.acq-inv-item-fund.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16160 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: in acquistions unified search, make timestamp fields searchable
senator [Wed, 7 Apr 2010 19:36:51 +0000 (19:36 +0000)]
Acq: in acquistions unified search, make timestamp fields searchable

Even if only at whole-day precision

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16159 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix Admin->For Developers->Fieldmapper; global.css is mandatory for <messagecatalog...
phasefx [Wed, 7 Apr 2010 18:16:54 +0000 (18:16 +0000)]
fix Admin->For Developers->Fieldmapper; global.css is mandatory for <messagecatalog>.  The fieldmapper method here is dangerous, however, and can exhaust memory

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16158 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoLog more actions for Admin -> Local Administration -> Work Log
phasefx [Wed, 7 Apr 2010 18:15:52 +0000 (18:15 +0000)]
Log more actions for Admin -> Local Administration -> Work Log

* work log entries for checkin attempts
* tweaked wording to be more truthful
* work log entries for patron edit and registration

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16157 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: fix a problem when searching by user-linked fields
senator [Wed, 7 Apr 2010 15:09:50 +0000 (15:09 +0000)]
Acq: fix a problem when searching by user-linked fields

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16156 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agosafer still metarecord constituent type/form matching
miker [Wed, 7 Apr 2010 14:55:14 +0000 (14:55 +0000)]
safer still metarecord constituent type/form matching

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16155 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoMore Invoice UI work. This covers:
erickson [Wed, 7 Apr 2010 14:52:12 +0000 (14:52 +0000)]
More Invoice UI work.  This covers:
New view interface
Creating new invoices directly in the view UI
Creating invices from PO/LI
Attaching PO/LI data to an existing invoice
UI for handling of prorated item types
Support for creating a new invoice fromt the po view page

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16154 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd boolean column "prorate" to acq.invoice_item_type.
scottmk [Wed, 7 Apr 2010 14:35:09 +0000 (14:35 +0000)]
Add boolean column "prorate" to acq.invoice_item_type.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0228.schema.acq-invoice-item-type-prorate.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16153 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoimprove metarecord constituent type/form matching
miker [Wed, 7 Apr 2010 14:08:43 +0000 (14:08 +0000)]
improve metarecord constituent type/form matching

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16152 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agothis snunk in. should not have
miker [Wed, 7 Apr 2010 07:11:23 +0000 (07:11 +0000)]
this snunk in. should not have

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16151 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agostored proc param ordering
miker [Wed, 7 Apr 2010 07:10:11 +0000 (07:10 +0000)]
stored proc param ordering

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16150 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoforward port of r16146: proper support for in-db renewal of precats
miker [Wed, 7 Apr 2010 03:24:20 +0000 (03:24 +0000)]
forward port of r16146: proper support for in-db renewal of precats

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16148 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: bug fix. Thinko let to unintended search term negation in unified search.
senator [Tue, 6 Apr 2010 19:19:55 +0000 (19:19 +0000)]
Acq: bug fix. Thinko let to unintended search term negation in unified search.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16144 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoflesh fund debit in the default invoice fleshing in invoice fetching method
erickson [Tue, 6 Apr 2010 18:23:29 +0000 (18:23 +0000)]
flesh fund debit in the default invoice fleshing in invoice fetching method

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16143 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadded entries and items virtaul fields off of invoice. more column name repairs
erickson [Tue, 6 Apr 2010 18:20:04 +0000 (18:20 +0000)]
added entries and items virtaul fields off of invoice.  more column name repairs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16142 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agomove the browser progress meter next to the network progress meter and provide a...
phasefx [Tue, 6 Apr 2010 16:47:24 +0000 (16:47 +0000)]
move the browser progress meter next to the network progress meter and provide a toggle in the Admin menu.  The org unit setting isn't wired up in trunk, but that's probably a good thing.  still experimental

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16141 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAcq: unified search interface for LI, PO, and PL. Usable but not 100% finished
senator [Tue, 6 Apr 2010 16:40:33 +0000 (16:40 +0000)]
Acq: unified search interface for LI, PO, and PL. Usable but not 100% finished

Still to come:
    Paging results (very important with large result sets)
    Searchable timestamp fields (those don't work yet)
    Search terms interpreted from URI (to enable returning to search later)
    Misc PO and PL controls to enable acting on search results
    ** Bib record searching

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16140 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoSome polish for Item Details/Quick Summary tab (the Alternate View in Item Status)
phasefx [Tue, 6 Apr 2010 15:33:17 +0000 (15:33 +0000)]
Some polish for Item Details/Quick Summary tab (the Alternate View in Item Status)

* localize more bools
* disambiguate Copy Status, Transit Copy Status, and Hold Status.  Flesh copy statuses for display and provide a tooltip for Holdable/OPAC visible
* textual labels for fine_level and loan_duration
* show the Fine Level
* fix display of circ modifier and reference flag
* Removed Hold Shelf Location and Rolling Counter for now since those aren't implemented yet (left in the DTD entities, however)
* display Circulate flag
* remove some old commented out code
* flesh and render the call number
* fix display of Remaining Renewals
* Use open-ils.circ.renewal_chain.retrieve_by_circ.summary for simpler rendering of Checkout Workstation with circ chains

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16139 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoMoved lineitem actions into drop-down widget to prevent horizontal crowding
erickson [Tue, 6 Apr 2010 14:10:52 +0000 (14:10 +0000)]
Moved lineitem actions into drop-down widget to prevent horizontal crowding

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16138 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agomerging MR holds topic branch
miker [Mon, 5 Apr 2010 20:23:54 +0000 (20:23 +0000)]
merging MR holds topic branch

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16137 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoUI for creating a new invoice and attaching a lineitem.
erickson [Mon, 5 Apr 2010 18:58:48 +0000 (18:58 +0000)]
UI for creating a new invoice and attaching a lineitem.
Stub invoice viewing interface

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16136 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoprovided ability to append the table rows from one edit pane to an existing table...
erickson [Mon, 5 Apr 2010 18:58:47 +0000 (18:58 +0000)]
provided ability to append the table rows from one edit pane to an existing table.  this is useful for inserting edit panes for different objects into a single, consistently formatted table

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16135 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agorepaired some mis-named fields; added an ADMIN_* version of invoice method pcrud...
erickson [Mon, 5 Apr 2010 18:58:46 +0000 (18:58 +0000)]
repaired some mis-named fields; added an ADMIN_* version of invoice method pcrud perms

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16134 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoinitial invoice sub-module
erickson [Mon, 5 Apr 2010 18:58:45 +0000 (18:58 +0000)]
initial invoice sub-module

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16133 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadded ability to flesh PO and PL in lineitem retrieve
erickson [Mon, 5 Apr 2010 18:58:44 +0000 (18:58 +0000)]
added ability to flesh PO and PL in lineitem retrieve

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16132 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agobe smarter about holdings fleshing, particularly where only URIs are requested
miker [Mon, 5 Apr 2010 04:14:03 +0000 (04:14 +0000)]
be smarter about holdings fleshing, particularly where only URIs are requested

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16131 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agostumbled upon an incorrect sequence
miker [Mon, 5 Apr 2010 03:42:15 +0000 (03:42 +0000)]
stumbled upon an incorrect sequence

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16130 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agobetter regexp with new paging functionallity
miker [Mon, 5 Apr 2010 00:18:07 +0000 (00:18 +0000)]
better regexp with new paging functionallity

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16127 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoremoved call to removed function
erickson [Sun, 4 Apr 2010 16:18:16 +0000 (16:18 +0000)]
removed call to removed function

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16124 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoin related viewer mode, go ahead and show the li attrs in the detail page since we...
erickson [Sun, 4 Apr 2010 16:18:15 +0000 (16:18 +0000)]
in related viewer mode, go ahead and show the li attrs in the detail page since we're using the bib-level attrs for the summary display

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16123 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadd embedded holdings paging support to biblio-record_entry type unAPI tag URIs ...
miker [Sun, 4 Apr 2010 05:19:03 +0000 (05:19 +0000)]
add embedded holdings paging support to biblio-record_entry type unAPI tag URIs -- also works for holdings_xml format directly -- and teach the local call number BibTemplate opac slot how to use this (show first 10 local call numbers, instead of all of them)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16122 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadd metarecord support to BibTemplate
miker [Sun, 4 Apr 2010 01:01:08 +0000 (01:01 +0000)]
add metarecord support to BibTemplate

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16120 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agorelated items now returns LI's that may be attached to a selection lists only (no po)
erickson [Sat, 3 Apr 2010 20:46:54 +0000 (20:46 +0000)]
related items now returns LI's that may be attached to a selection lists only (no po)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16119 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agode-dupe li ids in picklist li fetcher. if an LI has multiple attrs for the sort...
erickson [Sat, 3 Apr 2010 20:46:54 +0000 (20:46 +0000)]
de-dupe li ids in picklist li fetcher.  if an LI has multiple attrs for the sort field, the join collects 1 row per attr, resulting in duplicate attrs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16118 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdded a "View / Place Orders" option to the exta actions drop-down for a
erickson [Sat, 3 Apr 2010 20:46:53 +0000 (20:46 +0000)]
Added a "View / Place Orders" option to the exta actions drop-down for a
bib record in the OPAC.  Lineitem related LI's page can now take a
bib ID as the param (instead of lineitem).  For consistency, show
title, author, etc. from the catalog record (via BibTemplate) instead
of the selected lineitem.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16117 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agopatch from Ben Ostrowski to address a i18n-affecting typo in stock group creation
miker [Sat, 3 Apr 2010 14:13:51 +0000 (14:13 +0000)]
patch from Ben Ostrowski to address a i18n-affecting typo in stock group creation

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16116 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoCreate a separate function for adding datatype information
scottmk [Sat, 3 Apr 2010 05:48:39 +0000 (05:48 +0000)]
Create a separate function for adding datatype information
from the database to the IDL information.  That way we can
call it in other contexts, e.g. the forthcoming
query set server.

M    Open-ILS/src/c-apps/oils_cstore.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16115 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoReplace almost all remaining reference to the MODULENAME macro
scottmk [Sat, 3 Apr 2010 03:16:35 +0000 (03:16 +0000)]
Replace almost all remaining reference to the MODULENAME macro
with references to a corresponding variable name.

This change is part of a project to split up the oils_cstore module
into an interface module (consisting mostly of osrfAppChildInit(),
osrfAppInitialize(), and osrfAppChildExit()) and an implementation
module (consisting of pretty much everything else).  The implementation
module will then be available for reuse in other contexts.

M    Open-ILS/src/c-apps/oils_cstore.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16114 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoflesh the copy location and set a tooltip for its flags
phasefx [Fri, 2 Apr 2010 20:21:21 +0000 (20:21 +0000)]
flesh the copy location and set a tooltip for its flags

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16113 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agolocalized bool values for display
phasefx [Fri, 2 Apr 2010 20:21:20 +0000 (20:21 +0000)]
localized bool values for display

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16112 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agodisplay the shortnames for orgs in the Item Details interface (and set the full names...
phasefx [Fri, 2 Apr 2010 20:21:20 +0000 (20:21 +0000)]
display the shortnames for orgs in the Item Details interface (and set the full names as tooltips)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16111 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agotypo
phasefx [Fri, 2 Apr 2010 20:21:19 +0000 (20:21 +0000)]
typo

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16110 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agolocalized date/time values for Item Details interface
phasefx [Fri, 2 Apr 2010 20:21:18 +0000 (20:21 +0000)]
localized date/time values for Item Details interface

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16109 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoReduce dispatchCRUDMethod() to little more than a case structure,
scottmk [Fri, 2 Apr 2010 18:50:19 +0000 (18:50 +0000)]
Reduce dispatchCRUDMethod() to little more than a case structure,
which delegates all work to other functions (instead of doing some
of the work itself).  Besides making the code arguably tidier, this
change will make it easier to isolate much of the logic to a separate
module.

M    Open-ILS/src/c-apps/oils_cstore.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16108 dcc99617-32d9-48b4-a31d-7c20da2025e4