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:
demo 2022-11-26 05:08:27 +00:00
parent e818281dc1
commit d7a3a58d4e
1 changed files with 16 additions and 1 deletions

View File

@ -315,6 +315,21 @@ else:
<bpmn:manualTask id="Activity_show_errors" name="Show Error(s)">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>{{ submitInvoiceValidationMessage }}
{% if val_list_cnt == 1 %}
{{ single_validation }}
{{ single_value }}
{% else %}
{{ val_list_cnt_str }} of your entries was not properly formatted
{% if is_num_in_name %}
- Numbers are not allowed in the Submitter's Name
{% endif %}
{% if is_decimal_cnt %}
- The involce amount must not have more than two decimal places
{% endif %}
{% if is_due_date_after %}
- The invoice due date must be after today's date.
{% endif %}
{% endif %}
**Please fix when resubmitting.** </spiffworkflow:instructionsForEndUser>
<spiffworkflow:preScript />