Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
880d8788
Verified
Commit
880d8788
authored
6 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
External SB controller
parent
2e0e4cf8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/maarch_entreprise/actions/sendToExternalSignatureBook.php
+26
-2
26 additions, 2 deletions
...maarch_entreprise/actions/sendToExternalSignatureBook.php
modules/visa/class/IxbusController.php
+27
-0
27 additions, 0 deletions
modules/visa/class/IxbusController.php
with
53 additions
and
2 deletions
apps/maarch_entreprise/actions/sendToExternalSignatureBook.php
+
26
−
2
View file @
880d8788
...
@@ -2,13 +2,37 @@
...
@@ -2,13 +2,37 @@
$confirm
=
true
;
$confirm
=
true
;
$etapes
=
[
'send'
];
$etapes
=
[
'form'
];
function
get_form_txt
(
$values
,
$path_manage_action
,
$id_action
,
$table
,
$module
,
$coll_id
,
$mode
)
{
if
(
file_exists
(
"custom/
{
$_SESSION
[
'custom_override_id'
]
}
/modules/visa/xml/remoteSignatoryBooks.xml"
))
{
$path
=
"custom/
{
$_SESSION
[
'custom_override_id'
]
}
/modules/visa/xml/remoteSignatoryBooks.xml"
;
}
else
{
$path
=
'modules/visa/xml/remoteSignatoryBooks.xml'
;
}
$config
=
[];
if
(
file_exists
(
$path
))
{
$loadedXml
=
simplexml_load_file
(
$path
);
if
(
$loadedXml
)
{
$config
[
'id'
]
=
(
string
)
$loadedXml
->
signatoryBookEnabled
;
}
}
if
(
$config
[
'id'
]
==
'ixbus'
)
{
include_once
'modules/visa/class/IxbusController.php'
;
$html
=
IxbusController
::
getModal
();
}
return
addslashes
(
$html
);
}
function
manage_send
(
$aId
)
function
manage_send
(
$aId
)
{
{
$result
=
''
;
$result
=
''
;
$xmlPostString
=
'<?xml version="1.0" encoding="utf-8"?>
$xmlPostString
=
'<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Body>
...
...
This diff is collapsed.
Click to expand it.
modules/visa/class/IxbusController.php
0 → 100644
+
27
−
0
View file @
880d8788
<?php
/**
* Copyright Maarch since 2008 under licence GPLv3.
* See LICENCE.txt file at the root folder for more details.
* This file is part of Maarch software.
*
*/
/**
* @brief Ixbus Controller
* @author dev@maarch.org
*/
class
IxbusController
{
public
static
function
getModal
()
{
$html
=
'<div align="center">'
;
$html
.
=
'<input type="button" name="cancel" id="cancel" class="button" value="valider"/>'
;
$html
.
=
'<input type="button" name="cancel" id="cancel" class="button" value="annuler"/>'
;
$html
.
=
'</div>'
;
return
$html
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment