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
9adc3cf588
commit
0e9b19e780
@ -286,16 +286,16 @@ val_list = [is_num_in_name, is_decimal_cnt, is_due_date_before]
|
||||
val_list_cnt = val_list.count(True)
|
||||
|
||||
if val_list_cnt == 1:
|
||||
if is_num_in_name:
|
||||
single_validation_error = "Numbers are not allowed in the Submitter's Name"
|
||||
if is_num_in_name:
|
||||
single_validation_error = "Numbers are not allowed in the Submitter's Name"
|
||||
single_validation_title = "Contributor Name"
|
||||
single_validation_value = invoice["contributorName"]
|
||||
elif is_decimal_cnt:
|
||||
single_validation_error = "The involce amount must not have more than two decimal places"
|
||||
elif is_decimal_cnt:
|
||||
single_validation_error = "The involce amount must not have more than two decimal places"
|
||||
single_validation_title = "Invoice Amount"
|
||||
single_validation_value = invoiceAmount_str
|
||||
elif is_due_date_after:
|
||||
single_validation_error = "The invoice due date must be after today's date"
|
||||
elif is_due_date_after:
|
||||
single_validation_error = "The invoice due date must be after today's date"
|
||||
single_validation_title = "Due Date"
|
||||
single_validation_value = invoice["dueDate"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user