Beispiel #1
0
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 Order plugin is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with GLPI; along with Order. If not, see <http://www.gnu.org/licenses/>.
 --------------------------------------------------------------------------
 @package   order
 @author    the order plugin team
 @copyright Copyright (c) 2010-2015 Order plugin team
 @license   GPLv2+
            http://www.gnu.org/licenses/gpl.txt
 @link      https://forge.indepnet.net/projects/order
 @link      http://www.glpi-project.org/
 @since     2009
 ---------------------------------------------------------------------- */
include "../../../inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
Html::header_nocache();
if (!defined('GLPI_ROOT')) {
    die("Can not acces directly to this file");
}
Session::checkCentralAccess();
$params = array('itemtype' => $_POST['itemtype'], 'orders_id' => $_POST['orders_id'], 'suppliers_id' => $_POST['suppliers_id'], 'entity' => $_POST['entity_restrict'], 'span' => $_POST['span'], 'action' => $CFG_GLPI["root_doc"] . "/plugins/order/ajax/detail.php", 'condition' => '');
$ref = new PluginOrderReference();
$ref->dropdownReferencesByEnterprise("PluginOrderReference", $params);