diff --git a/config/modules.json b/config/modules.json index edbc85a..0a39688 100755 --- a/config/modules.json +++ b/config/modules.json @@ -106,7 +106,7 @@ "chart": { - "communication_direction": { + "direction": { "description": "Renvoie les données pour un graphique sur les sens de communications", "permissions": ["admin"], "parameters": { @@ -114,7 +114,7 @@ } }, - "communication_type": { + "type": { "description": "Renvoie les données pour un graphique sur les types de communications", "permissions": ["admin"], "parameters": { diff --git a/manager/module/chart.php b/manager/module/chart.php index 8e18421..324c97a 100755 --- a/manager/module/chart.php +++ b/manager/module/chart.php @@ -14,7 +14,7 @@ /* RETOURNE UN JEU DE DONNEES POUR LE SENS DE COMMUNICATION (MANQUE/ENTRANT/SORTANT) * */ - public static function communication_direction($params){ + public static function direction($params){ extract($params); $subject = intval($subject); @@ -80,7 +80,7 @@ /* RETOURNE UN JEU DE DONNEES POUR LE TYPE DE COMMUNICATION (APPEL/SMS) * */ - public static function communication_type($params){ + public static function type($params){ extract($params); $subject = intval($subject); diff --git a/test-charts/all.php b/test-charts/all.php index 8256769..62c1b8c 100644 --- a/test-charts/all.php +++ b/test-charts/all.php @@ -66,7 +66,7 @@ =========================================================*/ /* (1) On rédige la requête */ var request = { - path: 'chart/communication_direction', + path: 'chart/direction', subject: 273 } @@ -102,7 +102,7 @@ =========================================================*/ /* (1) On rédige la requête */ var request = { - path: 'chart/communication_type', + path: 'chart/type', subject: 273 } diff --git a/test-charts/communication-direction.php b/test-charts/direction.php similarity index 97% rename from test-charts/communication-direction.php rename to test-charts/direction.php index e38b2c3..e4beee0 100644 --- a/test-charts/communication-direction.php +++ b/test-charts/direction.php @@ -21,7 +21,7 @@ =========================================================*/ /* (1) On rédige la requête */ var request = { - path: 'chart/communication_direction', + path: 'chart/direction', subject: 273 } diff --git a/test-charts/communication-type.php b/test-charts/type.php similarity index 97% rename from test-charts/communication-type.php rename to test-charts/type.php index 89abc92..efca11e 100644 --- a/test-charts/communication-type.php +++ b/test-charts/type.php @@ -21,7 +21,7 @@ =========================================================*/ /* (1) On rédige la requête */ var request = { - path: 'chart/communication_type', + path: 'chart/type', subject: 273 }