mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 06:05:13 +00:00
User: alex clicked save for manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn
This commit is contained in:
parent
ef9dabdfba
commit
d0fa8dfd20
@ -324,12 +324,17 @@ isCurrentUser = True</spiffworkflow:preScript>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="invoice-approval_JSONSchema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="invoice-approval_UISchema.json" />
|
||||
</spiffworkflow:properties>
|
||||
<spiffworkflow:postScript># Set Finance comments
|
||||
invoice["commentsFinance"] = approvalComment
|
||||
<spiffworkflow:postScript># Check if commenet field was initialized
|
||||
if 'commentFinance' not in invoice:
|
||||
invoice['commentFinance'] = ''
|
||||
else:
|
||||
invoice["commentFinance"] = approvalComment
|
||||
|
||||
# Reset Approval Comment
|
||||
approvalComment = ""
|
||||
|
||||
# Check for Finance comments
|
||||
len_finance_comments = len(invoice["commentsFinance"].strip())
|
||||
len_finance_comments = len(invoice["commentFinance"].strip())
|
||||
|
||||
# Set Invoice Status
|
||||
if isInvoiceApproved:
|
||||
|
Loading…
x
Reference in New Issue
Block a user