]> _ Git - cubeextranet.git/commitdiff
wip #6068 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 21 Jun 2023 12:46:03 +0000 (12:46 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 21 Jun 2023 12:46:03 +0000 (12:46 +0000)
inc/extranet/Controlleur/class.extranet.url.php
inc/ws/Controlleur/class.ws.url.php

index b86094524fd2349f16e8d1d4868464dfb87b5d31..df6a40b25da0292a200d7e5a051d1da527d8f807 100644 (file)
@@ -6,6 +6,9 @@ class extranetUrl
     public static function clients($args)
     {
         global $core;
+        header('Location: https://toolbox.fluidbook.com/company');
+        exit;
+
         cubePage::truePopup();
         cubePage::autoComplete();
         cubePage::emptyfield();
index 677d14cd2d46a61ac858e67aa629e803724b2381..de85a15aea133f0138b07bbb6dce9b0b2d536948 100644 (file)
@@ -1165,7 +1165,7 @@ html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-co
 
 
         $book = $dao->selectById($book_id);
-        if (null===$book || ($hash != 'bcf26f9cf4a795ec00b9a44f42750d58' && $book->hash != $hash)) {
+        if (null === $book || ($hash != 'bcf26f9cf4a795ec00b9a44f42750d58' && $book->hash != $hash)) {
             commonDroits::error();
         }
 
@@ -1503,11 +1503,14 @@ html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-co
     {
         global $core;
 
+        header('Location: https://toolbox.fluidbook.com/company');
+        exit;
+
         cubePage::truePopup();
         cubePage::autoComplete();
         cubePage::emptyfield();
         commonDroits::min(3);
-        if(!wsDroits::canManageClients()){
+        if (!wsDroits::canManageClients()) {
             commonDroits::error();
         }
         $settings = $core->user->getSettings('clients_ws');
@@ -1536,7 +1539,7 @@ html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-co
     {
         global $core;
         commonDroits::min(3);
-        if(!wsDroits::canManageClients()){
+        if (!wsDroits::canManageClients()) {
             commonDroits::error();
         }
         $settings = is_null($settings) ? $core->user->getSettings('clients_ws') : $settings;
@@ -1626,7 +1629,7 @@ html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-co
     {
         global $core;
         commonDroits::min(3);
-        if(!wsDroits::canManageClients()){
+        if (!wsDroits::canManageClients()) {
             commonDroits::error();
         }
         $dao = new commonDAOEntreprise($core->con);
@@ -1701,7 +1704,7 @@ html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-co
     {
         global $core;
         commonDroits::min(3);
-        if(!wsDroits::canManageClients()){
+        if (!wsDroits::canManageClients()) {
             commonDroits::error();
         }
         $dao = new commonDAOEntreprise($core->con);
@@ -1743,7 +1746,7 @@ html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-co
     {
         global $core;
         commonDroits::min(3);
-        if(!wsDroits::canManageClients()){
+        if (!wsDroits::canManageClients()) {
             commonDroits::error();
         }
 
@@ -1784,7 +1787,7 @@ html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-co
 
     public static function demandes()
     {
-        if(!wsDroits::canManageClients()){
+        if (!wsDroits::canManageClients()) {
             commonDroits::error();
         }
         http::redirect('https://toolbox.fluidbook.com/fluidbook-quote');