PEEL Shopping
Open source ecommerce : PEEL Shopping
fonctions.php
Go to the documentation of this file.
1 <?php
2 // This file should be in UTF8 without BOM - Accents examples: éèê
3 // +----------------------------------------------------------------------+
4 // | Copyright (c) 2004-2015 Advisto SAS, service PEEL - contact@peel.fr |
5 // +----------------------------------------------------------------------+
6 // | This file is part of PEEL Shopping 8.0.0, which is subject to an |
7 // | opensource GPL license: you are allowed to customize the code |
8 // | for your own needs, but must keep your changes under GPL |
9 // | More information: https://www.peel.fr/lire/licence-gpl-70.html |
10 // +----------------------------------------------------------------------+
11 // | Author: Advisto SAS, RCS 479 205 452, France, https://www.peel.fr/ |
12 // +----------------------------------------------------------------------+
13 // $Id: fonctions.php 46935 2015-09-18 08:49:48Z gboussin $
14 
15 if (!defined('IN_PEEL')) {
16  die();
17 }
18 
25 function kekoli_hook_admin_menu_items($params) {
26  $result['menu_items']['sales_general'][$GLOBALS['wwwroot_in_admin'] . '/modules/kekoli/administrer/kekoli.php'] = $GLOBALS["STR_ADMIN_MENU_SALES_SALES_EXPORT"];
27  return $result;
28 }
29 
37 function convertToDateClotureBordereau($cmd_date, $availability_of_carrier)
38 {
39  $cmd_date_in_seconde = strtotime($cmd_date);
40  $nb_days_in_second = $availability_of_carrier * 24 * 60 * 60 ;
41 
42  return date('d/m/Y', $cmd_date_in_seconde + $nb_days_in_second);
43 }
$result
if(!defined('IN_PEEL')) $GLOBALS['page_types_array']
Definition: fonctions.php:19
convertToDateClotureBordereau($cmd_date, $availability_of_carrier)
Conversion de valeur de availability_of_carrier pour le champ DateClotureBordereau.
Definition: fonctions.php:37
if(!defined('IN_PEEL')) kekoli_hook_admin_menu_items($params)
Renvoie les éléments de menu affichables.
Definition: fonctions.php:25

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:30:59 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.