21 lines
672 B
PHP
21 lines
672 B
PHP
|
<?php
|
||
|
/**
|
||
|
* MODULE PRESTASHOP OFFICIEL CHRONOPOST
|
||
|
*
|
||
|
* LICENSE : All rights reserved - COPY AND REDISTRIBUTION FORBIDDEN WITHOUT PRIOR CONSENT FROM OXILEO
|
||
|
* LICENCE : Tous droits réservés, le droit d'auteur s'applique - COPIE ET REDISTRIBUTION INTERDITES SANS ACCORD EXPRES D'OXILEO
|
||
|
*
|
||
|
* @author Oxileo SAS <contact@oxileo.eu>
|
||
|
* @copyright 2001-2014 Oxileo SAS
|
||
|
* @license Proprietary - no redistribution without authorization
|
||
|
*/
|
||
|
|
||
|
require('../../../config/config.inc.php');
|
||
|
require('../chronopost.php');
|
||
|
header('Content-type: text/plain');
|
||
|
|
||
|
if(!Tools::getIsset('orderid')) die('Parameter Error');
|
||
|
|
||
|
echo Chronopost::minNumberOfPackages(Tools::getValue('orderid'));
|
||
|
|
||
|
?>
|