-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into campaign-news-functionality
- Loading branch information
Showing
25 changed files
with
763 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,9 +89,11 @@ JWT_SECRET_KEY=VerySecretPrivateKey | |
|
||
## Iris Bank Imports ## | ||
########## | ||
IRIS_API_URL = https://developer.sandbox.irispay.bg/api/8 | ||
IRIS_AGENT_HASH = | ||
IRIS_USER_HASH = | ||
BANK_BIC = UNCRBGSF | ||
PLATFORM_IBAN = | ||
IMPORT_TRX_TASK_INTERVAL_MINUTES = 60 | ||
IRIS_API_URL=https://developer.sandbox.irispay.bg/api/8 | ||
IRIS_AGENT_HASH= | ||
IRIS_USER_HASH= | ||
BANK_BIC=UNCRBGSF | ||
PLATFORM_IBAN= | ||
IMPORT_TRX_TASK_INTERVAL_MINUTES=60 | ||
CHECK_IRIS_CONSENT_TASK_HOUR=10 | ||
BILLING_ADMIN_MAIL=[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,9 +88,12 @@ JWT_SECRET_KEY=VerySecretPrivateKey | |
|
||
## Iris Bank Imports ## | ||
########## | ||
IRIS_API_URL = https://developer.sandbox.irispay.bg/api/8 | ||
IRIS_AGENT_HASH = | ||
IRIS_USER_HASH = | ||
BANK_BIC = UNCRBGSF | ||
PLATFORM_IBAN = | ||
IMPORT_TRX_TASK_INTERVAL_MINUTES = 60 | ||
IRIS_API_URL=https://developer.sandbox.irispay.bg/api/8 | ||
IRIS_AGENT_HASH= | ||
IRIS_USER_HASH= | ||
BANK_BIC=UNCRBGSF | ||
PLATFORM_IBAN= | ||
IMPORT_TRX_TASK_INTERVAL_MINUTES=60 | ||
#which hour of the day to run the check for consent | ||
CHECK_IRIS_CONSENT_TASK_HOUR=10 | ||
BILLING_ADMIN_MAIL=[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"subject": "Изтичащо съгласие за достъп до банкова информация" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<mjml> | ||
<mj-body background-color="#ffffff" font-size="13px"> | ||
<mj-section | ||
background-color="#009FE3" | ||
vertical-align="top" | ||
padding-bottom="0px" | ||
padding-top="0"> | ||
<mj-column vertical-align="top" width="100%"> | ||
<mj-text | ||
align="left" | ||
color="#ffffff" | ||
font-size="45px" | ||
font-weight="bold" | ||
font-family="open Sans Helvetica, Arial, sans-serif" | ||
padding-left="25px" | ||
padding-right="25px" | ||
padding-bottom="30px" | ||
padding-top="50px"> | ||
Засечени са неразпознати банкови дарения | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
<mj-section background-color="#009fe3" padding-bottom="20px" padding-top="20px"> | ||
<mj-column vertical-align="middle" width="100%"> | ||
<mj-text | ||
align="left" | ||
color="#ffffff" | ||
font-size="22px" | ||
font-family="open Sans Helvetica, Arial, sans-serif" | ||
padding-left="25px" | ||
padding-right="25px"> | ||
<br /><br /> | ||
</mj-text> | ||
<mj-text | ||
align="left" | ||
color="#ffffff" | ||
font-size="15px" | ||
font-family="open Sans Helvetica, Arial, sans-serif" | ||
padding-left="25px" | ||
padding-right="25px"> | ||
Остават <strong> {{daysToExpire}} дни </strong> до изтичането на разрешението за достъп до | ||
банковата информация, необходимо за извличане на транзакциите в системата на Podkrepi.bg. | ||
Дата на изтичане е <strong> {{expiresAt}} </strong>. Можете да подновите разрешението за | ||
още 90 дни(максимален период) като кликнете на бутона: | ||
</mj-text> | ||
|
||
<mj-button | ||
background-color="#feeb35" | ||
font-family="Helvetica, Arial, sans-serif" | ||
font-size="16px" | ||
border-radius="30px" | ||
color="#000000" | ||
padding="15px 30px" | ||
href="{{renewLink}}" | ||
target="_blank"> | ||
Поднови банковото разрешение | ||
</mj-button> | ||
|
||
<mj-text | ||
align="left" | ||
color="#ffffff" | ||
font-size="15px" | ||
font-family="open Sans Helvetica, Arial, sans-serif" | ||
padding-left="25px" | ||
padding-right="25px"> | ||
Поздрави, <br /> | ||
Екипът на Подкрепи.бг | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-body> | ||
</mjml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"subject": "Неразпознато банково дарение/я" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<mjml> | ||
<mj-body background-color="#ffffff" font-size="13px"> | ||
<mj-section | ||
background-color="#009FE3" | ||
vertical-align="top" | ||
padding-bottom="0px" | ||
padding-top="0"> | ||
<mj-column vertical-align="top" width="100%"> | ||
<mj-text | ||
align="left" | ||
color="#ffffff" | ||
font-size="45px" | ||
font-weight="bold" | ||
font-family="open Sans Helvetica, Arial, sans-serif" | ||
padding-left="25px" | ||
padding-right="25px" | ||
padding-bottom="30px" | ||
padding-top="50px"> | ||
Засечени са неразпознати банкови дарения | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
<mj-section background-color="#009fe3" padding-bottom="20px" padding-top="20px"> | ||
<mj-column vertical-align="middle" width="100%"> | ||
<mj-text | ||
align="left" | ||
color="#ffffff" | ||
font-size="22px" | ||
font-family="open Sans Helvetica, Arial, sans-serif" | ||
padding-left="25px" | ||
padding-right="25px"> | ||
<br /><br /> | ||
</mj-text> | ||
<mj-text | ||
align="left" | ||
color="#ffffff" | ||
font-size="15px" | ||
font-family="open Sans Helvetica, Arial, sans-serif" | ||
padding-left="25px" | ||
padding-right="25px"> | ||
При последния извършен импорт на банкови дарения от {{ importDate}} бяха засечени | ||
транзакции, чиито код на кампания не е бил разпознат или импортът е бил неуспешен: | ||
</mj-text> | ||
|
||
<mj-table color="#ffffff" width="100%"> | ||
<tr | ||
style="border-bottom: 1px solid #ffffff" | ||
align="left" | ||
color="#ffffff" | ||
font-size="15px" | ||
font-family="open Sans Helvetica, Arial, sans-serif"> | ||
<th style="padding: 10px" width="16%">Транз. №</th> | ||
<th style="padding: 10px" width="16%">Изпращач</th> | ||
<th style="padding: 10px" width="16%">Сума</th> | ||
<th style="padding: 10px" width="31%">Основание</th> | ||
<th style="padding: 10px" width="16%">Статус</th> | ||
</tr> | ||
<mj-raw> {{#each transactions}} </mj-raw> | ||
<tr style="border-bottom: 1px solid #ffffff"> | ||
<td style="padding: 10px">{{ id }}</td> | ||
<td style="padding: 10px">{{ senderName }}</td> | ||
<td style="padding: 10px">{{ amount }}</td> | ||
<td style="padding: 10px; word-break: break-word">{{ description }}</td> | ||
<td style="padding: 10px">{{ bankDonationStatus }}</td> | ||
</tr> | ||
<mj-raw> {{/each}} </mj-raw> | ||
</mj-table> | ||
|
||
<mj-button | ||
background-color="#feeb35" | ||
font-family="Helvetica, Arial, sans-serif" | ||
font-size="16px" | ||
border-radius="30px" | ||
color="#000000" | ||
padding="15px 30px" | ||
href="{{link}}" | ||
target="_blank"> | ||
Към Банкови Транзакции | ||
</mj-button> | ||
|
||
<mj-text | ||
align="left" | ||
color="#ffffff" | ||
font-size="15px" | ||
font-family="open Sans Helvetica, Arial, sans-serif" | ||
padding-left="25px" | ||
padding-right="25px"> | ||
Поздрави, <br /> | ||
Екипът на Подкрепи.бг | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-body> | ||
</mjml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.