Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitrix
AmiBX
Commits
27a4bafa
Commit
27a4bafa
authored
Nov 30, 2021
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change InstallerEnd
parent
94bdb173
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
configure.php
template/configure.php
+1
-1
AloVoiceConnector.php
vendor/alovoice/src/AloVoiceConnector.php
+3
-0
tgm.log
vendor/tg/src/tgm.log
+3
-1
No files found.
template/configure.php
View file @
27a4bafa
<?php
namespace
AloVoice
;
include
(
"header.php"
);
?>
<?php
namespace
AloVoice
;
include
(
"header.php"
);
?>
<?php
if
(
$this
->
isAmi
)
{
?>
<?php
if
(
$this
->
isAmi
||
$this
->
appInstalled
)
{
?>
<script
src=
"//api.bitrix24.com/api/v1/"
></script>
<script
src=
"//api.bitrix24.com/api/v1/"
></script>
<script>
BX24
.
init
(
function
(){
BX24
.
installFinish
();
location
.
href
=
'
<?=
$this
->
alvhost
?>
'
;
});
</script>
<script>
BX24
.
init
(
function
(){
BX24
.
installFinish
();
location
.
href
=
'
<?=
$this
->
alvhost
?>
'
;
});
</script>
<?php
}
else
{
?>
<?php
}
else
{
?>
...
...
vendor/alovoice/src/AloVoiceConnector.php
View file @
27a4bafa
...
@@ -12,6 +12,7 @@ class AloVoiceConnector
...
@@ -12,6 +12,7 @@ class AloVoiceConnector
public
$alvhost
;
public
$alvhost
;
public
$configFile
;
public
$configFile
;
public
$isAmi
;
public
$isAmi
;
public
$appInstalled
;
public
$isAdmin
;
public
$isAdmin
;
public
$alvagents
;
public
$alvagents
;
...
@@ -26,6 +27,7 @@ class AloVoiceConnector
...
@@ -26,6 +27,7 @@ class AloVoiceConnector
$this
->
settings
=
false
;
$this
->
settings
=
false
;
$this
->
configs
=
$this
->
getConfigs
();
$this
->
configs
=
$this
->
getConfigs
();
$this
->
isAmi
=
false
;
$this
->
isAmi
=
false
;
$this
->
appInstalled
=
false
;
$this
->
isAdmin
=
false
;
$this
->
isAdmin
=
false
;
$this
->
alvagents
=
[];
$this
->
alvagents
=
[];
}
}
...
@@ -268,6 +270,7 @@ class AloVoiceConnector
...
@@ -268,6 +270,7 @@ class AloVoiceConnector
$isAmi
=
$alvAction
->
checkAmi
();
$isAmi
=
$alvAction
->
checkAmi
();
$this
->
isAmi
=
(
!
empty
(
$isAmi
))
?
true
:
false
;
$this
->
isAmi
=
(
!
empty
(
$isAmi
))
?
true
:
false
;
}
}
$this
->
appInstalled
=
true
;
$this
->
goConfigurePage
();
$this
->
goConfigurePage
();
return
true
;
return
true
;
}
}
...
...
vendor/tg/src/tgm.log
View file @
27a4bafa
...
@@ -129648,3 +129648,5 @@ arr: []
...
@@ -129648,3 +129648,5 @@ arr: []
2021.11.30 18:44:20 - str:aTG: Sending TG message : [{"toid":"$02000000706066180000000000000000","message":"Rasx: 00405\/20208000200610740001 -> 00405\/Nachislennye %% \"TECHNOUNIT-GROUP\" MCHJ - 25 500.00 (00668 Pogashenie za Oper.Kass.Obsl.-25500.00, Ost: 15 430 104.00;"}]
2021.11.30 18:44:20 - str:aTG: Sending TG message : [{"toid":"$02000000706066180000000000000000","message":"Rasx: 00405\/20208000200610740001 -> 00405\/Nachislennye %% \"TECHNOUNIT-GROUP\" MCHJ - 25 500.00 (00668 Pogashenie za Oper.Kass.Obsl.-25500.00, Ost: 15 430 104.00;"}]
------------------------
------------------------
2021.11.30 18:44:24 - str:aTG: Sending TG message : [{"toid":"$02000000706066180000000000000000","message":"Rasx: 00405\/20208000200610740001 -> 00405\/Nachislennye %% \"TECHNOUNIT-GROUP\" MCHJ - 300.00 (00668 Pogashenie za Oper.Kass.Obsl.-300.00 s su, Ost: 15 429 804.00;"}]
2021.11.30 18:44:24 - str:aTG: Sending TG message : [{"toid":"$02000000706066180000000000000000","message":"Rasx: 00405\/20208000200610740001 -> 00405\/Nachislennye %% \"TECHNOUNIT-GROUP\" MCHJ - 300.00 (00668 Pogashenie za Oper.Kass.Obsl.-300.00 s su, Ost: 15 429 804.00;"}]
------------------------
2021.11.30 21:06:23 - str:aTG: Sending TG message : [{"toid":"$02000000706066180000000000000000","message":"Rasx: 00405\/20208000200610740001 -> 00405\/Nachislennye %% \"TECHNOUNIT-GROUP\" MCHJ - 54 000.00 (00668 Abonentskaya plata za Bank Klient za n, Ost: 15 375 804.00;"}]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment