This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
<?php
//ini_set('display_errors', '1');
//error_reporting(E_ALL);
class EcmServicesController extends SugarController {
/**
* Close service.
*/
public function action_close() {
if (!empty($_REQUEST['uid'])) {
$url = 'index.php?module=EcmServices&action=action_close&uid=' . $_REQUEST['uid'];
header("Location: $url");
}
sugar_die('');
}
/**
* FK.
*/
public function action_invoice() {
if (!empty($_REQUEST['uid'])) {
$url = 'index.php?module=EcmServices&action=action_invoice&uid=' . $_REQUEST['uid'];
//$url = 'index.php?module=EcmInvoiceOuts&action=EditView&parent_doc_type=EcmServices&uid=' . $_REQUEST['uid'];
header("Location: $url");
}
sugar_die('');
}
/**
* RW.
*/
public function action_rw() {
if (!empty($_REQUEST['uid'])) {
$url = 'index.php?module=EcmServices&action=action_rw&uid=' . $_REQUEST['uid'];
//$url = 'index.php?module=EcmStockDocInsideOuts&action=EditView&parent_doc_type=EcmServices&uid=' . $_REQUEST['uid'];
header("Location: $url");
}
sugar_die('');
}
}