Исходный код вики Блокировка клиента
Версия 2.1 от Андрей Калиновский на 2023/10/17 17:40
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Для автоматической блокировки клиента, необходимо определить условия блокировки. Для этого в окне клиента нажмите на кнопку “Ограничение”: | ||
2 | |||
3 | (% style="line-height:1.38" %) | ||
4 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; border: none; display: inline-block; overflow: hidden; width: 602px; height: 63px" %)[[image:https://lh5.googleusercontent.com/scKj0145822_86DkOru5HQzeTVHccRsln8p3Gw7OKMjiJpbuSQtVukK-eblvlDY1_cDerDpR57vMc1cPTC3RBu3TkIDFIBmOEDleL4K_TI9Cp4aZMOLvESIzKagGbkqTIqqEc_RYuf4nvEOJqTApwA8||height="63" width="602"]] | ||
5 | |||
6 | |||
7 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Перед вами откроется следующее окно: | ||
8 | |||
9 | (% style="line-height:1.38" %) | ||
10 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none; border: none; display: inline-block; overflow: hidden; width: 602px; height: 604px" %)[[image:https://lh6.googleusercontent.com/5LJvYxf0eaZb_ZZ6UO5N_3xR2pp7H4IJoMMMUSnloGH-UghKc5Jq-vMydlMxuBMydv6fUriUoM-doFD45J6sAV__6xrY3ip3kRUlx5H6ZcOYlgfN4wPHLUfmgzYExR9HSK4XBYIg9A44r_wZqNqkGt0||height="604" width="602"]] | ||
11 | |||
12 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Доступные поля: | ||
13 | |||
14 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Тип расчета **(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)– поле для выбора расчета баланса: | ||
15 | |||
16 | * (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Деньги – в этом режиме происходит списание с баланса денег. Количество списываемых средств рассчитывается в зависимости от количества и цены, указанных в таблице услуг. Период списания зависит от того периода, что задан в таблице услуг. | ||
17 | |||
18 | * (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Дни – в этом режиме происходит списание с баланса дней. Каждый день в 00:00 по UTC выполняется списание 1 дня с баланса. | ||
19 | |||
20 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Допустимый баланс **(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)(условие наступления блокировки) – поле ввода числа. Может быть введено как положительное, так и отрицательное значение. Значение данного поля отображается в окне клиента, в поле “Допустимый баланс”. | ||
21 | |||
22 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Когда значение баланса становится меньше указанного значения в этом поле, то активируется состояние “Заблокирован” (при условии что период отсрочки равен 0). | ||
23 | |||
24 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Для выхода из блокировки, необходимо выполнить одно из условий: | ||
25 | |||
26 | * (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Пополнить баланс на значение выше условий блокировки | ||
27 | * (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Иметь определенный период отсрочки | ||
28 | |||
29 | |||
30 | (% class="box infomessage" style="line-height: 1.38;" %) | ||
31 | ((( | ||
32 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Таким образом: | ||
33 | - Если клиент получил состояние “Заблокирован” из-за того что баланс опустился ниже допустимого, то снятие этого состояния должно выполняться вручную или по API, после того как баланс станет выше допустимого баланса.(%%) | ||
34 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)- Если при пополнении баланса его значение стало выше условий блокировки, то это не деактивирует состояние “Заблокирован” автоматически. | ||
35 | ))) | ||
36 | |||
37 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Отсрочка (дни)**(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) – поле для ввода числа дней отсрочки блокировки клиента. | ||
38 | |||
39 | (% style="line-height:1.38" %) | ||
40 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Требования к заполнению поля: | ||
41 | |||
42 | * (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Значение должно иметь не больше 3 символов. | ||
43 | * (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Число может быть только положительным. Минимальное значение - 0. | ||
44 | * (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Значение должно быть целым. | ||
45 | |||
46 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Оповещение в web-интерфейсе**(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) – при активации опции в web-интерфейсе отображается оповещение о наступающей блокировке всем пользователям, прямо принадлежащим данному клиенту. | ||
47 | |||
48 | (% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 700; font-style: normal; text-decoration: none" %)**Отправка уведомлений на электронную почту**(% style="font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %) – если опция активна, то на указанные Email адреса во вкладке “Сведения” в окне клиента отправляются уведомления о блокировке и оповещения о наступающей блокировке. | ||
49 | |||
50 | |||
51 | Для ручной блокировки клиента перейдите в раздел "Клиенты" в панели управления и смените статус на "Заблокирован". В случает активации клиента, совершите те же действия, сменив статус на "Активен" | ||
52 | |||
53 | [[image:image-20231017173840-1.png]] |