Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
slapos.core
Commits
3f523e98
Commit
3f523e98
authored
Dec 07, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting&jio: Scripts moved to slapos_accounting
parent
4b42a061
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/PaymentTransaction_getVADSUrlDict.py
...ns/slapos_accounting/PaymentTransaction_getVADSUrlDict.py
+5
-2
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/PaymentTransaction_getVADSUrlDict.xml
...s/slapos_accounting/PaymentTransaction_getVADSUrlDict.xml
+0
-0
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/PaymentTransaction_redirectToManualFreePayment.py
...ounting/PaymentTransaction_redirectToManualFreePayment.py
+2
-2
master/bt5/slapos_accounting/SkinTemplateItem/portal_skins/slapos_accounting/PaymentTransaction_redirectToManualFreePayment.xml
...unting/PaymentTransaction_redirectToManualFreePayment.xml
+0
-0
No files found.
master/bt5/slapos_
jio/SkinTemplateItem/portal_skins/slapos_hal_json_style
/PaymentTransaction_getVADSUrlDict.py
→
master/bt5/slapos_
accounting/SkinTemplateItem/portal_skins/slapos_accounting
/PaymentTransaction_getVADSUrlDict.py
View file @
3f523e98
...
...
@@ -2,15 +2,18 @@
if
web_site
is
None
:
web_site
=
context
.
getWebSiteValue
()
if
web_site
is
None
:
raise
ValueError
(
"This script must be called from a web site"
)
base_url
=
web_site
.
absolute_url
()
payment_transaction_url
=
context
.
getRelativeUrl
()
base
=
web_site
.
getLayoutProperty
(
"configuration_payment_url_template"
,
"%(url)s/#/%(payment)s?page=slap_payment_result&result=%(result)s"
)
"%(url)s/#/%(payment
_transaction_url
)s?page=slap_payment_result&result=%(result)s"
)
base_substitution_dict
=
{
"url"
:
base_url
,
"payment"
:
payment_transaction_url
,
"payment
_transaction_url
"
:
payment_transaction_url
,
"result"
:
"__RESULT__"
}
...
...
master/bt5/slapos_
jio/SkinTemplateItem/portal_skins/slapos_hal_json_style
/PaymentTransaction_getVADSUrlDict.xml
→
master/bt5/slapos_
accounting/SkinTemplateItem/portal_skins/slapos_accounting
/PaymentTransaction_getVADSUrlDict.xml
View file @
3f523e98
File moved
master/bt5/slapos_
jio/SkinTemplateItem/portal_skins/slapos_hal_json_style
/PaymentTransaction_redirectToManualFreePayment.py
→
master/bt5/slapos_
accounting/SkinTemplateItem/portal_skins/slapos_accounting
/PaymentTransaction_redirectToManualFreePayment.py
View file @
3f523e98
...
...
@@ -10,11 +10,11 @@ base_url = web_site.absolute_url()
payment_transaction_url
=
context
.
getRelativeUrl
()
base
=
web_site
.
getLayoutProperty
(
"configuration_payment_url_template"
,
"%(url)s/#/%(payment)s?page=slap_payment_result&result=%(result)s"
)
"%(url)s/#/%(payment
_transaction_url
)s?page=slap_payment_result&result=%(result)s"
)
base_substitution_dict
=
{
"url"
:
base_url
,
"payment"
:
payment_transaction_url
,
"payment
_transaction_url
"
:
payment_transaction_url
,
"result"
:
"free"
}
...
...
master/bt5/slapos_
jio/SkinTemplateItem/portal_skins/slapos_hal_json_style
/PaymentTransaction_redirectToManualFreePayment.xml
→
master/bt5/slapos_
accounting/SkinTemplateItem/portal_skins/slapos_accounting
/PaymentTransaction_redirectToManualFreePayment.xml
View file @
3f523e98
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment