Commit 37ba2f58 authored by Łukasz Nowak's avatar Łukasz Nowak

Support logged in users only.

parent e97b86be
...@@ -71,7 +71,6 @@ if integration_site.getMappingFromCategory(\'causality/%s\' % context.getRelativ ...@@ -71,7 +71,6 @@ if integration_site.getMappingFromCategory(\'causality/%s\' % context.getRelativ
current_id = integration_site.getMappingFromCategory(\'causality/%s\' % context.getRelativeUrl())\n current_id = integration_site.getMappingFromCategory(\'causality/%s\' % context.getRelativeUrl())\n
current_today, transaction_id = current_id.split(\'_\')\n current_today, transaction_id = current_id.split(\'_\')\n
\n \n
\n
if transaction_id is not None:\n if transaction_id is not None:\n
context.PaymentTransaction_updateStatus()\n context.PaymentTransaction_updateStatus()\n
elif previous_id is not None:\n elif previous_id is not None:\n
......
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.ERP5Site_getAuthenticatedMemberPersonValue().Person_getOutstandingPayment() is not None</string> </value> <value> <string>python: here.ERP5Site_getAuthenticatedMemberPersonValue() is not None and here.ERP5Site_getAuthenticatedMemberPersonValue().Person_getOutstandingPayment() is not None</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -314,7 +314,7 @@ Registration Payment is begin processed. It will take some time. ...@@ -314,7 +314,7 @@ Registration Payment is begin processed. It will take some time.
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
python: here.ERP5Site_getAuthenticatedMemberPersonValue().Person_countPayment([\'confirmed\']) > 0 python: here.ERP5Site_getAuthenticatedMemberPersonValue() is not None and here.ERP5Site_getAuthenticatedMemberPersonValue().Person_countPayment([\'confirmed\']) > 0
]]></string> </value> ]]></string> </value>
</item> </item>
......
...@@ -314,7 +314,7 @@ Registration Payment Information are being updated. Please wait a while. ...@@ -314,7 +314,7 @@ Registration Payment Information are being updated. Please wait a while.
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
python: (here.ERP5Site_getAuthenticatedMemberPersonValue().Person_countPayment() == 0 or here.ERP5Site_getAuthenticatedMemberPersonValue().Person_countPayment([\'planned\']) > 0) and here.ERP5Site_getAuthenticatedMemberPersonValue().Person_getOutstandingPayment() is None python: here.ERP5Site_getAuthenticatedMemberPersonValue() is not None and (here.ERP5Site_getAuthenticatedMemberPersonValue().Person_countPayment() == 0 or here.ERP5Site_getAuthenticatedMemberPersonValue().Person_countPayment([\'planned\']) > 0) and here.ERP5Site_getAuthenticatedMemberPersonValue().Person_getOutstandingPayment() is None
]]></string> </value> ]]></string> </value>
</item> </item>
......
409 410
\ 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