Исходный код вики Услуги Биллинг
Версия 1.1 от Андрей Калиновский на 2023/10/17 17:30
Последние авторы
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: 419px" %)[[image:https://lh5.googleusercontent.com/ErWuJa11qxNU_UBw4ocitkvYpTFI-FcFIhkLDfmE8Vh5px0tYC4Oxf-XGUXwR_Ja1xa3ffw3Z00R9vZvv0qgPpXgWFvJsDw4R8bpivJKkqLECr_9iM3sa0Rpn7Ae7EGUPbYK__w6FrnyEFAf9kDr8sw||height="419" width="602"]] | ||
5 | |||
6 | (% 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" %)Перед вами откроется следующее окно: | ||
7 | |||
8 | (% style="line-height:1.38" %) | ||
9 | (% 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://lh3.googleusercontent.com/nRSUvIr5FlDV0Qha8w9R31wg8xjIazeoxRjPjoJwFQi7a_gt5jouA_pjZCPtRsfk_MJVE3yJDRVkKNSEH133wHab0WM1yDPXHaltq-EJvD70OjVrnQtIgzj2EvlzbPz-yNMYsWcsvks9_l9MrI3WwlU||height="604" width="602"]] | ||
10 | |||
11 | (% 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" %)В данном окне отображается список услуг, доступных для добавления. Выделив одну или несколько услуг в таблице и нажав на иконку “Выбрать” эти услуги появятся в таблице настройки тарифного плана. | ||
12 | |||
13 | (% style="line-height:1.38" %) | ||
14 | (% 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="line-height:1.38" %) | ||
17 | (% 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: 417px" %)[[image:https://lh6.googleusercontent.com/NU9Tw9OGTb408gE5cpDRMibSRm9YlBSEqmD8C66P3qmRU-EXVVVc8MQ-4e0vRmuuuud9QDBYLpKm_xD1AT08eKc0y1vTrtT_7UzRNHmR534bm7fx74DBWfZ0l2KxvTRuHhmoylCkiYa5Yqb-AaoIQvg||height="417" width="602"]] | ||
18 | |||
19 | (% 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" %)Также данные показатели можно редактировать во вкладке “Услуги” в окне клиента после того как будет назначен тарифный план: | ||
20 | |||
21 | (% style="line-height:1.38" %) | ||
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; border: none; display: inline-block; overflow: hidden; width: 602px; height: 224px" %)[[image:https://lh3.googleusercontent.com/wvEUFXBS0bnWDl5HAwewT5CJKwdZ0RSO6MKFAUnNxUkx9ljLlZDQTtV6rSkb3Wpbr4WF5CjyijzNjkhdWjdkodYVmRk9Uf6t6N8fv4DFZhXzM2VDlPwOr0vyzEORmrbP7BpRgHKx85UyI--jVPJLATc||height="224" width="602"]] | ||
23 | |||
24 | (% style="line-height:1.38" %) | ||
25 | (% 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" %)Таблица услуг содержит следующие колонки: | ||
26 | |||
27 | (% style="line-height:1.38" %) | ||
28 | (% 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" %) – номер строки. | ||
29 | |||
30 | (% style="line-height:1.38" %) | ||
31 | (% 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" %) – отображается название услуги. | ||
32 | |||
33 | (% style="line-height:1.38" %) | ||
34 | (% 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" %) – при нажатии на чекбокс услуга становится активной.. | ||
35 | |||
36 | (% style="line-height:1.38" %) | ||
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: 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" %)– поле, для установки лимита для определенной услуги, также используется при расчете суммы списания. Если в поле не ввести значение активируется функция “Расчет по факту”. В случае, если клиент достиг лимита партнера, то система запрещает ему заводить новые объекты. | ||
41 | |||
42 | (% style="line-height:1.38" %) | ||
43 | (% 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" %) – поле, где указывается цена за одну единицу услуги. При расчете расхода значение поля умножается на значение полей: | ||
44 | |||
45 | * (% 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" %)Лимит — если не активен, то расчет по факту; | ||
46 | * (% 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 знаков после запятой. | ||
47 | |||
48 | (% style="line-height:1.38" %) | ||
49 | (% 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" %)– период, после которого происходит списание денежных средств с баланса. В ячейке расположено два поля, в левом поле указывается число, в правом выпадающий список из двух строк: день и месяц. | ||
50 | |||
51 | (% class="box infomessage" style="line-height: 1.38;" %) | ||
52 | ((( | ||
53 | (% 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" %)Период списания должен задаваться как: 1 мес., 2 мес, 1 день, 7 дней, 30 дней и т.п. (%%) | ||
54 | (% 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 (%%) | ||
55 | (% 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. (%%) | ||
56 | (% 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. | ||
57 | ))) | ||
58 | |||
59 | (% 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" %) – не редактируемое поле. Значение должно отображать количество услуги использованное по факту. Описание того, что считать фактом описано в задаче Список услуг. | ||
60 | |||
61 | (% style="line-height:1.38" %) | ||
62 | (% 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" %) – иконка, нажатие на которую сбрасывает значения в полях (состояние, расчет по факту, лимит, цена, период) на то, что указано в выбранном тарифном плане. Если тарифный план не назначен иконка должна быть деактивирована. - (% 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: 46px; height: 34px" %)[[image:https://lh4.googleusercontent.com/e0DHLOA8ZfPCJOzYnGFPXYIEanSrPVjH4Cl_Nxb4WkSU8y4f4hRv1faslqDUBy9kTXrw8pu33W8oxCa5LlWUhi8nSKlNZLfNh5QB8Hmhe2x80rMyRuLMHh0TVNj4hkPpIerEK4tQWwg_OppL-RyggxM||height="34" width="46"]] | ||
63 | |||
64 | (% style="line-height:1.38" %) | ||
65 | (% 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" %)Клиент не имеет возможности изменять параметры собственной таблицы услуг и ограничений, а также добавлять новые услуги. | ||
66 | |||
67 |