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
Roque
slapos.core
Commits
d3a6fd49
Commit
d3a6fd49
authored
Feb 02, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unlock locked person only in case is nothing is ongoing.
parent
5bf8740e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Person_manageLockByBalance.xml
...em/portal_skins/vifib_slap/Person_manageLockByBalance.xml
+2
-2
master/bt5/vifib_slap/bt/revision
master/bt5/vifib_slap/bt/revision
+1
-1
No files found.
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Person_manageLockByBalance.xml
View file @
d3a6fd49
...
@@ -77,8 +77,8 @@ if context.portal_catalog.countResults(\n
...
@@ -77,8 +77,8 @@ if context.portal_catalog.countResults(\n
# there are ongoing old payments, shall be locked\n
# there are ongoing old payments, shall be locked\n
if not locked and operation == \'lock\':\n
if not locked and operation == \'lock\':\n
context.lock(comment="Payment transaction not paid for more than %s days" % maximum_due_date)\n
context.lock(comment="Payment transaction not paid for more than %s days" % maximum_due_date)\n
el
se
:\n
el
if balance >= 0.0
:\n
# there are no ongoing payments and
balance is acceptable
\n
# there are no ongoing payments and
customer owns nothing
\n
if locked and operation == \'unlock\':\n
if locked and operation == \'unlock\':\n
context.unlock()\n
context.unlock()\n
...
...
master/bt5/vifib_slap/bt/revision
View file @
d3a6fd49
532
533
\ No newline at end of file
\ No newline at end of file
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