Commit f9e8034a authored by Mayoro Diagne's avatar Mayoro Diagne

2010-06-25 mayoro

* modify catalog table egov and use generic attributes in z_catalog_egov_list and z_create_egov

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36611 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ffc550fc
...@@ -24,31 +24,19 @@ ...@@ -24,31 +24,19 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>company_name</string> </key> <key> <string>getPortalType</string> </key>
<value> <value>
<dictionary/> <dictionary/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>coordonnees</string> </key> <key> <string>getTranslatedValidationStateTitle</string> </key>
<value> <value>
<dictionary/> <dictionary/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>getCorporateRegistrationCode</string> </key> <key> <string>modification_date</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>getVatCode</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>imposition_period</string> </key>
<value> <value>
<dictionary/> <dictionary/>
</value> </value>
...@@ -59,12 +47,6 @@ ...@@ -59,12 +47,6 @@
<dictionary/> <dictionary/>
</value> </value>
</item> </item>
<item>
<key> <string>unity_sector</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -73,12 +55,9 @@ ...@@ -73,12 +55,9 @@
<value> <value>
<list> <list>
<string>uid</string> <string>uid</string>
<string>getCorporateRegistrationCode</string> <string>getPortalType</string>
<string>getVatCode</string> <string>getTranslatedValidationStateTitle</string>
<string>company_name</string> <string>modification_date</string>
<string>coordonnees</string>
<string>imposition_period</string>
<string>unity_sector</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -102,12 +81,9 @@ ...@@ -102,12 +81,9 @@
<item> <item>
<key> <string>arguments_src</string> </key> <key> <string>arguments_src</string> </key>
<value> <string>uid\r\n <value> <string>uid\r\n
getCorporateRegistrationCode\r\n getPortalType\r\n
getVatCode\r\n getTranslatedValidationStateTitle\r\n
company_name\r\n modification_date </string> </value>
coordonnees\r\n
imposition_period\r\n
unity_sector</string> </value>
</item> </item>
<item> <item>
<key> <string>cache_time_</string> </key> <key> <string>cache_time_</string> </key>
...@@ -154,12 +130,9 @@ VALUES\n ...@@ -154,12 +130,9 @@ VALUES\n
<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n
( \n ( \n
<dtml-sqlvar expr="uid[loop_item]" type="int">,\n <dtml-sqlvar expr="uid[loop_item]" type="int">,\n
<dtml-sqlvar expr="getCorporateRegistrationCode[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="getPortalType[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getVatCode[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="getTranslatedValidationStateTitle[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="company_name[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="modification_date[loop_item]" type="datetime" optional>\n
<dtml-sqlvar expr="coordonnees[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="imposition_period[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="unity_sector[loop_item]" type="string" optional>\n
)\n )\n
<dtml-if sequence-end><dtml-else>,</dtml-if>\n <dtml-if sequence-end><dtml-else>,</dtml-if>\n
</dtml-in>\n </dtml-in>\n
...@@ -211,12 +184,9 @@ VALUES\n ...@@ -211,12 +184,9 @@ VALUES\n
<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n
( \n ( \n
<dtml-sqlvar expr="uid[loop_item]" type="int">,\n <dtml-sqlvar expr="uid[loop_item]" type="int">,\n
<dtml-sqlvar expr="getCorporateRegistrationCode[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="getPortalType[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="getVatCode[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="getTranslatedValidationStateTitle[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="company_name[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="modification_date[loop_item]" type="datetime" optional>\n
<dtml-sqlvar expr="coordonnees[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="imposition_period[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="unity_sector[loop_item]" type="string" optional>\n
)\n )\n
<dtml-if sequence-end><dtml-else>,</dtml-if>\n <dtml-if sequence-end><dtml-else>,</dtml-if>\n
</dtml-in>\n </dtml-in>\n
......
...@@ -90,15 +90,10 @@ ...@@ -90,15 +90,10 @@
<key> <string>src</string> </key> <key> <string>src</string> </key>
<value> <string>CREATE TABLE `egov` (\n <value> <string>CREATE TABLE `egov` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n `uid` BIGINT UNSIGNED NOT NULL,\n
`corporate_registration_code` VARCHAR(255) DEFAULT \'\',\n `portal_type` VARCHAR(255) DEFAULT \'\',\n
`vat_code` VARCHAR(255) DEFAULT \'\',\n `translated_validation_state_title` VARCHAR(255) DEFAULT \'\',\n
`company_name` VARCHAR(255) DEFAULT \'\',\n `modification_date` DATETIME,\n
`coordonnees` VARCHAR(255) DEFAULT \'\',\n PRIMARY KEY (`uid`)\n
`imposition_period` VARCHAR(255) DEFAULT \'\',\n
`unity_sector` VARCHAR(255) DEFAULT \'\',\n
PRIMARY KEY (`uid`),\n
KEY `rccm` (`corporate_registration_code`),\n
KEY `ninea` (`vat_code`)\n
) TYPE=InnoDB\n ) TYPE=InnoDB\n
</string> </value> </string> </value>
</item> </item>
...@@ -138,15 +133,10 @@ ...@@ -138,15 +133,10 @@
<key> <string>raw</string> </key> <key> <string>raw</string> </key>
<value> <string>CREATE TABLE `egov` (\n <value> <string>CREATE TABLE `egov` (\n
`uid` BIGINT UNSIGNED NOT NULL,\n `uid` BIGINT UNSIGNED NOT NULL,\n
`corporate_registration_code` VARCHAR(255) DEFAULT \'\',\n `portal_type` VARCHAR(255) DEFAULT \'\',\n
`vat_code` VARCHAR(255) DEFAULT \'\',\n `translated_validation_state_title` VARCHAR(255) DEFAULT \'\',\n
`company_name` VARCHAR(255) DEFAULT \'\',\n `modification_date` DATETIME,\n
`coordonnees` VARCHAR(255) DEFAULT \'\',\n PRIMARY KEY (`uid`)\n
`imposition_period` VARCHAR(255) DEFAULT \'\',\n
`unity_sector` VARCHAR(255) DEFAULT \'\',\n
PRIMARY KEY (`uid`),\n
KEY `rccm` (`corporate_registration_code`),\n
KEY `ninea` (`vat_code`)\n
) TYPE=InnoDB\n ) TYPE=InnoDB\n
</string> </value> </string> </value>
</item> </item>
......
2010-06-25 mayoro
* modify catalog table egov and use generic attributes in z_catalog_egov_list and z_create_egov
2010-06-25 mohamadou 2010-06-25 mohamadou
*Give anonymous access to a portal_type that does not require authentication *Give anonymous access to a portal_type that does not require authentication
......
633 635
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment