From 19c3a353a4158793bcd4840dd011579e5cd06b2a Mon Sep 17 00:00:00 2001
From: Kevin Deldycke <kevin@nexedi.com>
Date: Tue, 18 Apr 2006 09:16:45 +0000
Subject: [PATCH] Respect Naming Conventions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6771 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../listbox.xml                               | 40 ++++++++++---------
 .../listbox_base.xml                          | 10 ++++-
 .../listbox_base_name.xml                     |  2 +-
 .../listbox_employee_share_rate.xml           | 10 ++++-
 .../listbox_employer_share_rate.xml           | 10 ++++-
 .../listbox.xml                               | 26 ++++++++----
 6 files changed, 68 insertions(+), 30 deletions(-)

diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox.xml
index b11ebc7ef3..5860d0c48a 100644
--- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox.xml
+++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox.xml
@@ -319,23 +319,23 @@
                       <list>
                         <tuple>
                           <string>title</string>
-                          <string>Tax title</string>
+                          <string>Tax Title</string>
                         </tuple>
                         <tuple>
                           <string>base_name</string>
-                          <string>Base name</string>
+                          <string>Base Name</string>
                         </tuple>
                         <tuple>
                           <string>base</string>
-                          <string>Base value</string>
+                          <string>Base Value</string>
                         </tuple>
                         <tuple>
                           <string>employer_share_rate</string>
-                          <string>Employer share rate (%)</string>
+                          <string>Employer Share Rate (%)</string>
                         </tuple>
                         <tuple>
                           <string>employee_share_rate</string>
-                          <string>Employee share rate (%)</string>
+                          <string>Employee Share Rate (%)</string>
                         </tuple>
                       </list>
                     </value>
@@ -346,15 +346,15 @@
                       <list>
                         <tuple>
                           <string>base</string>
-                          <string>Base value</string>
+                          <string>Base Value</string>
                         </tuple>
                         <tuple>
                           <string>employer_share_rate</string>
-                          <string>Employer share rate (%)</string>
+                          <string>Employer Share Rate (%)</string>
                         </tuple>
                         <tuple>
                           <string>employee_share_rate</string>
-                          <string>Employee share rate (%)</string>
+                          <string>Employee Share Rate (%)</string>
                         </tuple>
                       </list>
                     </value>
@@ -369,27 +369,31 @@
                       <list>
                         <tuple>
                           <string>title</string>
-                          <string>Tax title</string>
+                          <string>Tax Title</string>
                         </tuple>
                         <tuple>
                           <string>base_name</string>
-                          <string>Base name</string>
+                          <string>Base Name</string>
                         </tuple>
                         <tuple>
                           <string>base</string>
-                          <string>Base value</string>
+                          <string>Base Value</string>
                         </tuple>
                         <tuple>
                           <string>employer_share_rate</string>
-                          <string>Employer share rate (%)</string>
+                          <string>Employer Share Rate (%)</string>
                         </tuple>
                         <tuple>
                           <string>employee_share_rate</string>
-                          <string>Employee share rate (%)</string>
+                          <string>Employee Share Rate (%)</string>
                         </tuple>
                       </list>
                     </value>
                 </item>
+                <item>
+                    <key> <string>count_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>css_class</string> </key>
                     <value> <string></string> </value>
@@ -428,15 +432,15 @@
                       <list>
                         <tuple>
                           <string>base</string>
-                          <string>Base value</string>
+                          <string>Base Value</string>
                         </tuple>
                         <tuple>
                           <string>employer_share_rate</string>
-                          <string>Employer share rate (%)</string>
+                          <string>Employer Share Rate (%)</string>
                         </tuple>
                         <tuple>
                           <string>employee_share_rate</string>
-                          <string>Employee share rate (%)</string>
+                          <string>Employee Share Rate (%)</string>
                         </tuple>
                       </list>
                     </value>
@@ -519,11 +523,11 @@
                       <list>
                         <tuple>
                           <string>title</string>
-                          <string>Tax title</string>
+                          <string>Tax Title</string>
                         </tuple>
                         <tuple>
                           <string>base_name</string>
-                          <string>Base name</string>
+                          <string>Base Name</string>
                         </tuple>
                       </list>
                     </value>
diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_base.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_base.xml
index 6763bc09b8..9d4349eca5 100644
--- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_base.xml
+++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_base.xml
@@ -209,13 +209,21 @@
                     <key> <string>hidden</string> </key>
                     <value> <int>0</int> </value>
                 </item>
+                <item>
+                    <key> <string>input_style</string> </key>
+                    <value> <string>-1234.5</string> </value>
+                </item>
+                <item>
+                    <key> <string>precision</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>required</string> </key>
                     <value> <int>0</int> </value>
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>Base value</string> </value>
+                    <value> <string>Base Value</string> </value>
                 </item>
                 <item>
                     <key> <string>whitespace_preserve</string> </key>
diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_base_name.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_base_name.xml
index 69004b32a2..1b14c26152 100644
--- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_base_name.xml
+++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_base_name.xml
@@ -243,7 +243,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>Base name</string> </value>
+                    <value> <string>Base Name</string> </value>
                 </item>
                 <item>
                     <key> <string>truncate</string> </key>
diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_employee_share_rate.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_employee_share_rate.xml
index e3bade3eea..30a39168a6 100644
--- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_employee_share_rate.xml
+++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_employee_share_rate.xml
@@ -209,13 +209,21 @@
                     <key> <string>hidden</string> </key>
                     <value> <int>0</int> </value>
                 </item>
+                <item>
+                    <key> <string>input_style</string> </key>
+                    <value> <string>-1234.5</string> </value>
+                </item>
+                <item>
+                    <key> <string>precision</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>required</string> </key>
                     <value> <int>0</int> </value>
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>Employee share rate (%)</string> </value>
+                    <value> <string>Employee Share Rate (%)</string> </value>
                 </item>
                 <item>
                     <key> <string>whitespace_preserve</string> </key>
diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_employer_share_rate.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_employer_share_rate.xml
index e780b1a9c2..63f92a1bcb 100644
--- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_employer_share_rate.xml
+++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewPreview/listbox_employer_share_rate.xml
@@ -209,13 +209,21 @@
                     <key> <string>hidden</string> </key>
                     <value> <int>0</int> </value>
                 </item>
+                <item>
+                    <key> <string>input_style</string> </key>
+                    <value> <string>-1234.5</string> </value>
+                </item>
+                <item>
+                    <key> <string>precision</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>required</string> </key>
                     <value> <int>0</int> </value>
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>Employer share rate (%)</string> </value>
+                    <value> <string>Employer Share Rate (%)</string> </value>
                 </item>
                 <item>
                     <key> <string>whitespace_preserve</string> </key>
diff --git a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewTotalDestinationList/listbox.xml b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewTotalDestinationList/listbox.xml
index f3d435da09..3aa8c04285 100644
--- a/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewTotalDestinationList/listbox.xml
+++ b/bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/PaySheetTransaction_viewTotalDestinationList/listbox.xml
@@ -335,23 +335,27 @@
                       <list>
                         <tuple>
                           <string>target_start_date</string>
-                          <string>target_start_date</string>
+                          <string>Target Start Date</string>
                         </tuple>
                         <tuple>
                           <string>destination_title</string>
-                          <string>destination_title</string>
+                          <string>Destination Title</string>
                         </tuple>
                         <tuple>
                           <string>variation_text</string>
-                          <string>variation_text</string>
+                          <string>Variation Text</string>
                         </tuple>
                         <tuple>
                           <string>total_price</string>
-                          <string>total_price</string>
+                          <string>Total Price</string>
                         </tuple>
                       </list>
                     </value>
                 </item>
+                <item>
+                    <key> <string>count_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>css_class</string> </key>
                     <value> <string></string> </value>
@@ -446,7 +450,7 @@
                 </item>
                 <item>
                     <key> <string>search</string> </key>
-                    <value> <string></string> </value>
+                    <value> <int>0</int> </value>
                 </item>
                 <item>
                     <key> <string>search_columns</string> </key>
@@ -470,11 +474,15 @@
                 </item>
                 <item>
                     <key> <string>sort_columns</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <list/>
+                    </value>
                 </item>
                 <item>
                     <key> <string>stat_columns</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <list/>
+                    </value>
                 </item>
                 <item>
                     <key> <string>stat_method</string> </key>
@@ -486,7 +494,9 @@
                 </item>
                 <item>
                     <key> <string>url_columns</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <list/>
+                    </value>
                 </item>
               </dictionary>
             </value>
-- 
2.30.9