plugged in some required fields for invoicing and fund create dialog as proof of...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Apr 2010 16:18:01 +0000 (16:18 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Apr 2010 16:18:01 +0000 (16:18 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16227 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/acq/invoice/common.js
Open-ILS/web/templates/default/acq/financial/list_funds.tt2

index c03e8cf..00d2567 100644 (file)
@@ -24,6 +24,12 @@ function drawInvoicePane(parentNode, inv, args) {
         mode : (inv) ? 'edit' : 'create',
         hideActionButtons : true,
         overrideWidgetArgs : override,
+        requiredFields : [
+            'inv_ident', 
+            'recv_date', 
+            'provider', 
+            'shipper'
+        ],
         fieldOrder : [
             'inv_ident', 
             'recv_date', 
index 937c277..7dbabf7 100644 (file)
             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'