"""E-mail related constants.""" import common_config DEFAULT_WORKFLOW_LINK = ( 'https://docs.google.com/document/d/' '169uZONV-j5KHr-QfK2eCYqVj5t1Hq_n0lo5KEs4GJ7Y/edit' ) WORKFLOW_LINK = common_config.WORKFLOW_LINK or DEFAULT_WORKFLOW_LINK PROCESSING_ERROR = ( 'Something went wrong while processing the statement attachment.') ATTACHMENT_ERROR_SUBJECT = 'Statement attachment upload error.' ATTACHMENT_ERROR_BODY = """
Hi Everybody,
Unfortunately, it looks {full_file_name} was uploaded on {upload_timestamp} to the statement attachments upload directory and it does not conform to our upload criteria.
As a result this statement attachment will not show up in workstation for the associated label.
{error_detail}To resolve this issue, please refer to the Upload Policy section of the Statement Attachments Workflow to confirm the file name and format are correct.
If anything is incorrect, please remove the file from the statement attachments upload directory, make the necessary changes and re-upload the document.
If there is still an issue, please email AccountingSquad@TheOrchard.com with the filename and upload timestamp as mentioned above.
Sincerely,
The Orchard Accounting Bot