[open-ils-commits] r16227 - in trunk/Open-ILS/web: js/ui/default/acq/invoice templates/default/acq/financial (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 13 12:18:04 EDT 2010
Author: erickson
Date: 2010-04-13 12:18:01 -0400 (Tue, 13 Apr 2010)
New Revision: 16227
Modified:
trunk/Open-ILS/web/js/ui/default/acq/invoice/common.js
trunk/Open-ILS/web/templates/default/acq/financial/list_funds.tt2
Log:
plugged in some required fields for invoicing and fund create dialog as proof of concept (and because it's needed)
Modified: trunk/Open-ILS/web/js/ui/default/acq/invoice/common.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/invoice/common.js 2010-04-13 16:18:00 UTC (rev 16226)
+++ trunk/Open-ILS/web/js/ui/default/acq/invoice/common.js 2010-04-13 16:18:01 UTC (rev 16227)
@@ -24,6 +24,12 @@
mode : (inv) ? 'edit' : 'create',
hideActionButtons : true,
overrideWidgetArgs : override,
+ requiredFields : [
+ 'inv_ident',
+ 'recv_date',
+ 'provider',
+ 'shipper'
+ ],
fieldOrder : [
'inv_ident',
'recv_date',
Modified: trunk/Open-ILS/web/templates/default/acq/financial/list_funds.tt2
===================================================================
--- trunk/Open-ILS/web/templates/default/acq/financial/list_funds.tt2 2010-04-13 16:18:00 UTC (rev 16226)
+++ trunk/Open-ILS/web/templates/default/acq/financial/list_funds.tt2 2010-04-13 16:18:01 UTC (rev 16227)
@@ -137,6 +137,7 @@
autoHeight='true'
dojoType="openils.widget.AutoGrid"
fieldOrder="['id', 'name', 'code', 'year', 'org', 'currency_type', 'combined_balance']"
+ requiredFields="['name', 'code', 'year', 'org', 'currency_type']"
query="{id: '*'}"
defaultCellWidth='"auto"'
fmClass='acqf'
More information about the open-ils-commits
mailing list