Fix #7123 - getting abra ready to test
[Pman.Xtuple] / Pman.Dialog.XtupleCreditMemo.js
index 264ab5d..e2e8298 100644 (file)
@@ -640,7 +640,11 @@ Pman.Dialog.XtupleCreditMemo = {
                                                                     recalc : function() {
                                                                         var vals = _this.form.getValues();
                                                                         this.setValue(
-                                                                            (1*vals.cmhead_taxable_value) + (1*vals.cmhead_taxfree_value) + (1*vals.cmhead_freight) + (1*vals.cmhead_tax_value) + (1*vals.cmhead_misc)
+                                                                            (1*vals.cmhead_taxable_value) + 
+                                                                            (1*vals.cmhead_taxfree_value) + 
+                                                                            (1*vals.cmhead_freight) + 
+                                                                            (1*vals.cmhead_tax_value) + 
+                                                                            (1*vals.cmhead_misc)
                                                                         );
                                                                     }
                                                                 }
@@ -839,11 +843,6 @@ Pman.Dialog.XtupleCreditMemo = {
                                     xns: Roo.form,
                                     name : 'cmhead_billto_addr_id'
                                 },
-                                {
-                                    xtype: 'Hidden',
-                                    xns: Roo.form,
-                                    name : 'cmhead_taxable_value'
-                                },
                                 {
                                     xtype: 'Hidden',
                                     xns: Roo.form,