@opengis/pay 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- {{{descriptionList this columns="Назва,account_name,ЄДРПОУ,account_edrpou,Email,account_email,On/Off,enabled"}}}
2
-
3
- <style>
4
- .label {
5
- display: inline-block;
6
- padding: 4px 8px;
7
- border-radius: 5px;
8
- font-size: 12px;
9
- font-weight: bold;
10
- }
1
+ {{{descriptionList this columns="Назва,account_name,ЄДРПОУ,account_edrpou,Email,account_email,On/Off,enabled"}}}
2
+
3
+ <style>
4
+ .label {
5
+ display: inline-block;
6
+ padding: 4px 8px;
7
+ border-radius: 5px;
8
+ font-size: 12px;
9
+ font-weight: bold;
10
+ }
11
11
  </style>
@@ -1,15 +1,15 @@
1
- component: default
2
- # title: Мій підпис
3
- tokens:
4
- id: { id: "{{id}}" }
5
- panels:
6
- - type: container
7
- col: 4
8
- items:
9
- - name: general_info
10
- title: Загальна інформація
11
- - type: container
12
- col: 8
13
- items:
14
- - name: users
15
- title: Користувачі
1
+ component: default
2
+ # title: Мій підпис
3
+ tokens:
4
+ id: { id: "{{id}}" }
5
+ panels:
6
+ - type: container
7
+ col: 4
8
+ items:
9
+ - name: general_info
10
+ title: Загальна інформація
11
+ - type: container
12
+ col: 8
13
+ items:
14
+ - name: users
15
+ title: Користувачі
@@ -1,12 +1,12 @@
1
-
2
- {{#contentList table="(select users.user_id, user_name || coalesce(login,'') as name, au_id, account_id from billing.users left join ( SELECT user_id, au_id, account_id FROM billing.account_user )r on users.user_id=r.user_id)q" query="account_id='{{id}}'" limit="50" sql1=1}}
3
- {{{button this token=(token table="billing.account_user" obj=(concat 'account_id=' @root.id) form="billing.account_user.form") title="Додати"}}}
4
-
5
- {{{tableList rows table='billing.account_user' id='au_id' form="billing.account_user.form" uid=../user.uid
6
- nodata='<div class="bg-gray-200 text-center p-6 rounded-xl"><h3 class="text-lg font-semibold">Інформація відсутня</h3></div>'
7
- comma=";"
8
- columns="Користувач,<a href='/card/billing.users.table/{{user_id}}'>{{name}}</a>"
9
- }}}
10
-
11
-
1
+
2
+ {{#contentList table="(select users.user_id, user_name || coalesce(login,'') as name, au_id, account_id from billing.users left join ( SELECT user_id, au_id, account_id FROM billing.account_user )r on users.user_id=r.user_id)q" query="account_id='{{id}}'" limit="50" sql1=1}}
3
+ {{{button this token=(token table="billing.account_user" obj=(concat 'account_id=' @root.id) form="billing.account_user.form") title="Додати"}}}
4
+
5
+ {{{tableList rows table='billing.account_user' id='au_id' form="billing.account_user.form" uid=../user.uid
6
+ nodata='<div class="bg-gray-200 text-center p-6 rounded-xl"><h3 class="text-lg font-semibold">Інформація відсутня</h3></div>'
7
+ comma=";"
8
+ columns="Користувач,<a href='/card/billing.users.table/{{user_id}}'>{{name}}</a>"
9
+ }}}
10
+
11
+
12
12
  {{/contentList}}
@@ -1,13 +1,13 @@
1
-
2
-
3
- {{{descriptionList this columns="Організація,account_id,Сума,payment_amount,Статус,payment_status,Дії,<a class=\"inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white\" href=\"/api/portmone-redirect?id={{id}}\">Оплатити</a>"}}}
4
-
5
- <style>
6
- .label {
7
- display: inline-block;
8
- padding: 4px 8px;
9
- border-radius: 5px;
10
- font-size: 12px;
11
- font-weight: bold;
12
- }
1
+
2
+
3
+ {{{descriptionList this columns="Організація,account_id,Сума,payment_amount,Статус,payment_status,Дії,<a class=\"inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white\" href=\"/api/portmone-redirect?id={{id}}\">Оплатити</a>"}}}
4
+
5
+ <style>
6
+ .label {
7
+ display: inline-block;
8
+ padding: 4px 8px;
9
+ border-radius: 5px;
10
+ font-size: 12px;
11
+ font-weight: bold;
12
+ }
13
13
  </style>
@@ -1,10 +1,10 @@
1
- component: default
2
- # title: Мій підпис
3
- tokens:
4
- id: { id: "{{id}}" }
5
- panels:
6
- - type: container
7
- col: 12
8
- items:
9
- - name: general_info
1
+ component: default
2
+ # title: Мій підпис
3
+ tokens:
4
+ id: { id: "{{id}}" }
5
+ panels:
6
+ - type: container
7
+ col: 12
8
+ items:
9
+ - name: general_info
10
10
  title: Загальна інформація
@@ -1,11 +1,11 @@
1
- {{{descriptionList this columns="Прізвище,sur_name,Ім'я,user_name,Email,email,On/Off,enabled"}}}
2
-
3
- <style>
4
- .label {
5
- display: inline-block;
6
- padding: 4px 8px;
7
- border-radius: 5px;
8
- font-size: 12px;
9
- font-weight: bold;
10
- }
1
+ {{{descriptionList this columns="Прізвище,sur_name,Ім'я,user_name,Email,email,On/Off,enabled"}}}
2
+
3
+ <style>
4
+ .label {
5
+ display: inline-block;
6
+ padding: 4px 8px;
7
+ border-radius: 5px;
8
+ font-size: 12px;
9
+ font-weight: bold;
10
+ }
11
11
  </style>
@@ -1,10 +1,10 @@
1
- component: default
2
- # title: Мій підпис
3
- tokens:
4
- id: { id: "{{id}}" }
5
- panels:
6
- - type: container
7
- col: 12
8
- items:
9
- - name: general_info
1
+ component: default
2
+ # title: Мій підпис
3
+ tokens:
4
+ id: { id: "{{id}}" }
5
+ panels:
6
+ - type: container
7
+ col: 12
8
+ items:
9
+ - name: general_info
10
10
  title: Загальна інформація
@@ -1,15 +1,15 @@
1
- {
2
- "schema": {
3
- "user_id": {
4
- "type": "Autocomplete",
5
- "data": "billing.user_id",
6
- "ua": "Користувач",
7
- "validators": [
8
- "required"
9
- ]
10
- }
11
- },
12
- "style": {
13
- "label": "vertical"
14
- }
1
+ {
2
+ "schema": {
3
+ "user_id": {
4
+ "type": "Autocomplete",
5
+ "data": "billing.user_id",
6
+ "ua": "Користувач",
7
+ "validators": [
8
+ "required"
9
+ ]
10
+ }
11
+ },
12
+ "style": {
13
+ "label": "vertical"
14
+ }
15
15
  }
@@ -1,31 +1,31 @@
1
- {
2
- "schema": {
3
- "account_name": {
4
- "type": "Text",
5
- "ua": "Назва організації",
6
- "validators": [
7
- "required"
8
- ]
9
- },
10
- "account_edrpou": {
11
- "type": "Text",
12
- "ua": "ЄДРПОУ"
13
- },
14
- "account_email": {
15
- "type": "Text",
16
- "ua": "Пошта організації",
17
- "i": "Повідомлення про статус платежів будуть надіслані на дану ел. адресу",
18
- "validators": [
19
- "required"
20
- ]
21
- },
22
- "enabled": {
23
- "type": "Switcher",
24
- "default": true,
25
- "ua": "On / Off"
26
- }
27
- },
28
- "style": {
29
- "label": "vertical"
30
- }
1
+ {
2
+ "schema": {
3
+ "account_name": {
4
+ "type": "Text",
5
+ "ua": "Назва організації",
6
+ "validators": [
7
+ "required"
8
+ ]
9
+ },
10
+ "account_edrpou": {
11
+ "type": "Text",
12
+ "ua": "ЄДРПОУ"
13
+ },
14
+ "account_email": {
15
+ "type": "Text",
16
+ "ua": "Пошта організації",
17
+ "i": "Повідомлення про статус платежів будуть надіслані на дану ел. адресу",
18
+ "validators": [
19
+ "required"
20
+ ]
21
+ },
22
+ "enabled": {
23
+ "type": "Switcher",
24
+ "default": true,
25
+ "ua": "On / Off"
26
+ }
27
+ },
28
+ "style": {
29
+ "label": "vertical"
30
+ }
31
31
  }
@@ -1,23 +1,23 @@
1
- {
2
- "schema": {
3
- "payment_amount": {
4
- "type": "Number",
5
- "min": 0,
6
- "ua": "Сума платежу",
7
- "validators": [
8
- "required"
9
- ]
10
- },
11
- "account_id": {
12
- "type": "Autocomplete",
13
- "data": "billing.account_id",
14
- "ua": "Назва організації",
15
- "validators": [
16
- "required"
17
- ]
18
- }
19
- },
20
- "style": {
21
- "label": "vertical"
22
- }
1
+ {
2
+ "schema": {
3
+ "payment_amount": {
4
+ "type": "Number",
5
+ "min": 0,
6
+ "ua": "Сума платежу",
7
+ "validators": [
8
+ "required"
9
+ ]
10
+ },
11
+ "account_id": {
12
+ "type": "Autocomplete",
13
+ "data": "billing.account_id",
14
+ "ua": "Назва організації",
15
+ "validators": [
16
+ "required"
17
+ ]
18
+ }
19
+ },
20
+ "style": {
21
+ "label": "vertical"
22
+ }
23
23
  }
@@ -1,39 +1,39 @@
1
- {
2
- "schema": {
3
- "sur_name": {
4
- "type": "Text",
5
- "ua": "Прізвище",
6
- "validators": [
7
- "required"
8
- ]
9
- },
10
- "user_name": {
11
- "type": "Text",
12
- "ua": "Ім'я",
13
- "validators": [
14
- "required"
15
- ]
16
- },
17
- "father_name": {
18
- "type": "Text",
19
- "ua": "По-батькові"
20
- },
21
- "email": {
22
- "type": "Text",
23
- "ua": "Email"
24
- },
25
- "phone": {
26
- "type": "MarkedText",
27
- "mask": "+389999999999",
28
- "ua": "Номер телефону"
29
- },
30
- "enabled": {
31
- "type": "Switcher",
32
- "default": true,
33
- "ua": "On / Off"
34
- }
35
- },
36
- "style": {
37
- "label": "vertical"
38
- }
1
+ {
2
+ "schema": {
3
+ "sur_name": {
4
+ "type": "Text",
5
+ "ua": "Прізвище",
6
+ "validators": [
7
+ "required"
8
+ ]
9
+ },
10
+ "user_name": {
11
+ "type": "Text",
12
+ "ua": "Ім'я",
13
+ "validators": [
14
+ "required"
15
+ ]
16
+ },
17
+ "father_name": {
18
+ "type": "Text",
19
+ "ua": "По-батькові"
20
+ },
21
+ "email": {
22
+ "type": "Text",
23
+ "ua": "Email"
24
+ },
25
+ "phone": {
26
+ "type": "MarkedText",
27
+ "mask": "+389999999999",
28
+ "ua": "Номер телефону"
29
+ },
30
+ "enabled": {
31
+ "type": "Switcher",
32
+ "default": true,
33
+ "ua": "On / Off"
34
+ }
35
+ },
36
+ "style": {
37
+ "label": "vertical"
38
+ }
39
39
  }
@@ -1,24 +1,24 @@
1
- [
2
- {
3
- "ua": "Платежі / Payments",
4
- "menu": [
5
- {
6
- "ua": "Реєстр платежів",
7
- "table": "billing.payments.table",
8
- "path": "billing.payments"
9
- },
10
- {
11
- "ua": "Реєстр організацій",
12
- "table": "billing.accounts.table",
13
- "path": "billing.accounts"
14
- },
15
- {
16
- "ua": "Реєстр користувачів",
17
- "table": "billing.users.table",
18
- "path": "billing.users"
19
- }
20
- ]
21
- }
22
- ]
23
-
24
-
1
+ [
2
+ {
3
+ "ua": "Платежі / Payments",
4
+ "menu": [
5
+ {
6
+ "ua": "Реєстр платежів",
7
+ "table": "billing.payments.table",
8
+ "path": "billing.payments"
9
+ },
10
+ {
11
+ "ua": "Реєстр організацій",
12
+ "table": "billing.accounts.table",
13
+ "path": "billing.accounts"
14
+ },
15
+ {
16
+ "ua": "Реєстр користувачів",
17
+ "table": "billing.users.table",
18
+ "path": "billing.users"
19
+ }
20
+ ]
21
+ }
22
+ ]
23
+
24
+
@@ -1,61 +1,61 @@
1
- {
2
- "key": "account_id",
3
- "table": "billing.accounts",
4
- "order": "cdate desc",
5
- "form": "billing.accounts.form",
6
- "title_column": "account_name",
7
- "title_full": {
8
- "ua": "Реєстр організацій"
9
- },
10
- "actions": [
11
- "add",
12
- "edit",
13
- "del"
14
- ],
15
- "columns": [
16
- {
17
- "name": "account_name",
18
- "format": "text",
19
- "title": "Назва організації"
20
- },
21
- {
22
- "name": "account_edrpou",
23
- "format": "text",
24
- "title": "ЄДРПОУ"
25
- },
26
- {
27
- "name": "account_email",
28
- "format": "text",
29
- "title": "Email"
30
- },
31
- {
32
- "name": "enabled",
33
- "hidden": true,
34
- "format": "yes/no",
35
- "title": "On / off"
36
- }
37
- ],
38
- "filter_list": [
39
- {
40
- "name": "account_name",
41
- "type": "Text",
42
- "ua": "Назва організації"
43
- },
44
- {
45
- "name": "account_edrpou",
46
- "type": "Text",
47
- "ua": "ЄДРПОУ"
48
- },
49
- {
50
- "name": "account_email",
51
- "type": "Text",
52
- "ua": "Email"
53
- },
54
- {
55
- "name": "enabled",
56
- "type": "Check",
57
- "data": "yes_no",
58
- "ua": "On / off"
59
- }
60
- ]
1
+ {
2
+ "key": "account_id",
3
+ "table": "billing.accounts",
4
+ "order": "cdate desc",
5
+ "form": "billing.accounts.form",
6
+ "title_column": "account_name",
7
+ "title_full": {
8
+ "ua": "Реєстр організацій"
9
+ },
10
+ "actions": [
11
+ "add",
12
+ "edit",
13
+ "del"
14
+ ],
15
+ "columns": [
16
+ {
17
+ "name": "account_name",
18
+ "format": "text",
19
+ "title": "Назва організації"
20
+ },
21
+ {
22
+ "name": "account_edrpou",
23
+ "format": "text",
24
+ "title": "ЄДРПОУ"
25
+ },
26
+ {
27
+ "name": "account_email",
28
+ "format": "text",
29
+ "title": "Email"
30
+ },
31
+ {
32
+ "name": "enabled",
33
+ "hidden": true,
34
+ "format": "yes/no",
35
+ "title": "On / off"
36
+ }
37
+ ],
38
+ "filter_list": [
39
+ {
40
+ "name": "account_name",
41
+ "type": "Text",
42
+ "ua": "Назва організації"
43
+ },
44
+ {
45
+ "name": "account_edrpou",
46
+ "type": "Text",
47
+ "ua": "ЄДРПОУ"
48
+ },
49
+ {
50
+ "name": "account_email",
51
+ "type": "Text",
52
+ "ua": "Email"
53
+ },
54
+ {
55
+ "name": "enabled",
56
+ "type": "Check",
57
+ "data": "yes_no",
58
+ "ua": "On / off"
59
+ }
60
+ ]
61
61
  }