si on modifie le (1), il faut modifier le (2) en conséquence * */ // - 1) Les champs FK utilisés dans la recherche const CONTAIN_FOR_SEARCH = ['Sites', 'Fournisseurs', 'Categories', 'Organismes', 'Projets', 'Users']; // - 2) Les champs (directs et FK) utilisés comme colonnes TRIABLES //const LIMIT = 20; const LIMIT_MAX = 1000; const SORT_LIST_FOR_SEARCH = [ // Nb éléments par page //'limit' => LIMIT, // Nb éléments en tout (on en récupère pas plus pour éviter de saturer la RAM) 'maxLimit' => self::LIMIT_MAX, 'sortWhitelist' => [ // - Champs directs 'designation', 'numero_laboratoire', // tutelle 'numero_inventaire_organisme', 'numero_commande', //'nom_responsable', 'nom_user', 'status', 'date_acquisition', 'prix_ht', //'etiquette', //'lieu_detail', // - Champs FK (HasOne only) : les champs cités ici doivent être présents dans le (1) : // Si c'était possible, il faudrait faire qqch comme : // isset(self::CONTAIN_FOR_SEARCH['Sites']) ? 'Sites.nom' : null, 'Sites.nom', 'Categories.nom', // Gestionnaire 'Users.nom', 'Fournisseurs.nom', //'Organismes.nom', //'Projets.nom', ], 'order' => [ 'numero_laboratoire' => 'desc' // ATTENTION, écrit comme ceci ca rentrait en conflit avec la colonne de tri numero_laboratoire... //'Materiels.numero_laboratoire' => 'desc' ], ]; // SORT_LIST_FOR_SEARCH //const CREATED = 1; const CREATED = 0; const TOBEORDERED = 1; const VALIDATED = 2; const TOBEARCHIVED = 3; const ARCHIVED = 4; const statuses = [ 'CREATED' => self::CREATED, 'TOBEORDERED' => self::TOBEORDERED, 'VALIDATED' => self::VALIDATED, 'TOBEARCHIVED' => self::TOBEARCHIVED, 'ARCHIVED' => self::ARCHIVED ]; const statuses_color = [ //'CREATED' => 'blue', 'CREATED' => 'orange', 'TOBEORDERED' => 'red', 'VALIDATED' => 'black', 'TOBEARCHIVED' => 'red', 'ARCHIVED' => 'blue' ]; /* const statuses_display = [ //'CREATED' => 'A commander', 'CREATED' => 'Fiche créée', 'TOBEORDERED' => 'Commandé', 'VALIDATED' => 'Livré, validé', 'TOBEARCHIVED' => 'A archiver', 'ARCHIVED' => 'Archivé' ]; */ // - ATTRIBUTS VARIABLES /* // Nom singulier affichable pour cette entité // @Override public function getNiceNameSingularLowerCase() { return "matériel"; } */ // Nom pluriel affichable pour cette entité //@Override public function getNiceNamePluralLowerCase($alias_controller_name=null) { return 'matériels'; } private $NOTARCHIVED = [ 'CREATED', 'TOBEORDERED', 'VALIDATED', 'TOBEARCHIVED' ]; // EP 08/2017 private $FIELDS = array( 'name', 'description', 'prix_ht' // ... ); // EP 08/2017 // protected $easyACL = array( const OLD_easyACL = array( /** * Default ACL for ALL (logged) users * * Les actions non mentionnées sont accessibles à tous (par défaut), * exemple 'find', 'index'... * Ces default ACL peuvent être surchargées pour un profil précis * (par exemple pour 'USER' qui est plus restreint) */ // 'ALL' => array ( 'DEFAULT' => array( // 'action' => 'condition for execution' (= 'Y', 'N', or ''), // with like "'field name' == 'value'" // !!! Used for test, DO NOT REMOVE : !!! 'action_CAS2_Y' => 'Y', 'action_CAS2_N' => 'N', // YOUR RULES : // CRUD actions : // 'index' => 'Y', // read all // 'view' => 'Y', // read one // 'add' => 'Y', // create // 'find' => 'Y', // create 'edit' => '(status == CREATED || status == VALIDATED)', // update 'delete' => '(status == CREATED)' ), // Ajoute des ACL plus spécifiques (ci-dessus) pour le profil USER qui est plus restreint // Les actions absentes ne sont pas surchargées (elles sont exécutées selon les conditions définies pour 'ALL') 'USER' => array( // !!! Used for test, DO NOT REMOVE : !!! 'action_CAS1_Y' => 'Y', 'action_CAS1_N' => 'N', 'action_CAS6_resp_Y' => 'Y', 'action_CAS6_resp_N' => 'N', // YOUR RULES : 'edit' => '&& (is_creator || is_user)', // is_owner = (nom_createur == CURRENT_USER_NAME) // except fields status, owner, etiquette, and admin data, VALIDATED (only some fields, cf $modifiableFields in View/Materiels/scaffold.form.ctp) 'delete' => '&& is_owner', /* ceci n'a aucun sens car l'action sur le modèle "Pages" s'appelle toujours "display" (et non pas tools, infos, ou printers...) 'tools' => 'N', 'infos' => 'N', 'printers' => 'N', */ 'statusCreated' => 'N', // Dé-valider (in-valider), rétrograder le statut (admin+) 'statusValidated' => 'N', // Valider (admin+) 'statusTobearchived' => 'Y', // Demander la sortie de l'inventaire 'statusArchived' => 'N', // Sortir de l'inventaire, archiver (admin+) 'execActions' => 'N' // calls updateSelectedStatus() (admin+) ), // Surcharge des ACL par défaut (ci-dessus) pour le profil RESPONSABLE qui est plus restreint // Les actions absentes ne sont pas surchargées (elles sont exécutées selon les conditions définies pour 'ALL') 'RESPONSABLE' => array( // !!! Used for test, DO NOT REMOVE : !!! 'action_CAS6_admin_Y' => 'Y', 'action_CAS6_admin_N' => 'N', // YOUR RULES : 'edit' => '&& is_resp' // is_owner = (nom_createur == CURRENT_USER_NAME) // 'delete' => 'is_resp && (status == CREATED)', // Valider les matos dont il est responsable : // is_resp = (groupe_thematique == CURRENT_USER_NAME.groupe_thematique [[ groupe_metier == CURRENT_USER_NAME.groupe_metier) // 'statusValidated' => 'N', ), // Surcharge des ACL par défaut (ci-dessus) pour le profil ADMIN 'ADMIN' => array( // 'execActions' => 'Y', // calls updateSelectedStatus(), admin+ // 'add' => 'Y', // create // 'edit' => '(status == CREATED || status == VALIDATED)', // update // 'edit' => '=ALL', // update // 'delete' => '=ALL', // update 'statusCreated' => 'Y', // Dé-valider (in-valider), rétrograder le statut (admin+) 'statusValidated' => 'Y', // Valider (admin+) 'statusTobearchived' => 'Y', // Demander la sortie de l'inventaire 'statusArchived' => 'Y', // Sortir de l'inventaire, archiver (admin+) 'execActions' => 'Y' // calls updateSelectedStatus() (admin+) ), /* // Surcharge des ACL par défaut (ci-dessus) pour le profil ADMINPLUS 'ADMINPLUS' => array( // 'edit' => 'Y', // update ), */ // Surcharge des ACL par défaut (ci-dessus) pour le profil SUPERADMIN 'SUPERADMIN' => array( //'statusArchived' => 'Y', // Sortir de l'inventaire, archiver (admin+) // 'execActions' => 'Y', // calls updateSelectedStatus(), admin+ // 'add' => 'Y', // create // 'edit' => 'Y', // update // 'delete' => 'Y', ) ); // $ACL /* * Toute première méthode appelée, * * AVANT authentification * */ public function initialize() { $this->myDebug("step 0A (specific): MaterielsController.initialize()"); //$this->loadComponent('RequestHandler'); parent::initialize(); // On autorise l'action add SANS authentification (unauthenticated) //$this->Auth->allow(['add']); } // @override parent // Default 'contain' protected function getMinimumListOfRelatedEntitiesToLoad() { return [ 'SurCategories', 'Categories', 'SousCategories' ]; } /* * Cette méthode est appelée pendant l’event Controller.initialize qui se produit avant chaque action du controller. * C’est un endroit pratique pour vérifier le statut d’une session ou les permissions d’un utilisateur. * Attention: La méthode beforeFilter() sera appelée pour les actions manquantes. * Retourner une réponse à partir d’une méthode beforeFilter ne va pas empêcher l’appel des autres écouteurs du même event. * Vous devez explicitement stopper l’event (cf https://book.cakephp.org/3.0/fr/controllers.html) * */ //use Cake\Event\Event; public function beforeFilter(\Cake\Event\Event $event) { $this->myDebug("step 1A (specific): MaterielsController.beforeFilter()"); parent::beforeFilter($event); // Si on veut autoriser des actions SANS connexion, suffit de décommenter cette ligne //$this->LdapAuth->allow([ 'view', 'index' ]); } /* * EP added 13/6/17 * Set some useful global variables for all (Materiel) views * Overload beforeRender() * * Cette méthode est appelée pendant l’event Controller.beforeRender qui se produit * APRES l’action du controller mais AVANT que la vue ne soit rendue. * Ce callback n’est pas souvent utilisé, mais peut-être nécessaire si vous appelez render() manuellement à la fin d’une action donnée * * Voir aussi beforeFilter() appellée AVANT l'action du controller */ public function beforeRender(\Cake\Event\Event $event) { $this->myDebug("step 4A (specific) : MaterielsController.beforeRender() - [step 3 = action() si existe]"); parent::beforeRender($event); // $this->layout = 'default'; $this->set('CREATED', self::CREATED); $this->set('TOBEORDERED', self::TOBEORDERED); $this->set('VALIDATED', self::VALIDATED); $this->set('TOBEARCHIVED', self::TOBEARCHIVED); $this->set('ARCHIVED', self::ARCHIVED); /* $CAN_EDIT = $IS_CREATED && ( $USER_IS_ADMIN_OR_MORE || $USER_IS_UTILISATEUR_AND_CREATOR_OR_OWNER || $USER_IS_RESPONSABLE_AND_SAME_GROUP || $USER_IS_RESPONSABLE_AND_CREATOR_OR_OWNER ); $this->set(compact('CAN_EDIT')); */ /* * @todo EP 08/2017 Nouvelle organisation des ACL avec $easyACL */ // !!! MOVED TO APPCONTROLLER !!! /* * $action = $this->getActionPassed(); * if (in_array($action, array('add', 'edit', 'view', 'index'))) { * $hiddenFields = $this->getHiddenFieldsForAction($action); * $this->set('hiddenFields', $hiddenFields); * if (in_array($action, array('add', 'edit'))) { * $mandatoryFields = $this->getMandatoryFieldsForAction($action); * $this->set('mandatoryFields', $mandatoryFields); * $readOnlyFields = $this->getReadOnlyFieldsForAction($action); * $this->set('readOnlyFields', $readOnlyFields); * $haveDefaultValueFields = $this->getDefaultValueFieldsForAction($action); * $this->set('haveDefaultValueFields', $haveDefaultValueFields); * } * } */ //TODO: temporaire, à MOVE dans AppController /* $action = $this->getActionPassed(); if ($action == 'view') { $CAN_EDIT = $IS_CREATED && ($USER_IS_ADMIN_OR_MORE || $USER_IS_UTILISATEUR_AND_CREATOR_OR_OWNER || $USER_IS_RESPONSABLE_AND_SAME_GROUP || $USER_IS_RESPONSABLE_AND_CREATOR_OR_OWNER); $this->set(compact('CAN_EDIT')); } */ } // beforeRender() // @Override public function getNameFieldLabel() { return 'designation'; } /* moved to AppController // Les matos peuvent-ils être commandés (bouton commander) ? // vrai par défaut (sauf si explicité dans la config) public static function hasOrderButton() { // OPTIM : si déjà lu, on relit pas if (! is_null(self::$HAS_ORDER_BUTTON)) return self::$HAS_ORDER_BUTTON; // Pas encore lu, on lit $has_order_button = Configure::read('HAS_ORDER_BUTTON'); if (is_null($has_order_button)) $has_order_button = true; self::$HAS_ORDER_BUTTON = $has_order_button; return $has_order_button; } */ /* * @Override * * Initialisation des autorisations PAR DÉFAUT (générales à tous les labos) pour les actions de ce controleur * */ protected function setAuthorizations() { //debug("GENERIC!"); /* * a) Noms et verbes à utiliser (surtout dans les notifications) pour les actions * */ $this->setActionsNounAndPastVerb([ 'statusCreated' => ['Dé-validation','dé-validé'], 'statusTobeordered' => ['COMMANDE','commandé'], 'statusValidated' => ['Validation','validé'], //TODO: spécial 'statusTobearchived' => ["Demande d'archivage","demandé l'archivage", '', "d'un "], 'statusArchived' => ['Archivage','archivé'], 'setLabelIsPlaced' => ["Positionnement d'étiquette","posé l'étiquette", 'sur un ', 'sur le '], 'printLabelRuban' => ["Impression de l'étiquette", "imprimé l'étiquette", '', 'sur le '], ]); /* * b) Actions de ce controleur qui enverront des notifications (log et/ou email) * * 'log' = logger seulement * 'mail' => envoyer un mail seulement * 'both' = faire les 2 (logger ET envoyer un mail) * */ $this->setNotificationAllowedOnActions([ // CRUD 'add' => 'both', //'edit' => 'log', //'edit' => 'mail', 'edit' => 'both', 'delete' => 'both', //'view', // status changed 'statusCreated' => 'log', 'statusTobeordered' => 'both', 'statusValidated' => 'both', 'statusTobearchived' => 'both', 'statusArchived' => 'both', // ... // autres 'printLabelRuban' => 'log', 'setLabelIsPlaced' => 'log', ]); /* $this->setNotificationAllowedOnActions([ 'add', 'edit', 'delete', //'view', 'statusCreated', 'statusTobearchived', 'statusValidated', 'statusArchived', // ... ]); */ /* * c) Règles d'accès (ACLs) * */ // - Action 'execSqlRequestForBugfix' (bugfix) => autorisé seulement à superadmin $this->setAuthorizationsForAction('execSqlRequestForBugfix (bugfix)', -1, [ 'super' => 0, ]); // - Action 'add' (ajout d'un nouveau matériel) => autorisé pour tous //$this->setAuthorizationsForAction('add', 0); $this->setAuthorizationsForAction('add (créer)', 0); //$this->setAuthorizationsForAction('view', 0); // - Action 'add' (ajout d'un nouveau matériel par copie d'un autre) $this->setAuthorizationsForAction('add_by_copy (ajout par copie)', ['CREATED',0], [ 'user' => ['CREATED',1], //'resp' => ['CREATED',0], //'resp' => 'default', //$admin = 'default', //$super = 'default' ]); /* Actions autorisées par défaut par AppController : index et view // - Action 'index' (affichage de la liste des matériels) $this->setAuthorizationsForAction('index', $default = [0,0] // = + vue spécialisée PAR statut //$user = 'default', // vue simplifiée tout statut confondu (sauf ARCHIVED) //$resp = 'default', //$admin = 'default', //$super = 'default' ); // - Action 'view' (vue détaillée d'un matériel) $this->setAuthorizationsForAction('view', $default = [0,0] //$user = 'default', //$resp = 'default', //$admin = 'default', //$super = 'default' // + champs techniques ); */ /* - Action 'edit' (modif d'un matériel) (EP) Changé depuis 2021-09 car désormais on peut TOUJOURS modifier un matériel (sauf si ARCHIVED) tant que certains champs restent obligatoires (les champs obligatoires correspondant au statut en cours du matos) */ //$this->setAuthorizationsForAction('edit (modifier)', ['CREATED',0], [ $this->setAuthorizationsForAction('edit (modifier)', ['NOT ARCHIVED',0], [ 'user' => ['CREATED||TOBEORDERED',1], 'resp' => 'user', //'resp' => -1, //'resp' => 0, //'resp' => ['CREATED',1], //$admin = 'default', //$super = 'default' // + champs techniques ]); // - Action 'delete' (suppression d'un matériel) $this->setAuthorizationsForAction('delete (supprimer)', ['CREATED',1]); // - Action 'devalidate' ou 'invalidate' (repasser le matériel au statut 'CREATED', c'est à dire le dé-valider ou l'invalider) // (VALIDATED ou TBA ou ARCHIVED) => CREATED //$this->setAuthorizationsForAction('devalidate', $this->setAuthorizationsForAction('statusCreated (invalider)', ['NOT CREATED',0], [ 'user' => -1, // PAS AUTORISÉ 'resp' => -1, //'resp' => ['NOT CREATED',1], ]); // - Action 'upgrade' (avancement du statut d'un matériel) // CREATED [=> TBO] => VALIDATED => TBA => ARCHIVED /* $this->setAuthorizationsForAction('upgrade', ['NOT ARCHIVED',0], [ // En fait, l'action fait juste passer au statut "suivant" //$default = ['PREVIOUS',0], // le matériel doit avoir le statut "précédent" du statut actuel 'user' => ['VALIDATED',1], // SEULEMENT l'action "demande d'archivage" //$resp = ['VALIDATED',1] // SEULEMENT l'action "demande d'archivage" //'resp' => 'Utilisateur' 'resp' => 'user' ]); */ // - Commande d'un materiel => TBO $this->setAuthorizationsForAction('statusTobeordered (commander)', ['CREATED',0], [ 'user' => ['CREATED',1], 'resp' => ['CREATED',1], //'resp' => -1 // interdit ]); // - Validation d'un materiel => VALIDATED $this->setAuthorizationsForAction('statusValidated (valider)', ['CREATED||TOBEORDERED',0], [ 'user' => -1, // interdit 'resp' => -1, // interdit ]); // - Demande d'archivage => TBA $this->setAuthorizationsForAction("statusTobearchived (demander l'archivage)", ['VALIDATED',0], [ //$user = ['default',1], 'user' => ['VALIDATED',1], //$resp = ['default',1] //$resp = ['VALIDATED',1] 'resp' => 'user', ]); // - Archivage => ARCHIVED $this->setAuthorizationsForAction('statusArchived (archiver)', ['TOBEARCHIVED',0], [ 'user' => -1, // interdit 'resp' => -1, // interdit ]); // Action 'printLabelRuban' (impression d'une étiquette) // On ne peut imprimer QUE si titreuse présente ET matos VALIDATED : //$this->setAuthorizationsForAction('printLabelRuban (imprimer étiquette)', ['VALIDATED && conf.hasPrinter',0] ); // On ne peut imprimer que si titreuse présente : $this->setAuthorizationsForAction('printLabelRuban (imprimer étiquette)', ['conf.hasPrinter',0] ); // Déclarer etiquette collée $this->setAuthorizationsForAction('setLabelIsPlaced (déclarer étiquette collée)', ['VALIDATED && conf.hasPrinter',0] ); $this->setAuthorizationsForAction('setLabelIsNotPlaced', ['VALIDATED && conf.hasPrinter',0] ); /* $this->setAuthorizationsForAction('setLabelIsPlaced', 0); // autorisé sans condition $this->setAuthorizationsForAction('setLabelIsNotPlaced', 0); // autorisé sans condition */ // Action 'execActions' $this->setAuthorizationsForAction('execActions', 0, [ // par défaut autorisé sans condition // sauf pour user et resp 'user' => -1, // PAS AUTORISÉ 'resp' => -1, // PAS AUTORISÉ ]); // Action 'export' $this->setAuthorizationsForAction('export', 0, [// autorisé sans condition 'user' => -1, // interdit ]); $this->setAuthorizationsForAction('getDateGarantie', 0); // autorisé sans condition /* // Action 'ficheMateriel' $this->setAuthorizationsForAction('createDocFicheMateriel', 0); // Action 'ficheMaterielPdf' // DOMPDF $this->setAuthorizationsForAction('createDocFicheMaterielPdf', 0); */ //debug($this->is_authorized_action);exit; } // setAuthorizations() /* * Méthode de définition des autorisations SPÉCIFIQUES au laboratoire IRAP * * Cette méthode surcharge la méthode générale "setAuthorizations()" ci-après. * Elle doit donc d'abord appeler la méthode générale (voir étape 1) puis surcharger ou ajouter quelques règles (voir étape 2) * * Pour faire la même chose pour un autre labo qui s'appelerait LABO (selon la valeur donnée par $this->confLabinvent->labNameShort), * il suffit de faire une COPIE de cette méthode et de la renommer "setAuthorizations_LABO" * * On doit faire ça dans CHAQUE controleur où l'on désire des adaptations * (ici, c'est seulement pour le contrôleur des Matériels, donc toutes les actions sur la table 'materiels') * * Pour vérifier que ces règles spécifiques sont bien appliquées, aller sur la page des autorisations /pages/acls * */ protected function setAuthorizations_IRAP() { $this->d("SPECIFIC IRAP!"); // 1) On appelle d'abord la méthode générale $this->setAuthorizations(); // 2) Puis on fait nos petites règles locales pour notre petit labo à nous tout seul /* * a) Noms et verbes à utiliser (surtout dans les notifications) pour les actions * */ /* $this->setActionsNounAndPastVerb([ // Changement des noms et verbes utilisés pour la notif sur l'action 'dévalider' 'statusCreated' => ['Dé-VAvalidation','dé-VAvalidé'], 'statusValidated' => ['Validation','validé'], 'statusTobearchived' => ["Demande d'archivage","demandé l'archivage", '', "d'un "], 'statusArchived' => ['Archivage','archivé'], 'setLabelIsPlaced' => ["Positionnement d'étiquette","posé l'étiquette", 'sur un ', 'sur le '], 'printLabelRuban' => ["Impression de l'étiquette", "imprimé l'étiquette", '', 'sur le '], ]); */ /* * b) Actions de ce controleur qui enverront des notifications (log et/ou email) * * 'log' = logger seulement * 'mail' => envoyer un mail seulement * 'both' = faire les 2 (logger ET envoyer un mail) * */ /* $this->setNotificationAllowedOnActions([ // CRUD 'add' => 'both', 'edit' => 'log', 'delete' => 'both', //'view', // status changed 'statusCreated' => 'log', 'statusTobearchived' => 'both', 'statusValidated' => 'both', 'statusArchived' => 'both', // ... // autres 'printLabelRuban' => 'log', 'setLabelIsPlaced' => 'log', ]); */ /* * c) Règles d'accès (ACLs) * */ /* // - Adaptation de la règle pour "ajout par copie" $this->setAuthorizationsForAction('add_by_copy', '', ['CREATED',0], [ 'user' => ['CREATED',1], 'resp' => 'default', ]); // - Adaptation de la règle pour "edit" (modif d'un matériel) $this->setAuthorizationsForAction('edit', '', ['CREATED',0], [ 'user' => ['CREATED',1], //'user' => [0,1], //'user' => 0, 'resp' => 'user', //'resp' => ['CREATED',1], //'resp' => -1 //$admin = 'default', //$super = 'default' // + champs techniques ]); */ } // Méthode de définition des autorisations SPÉCIFIQUES au laboratoire CRAL protected function setAuthorizations_CRAL() { $this->d("SPECIFIC CRAL!"); // 1) On appelle d'abord la méthode générale $this->setAuthorizations(); // 2) Puis on fait nos petites règles locales pour notre labo à nous tout seul // Voir pour exemple la méthode setAuthorizations_IRAP() ci-dessus. } // Méthode de définition des autorisations SPÉCIFIQUES au laboratoire LATMOS protected function setAuthorizations_LATMOS() { $this->d("SPECIFIC LATMOS !"); // 1) On appelle d'abord la méthode générale $this->setAuthorizations(); // 2) Puis on fait nos petites règles locales pour notre labo à nous tout seul // Voir pour exemple la méthode setAuthorizations_IRAP() ci-dessus. } // Méthode de définition des autorisations SPÉCIFIQUE au laboratoire IAS protected function setAuthorizations_IAS() { $this->d("SPECIFIC IAS !"); // 1) On appelle d'abord la méthode générale $this->setAuthorizations(); // 2) Puis on fait nos petites règles locales pour notre labo à nous tout seul // Voir pour exemple la méthode setAuthorizations_IRAP() ci-dessus. } /* * ATTENTION ! NE PAS SUPPRIMER ! * * Cette méthode est utilisée pour les tests * * Elle permet de vérifier que les autorisations "spécifiques" d'un labo sont prises en compte * * Méthode de définition des autorisations SPÉCIFIQUES au laboratoire nommé "TEST" * */ protected function setAuthorizations_TEST() { $this->d("SPECIFIC LABO 'TEST' !"); // 1) On appelle d'abord la méthode générale $this->setAuthorizations(); // 2) Puis on fait nos petites règles locales pour notre labo à nous tout seul // - Adaptation de la règle pour "edit" (modif d'un matériel) $this->setAuthorizationsForAction('edit', ['CREATED',0], [ 'user' => ['CREATED',1], 'resp' => 'user', //'resp' => ['CREATED',1], //'resp' => 0, //'resp' => -1, ]); } // TEST only public function getNextStatusFrom($status) { // On prend le statut d'indice SUIVANT $status_num = self::statuses[$status] + 1; // Si dernier, on revient au 1er (CREATED) if ($status_num==5) $status_num=0; $newstatus = array_keys(self::statuses)[$status_num]; //debug("new status is $newstatus"); return $newstatus; } public function isStatus($status) { //debug($status); return in_array($status, array_keys(self::statuses)); } /** * * //param $user * @param $user * @return boolean Give authorization for materiels * * On définit ici les actions autorisées ou pas par ce contrôleur spécifique * * CAKEPHP function * */ //public function isAuthorized($userFromSession) { //public function isAuthorized($user) { public function isAuthorized($user, // (EP) ajouté ceci (dans la fonction originale, il n'y avait QUE le paramètre $user, c'est tout) $action = null, $id=null, $role=null) { //$action = null, $id=null, $role=null, $userCname=null) { //if (parent::isAuthorized($userFromSession)) return TRUE; $this->myDebug("step 2A (specific): MaterielsController.isAuthorized(user)"); //$this->myDebug("step 2B (intermediaire): MaterielsController.isAuthorized($role, $action, $id, user, $userCname)"); $this->myDebug("step 2B (intermediaire): MaterielsController.isAuthorized($role, $action, $id, user)"); $this->myDebug("- user is:", $user); //$this->u = $this->getUserEntity(); assert($this->u != null); if ($this->u == null) throw new \Exception("pas d'utilisateur défini !!!"); //pr($this->u); if ($this->isLabinventDebugMode()) { debug($this->u); debug("user is xxx :"); debug($this->u->is_user); debug($this->u->is_resp); debug($this->u->is_admin); //debug($this->u->is_adminplus); debug($this->u->is_super); debug("user is xxx or more :"); debug($this->u->is_resp_or_more); debug($this->u->is_admin_or_more); debug("user is xxx or less :"); debug($this->u->is_resp_or_less); debug($this->u->is_admin_or_less); } // Si paramètres nuls, passer les paramètres de l'action courante if (!$action) $action = $this->a; //$id = $this->getIdPassed(); if (!$id) $id = $this->e_id; //debug("action $action, id $this->e_id"); //if (!$role) $role = $this->userRole; if (!$role) $role = $this->getUserRole($user); //if (!$user) $user = $this->userFromSession; // (EP 202005) inutile ///if (!$userCname) $userCname = $this->userCname; //$this->myDebug("isAuthorizedAction ? " . $this->OLD_isAuthorizedAction2($this, $this->userRole, $this->a, $id, $user)); ////$this->myDebug("isAuthorizedAction ? " . $this->OLD_isAuthorizedAction2($this, $this->user_role, $this->a, $id, $user)); //return $this->isAuthorizedActionForRole($role, $action, $id); // $user, $userCname if ($action=='add' && $id>0) { $action = 'add_by_copy'; } return $this->isAuthorizedActionForCurrentUser($action, $id); // $user, $userCname } // isAuthorized() public function isManageableByCurrentUser($id=null) { //if (is_null($id)) $id = $this->e_id; $id = $id ?:$this->e_id; return $this->isManageableByUser($this->u, $id); } public function isManageableByUser(User $user, $id=null) { // 3 façons de faire la meme chose : //if (is_null($id)) $id = $this->e_id; //is_null($id) && $id = $this->e_id; $id = $id ?:$this->e_id; return $this->getEntity($id)->isManageableByUser($user); } public function isDeleteableByCurrentUser($id=null) { //if (is_null($id)) $id = $this->e_id; $id = $id ?:$this->e_id; return $this->isDeleteableByUser($this->u, $id); } public function isDeleteableByUser(User $user, $id=null) { // 3 façons de faire la meme chose : //if (is_null($id)) $id = $this->e_id; //is_null($id) && $id = $this->e_id; $id = $id ?:$this->e_id; return $this->getEntity($id)->isDeleteableByUser($user); } public function isEditableOrCopiableByCurrentUser($id=null) { //if (is_null($id)) $id = $this->e_id; $id = $id ?:$this->e_id; return $this->isEditableOrCopiableByUser($this->u, $id); } public function isEditableOrCopiableByUser(User $user, $id=null) { // 3 façons de faire la meme chose : //if (is_null($id)) $id = $this->e_id; //is_null($id) && $id = $this->e_id; $id = $id ?:$this->e_id; return $this->getEntity($id)->isEditableOrCopiableByUser($user); } // True if materiel with id $id is owned by current user // Par défaut, si $id = null => id du materiel courant //public function isHis($id, $userFromSession) { //public function isHis($matos_id) { public function belongsToCurrentUser($id=null) { if (is_null($id)) $id = $this->e_id; //return ($this->isOwnedBy($id, $userFromSession['sn'][0] . ' ' . $userFromSession['givenname'][0])); //return $this->isOwnedBy($id, $this->u->nom); return $this->belongsToUser($this->u->nom, $id); } /* * @todo A déplacer dans Model/Table/TableMateriels * cf https://book.cakephp.org/3.0/fr/tutorials-and-examples/blog-auth-example/auth.html */ // True if materiel with id $id is owned by $nomCreateur //public function isOwnedBy($id, $username) public function belongsToUser($username, $id=null) { if (is_null($id)) $id = $this->e_id; //$entity = $this->getEntity($id); //return in_array($user_name, [$entity->nom_createur, $entity->nom_responsable]); //return $this->getEntity($id)->isOwnedOrDeclaredByUser($username); return $this->getEntity($id)->belongsToUser($username); /* return ($this->Materiels->exists([ 'id' => $id, 'nom_createur' => $nomCreateur ]) || $this->Materiels->exists([ 'id' => $id, 'nom_responsable' => $nomCreateur ])); */ } // Par défaut, si $id = null => id du materiel courant public function isSameGroupAsCurrentUser($id=null) { if (is_null($id)) $id = $this->e_id; $u = $this->u; return $this->isSameGroupAsUser($u->username, $id); } // Par défaut, si $id = null => id du materiel courant //public function isRespGroup($id, $loginResponsable) //public function isSameGroupAsUser($id, $loginResponsable) public function isSameGroupAsUser($userlogin, $id=null) { if (is_null($id)) $id = $this->e_id; // Get user if ($this->u && $this->u->username == $userlogin) $u = $this->u; else $u = $this->getUserByLogin($userlogin); /* $u = TableRegistry::getTableLocator()->get('Users') ->find() ->where(['username' => $userlogin]) ->first(); */ return $this->getEntity($id)->isSameGroupAsUser($u->groupes_metier_id, $u->groupes_thematique_id); /* OLD WAY // Responsable groupe métier ? $group = 'groupes_metier'; $group_fk = $group.'_id'; if ( $u[$group_fk] !== null && $u[$group_fk] != TableRegistry::getTableLocator()->get('GroupesMetiers') ->find() ->where(['nom =' => 'N/A']) ->first()['id'] ) return $this->getEntity($id)->$group_fk == $u[$group_fk]; /S return $this->Materiels->exists([ 'id' => $id, 'groupes_metier_id' => $u['groupes_metier_id'] ]); S/ // Responsable groupe thématique ? $group = 'groupes_thematique'; $group_fk = $group.'_id'; if ( $u[$group_fk] !== null && $u[$group_fk] != TableRegistry::getTableLocator()->get('GroupesThematiques') ->find() ->where(['nom =' => 'N/A']) ->first()['id'] ) return $this->getEntity($id)->$group_fk == $u[$group_fk]; /S return $this->Materiels->exists([ 'id' => $id, 'groupes_thematique_id' => $u['groupes_thematique_id'] ]); S/ // sinon, pas responsable de groupe return false; */ } // isSameGroupAsUser (ex isRespGroup) // $id = id du materiel => si null alors id du materiel courant public function hasStatus($id=null, $status) { if (is_null($id)) $id = $this->e_id; return $this->getEntity($id)->status == $status; /* return $this->Materiels->exists([ 'id' => $id, 'status' => $status ]); */ } public function isCreated($id=null) { return $this->hasStatus($id, 'CREATED'); } public function isToBeOrdered($id=null) { return $this->hasStatus($id, 'TOBEORDERED'); } public function isValidated($id=null) { return $this->hasStatus($id, 'VALIDATED'); } public function isToBeArchived($id=null) { return $this->hasStatus($id, 'TOBEARCHIVED'); } public function isArchived($id=null) { return $this->hasStatus($id, 'ARCHIVED'); } /** * Index method * * @return \Cake\Http\Response|null */ public function index() { $this->myDebug("step 3: MaterielsController.index()"); $HAS_ORDER_BUTTON = self::hasOrderButton(); $this->set(compact('HAS_ORDER_BUTTON')); //debug($this->request); $conditions = []; //$contain = []; //$contain = ['Sites', 'Fournisseurs', 'Categories', 'Organismes', 'Projets', 'Users']; $contain = MaterielsController::CONTAIN_FOR_SEARCH; // - FILTRE Statut ? (status=CREATED, status=VALIDATED, ...) // (EP 202007 OLD way pour gérer les statuts : /materiels/index/VALIDATED) /* if (isset($this->request->getAttribute('params')['pass'][0])) { $conditions = [ 'Materiels.status =' => $this->request->getAttribute('params')['pass'][0] ]; //$this->set('STATUS', $this->request->getAttribute('params')['pass'][0]); $this->set('SELECTED_STATUS', $this->request->getAttribute('params')['pass'][0]); } */ // (EP 202007 NEW way pour gérer les statuts : /materiels/index?status=VALIDATED) $SELECTED_STATUS = $this->request->getQuery('status'); if ( $SELECTED_STATUS && in_array($SELECTED_STATUS,['TOUS','CREATED','TOBEORDERED','VALIDATED','TOBEARCHIVED','ARCHIVED']) ) { if ($SELECTED_STATUS=='CREATED') $conditions[] = [ 'OR' => [ 0 => ['Materiels.status =' => $SELECTED_STATUS], 1 => ['Materiels.status =' => 'TOBEORDERED'] ] ]; else $conditions = [ 'Materiels.status =' => $SELECTED_STATUS ]; } else $SELECTED_STATUS = null; $this->set(compact('SELECTED_STATUS')); // /materiels/index?GT=2 // /materiels/index?GM=1 $GM = $this->request->getQuery('GM'); $GT = $this->request->getQuery('GT'); if ($GM !== null || $GT !== null) { //if ($GM !== null && $GM != TableRegistry::get('GroupesMetiers')->find() if ($GM !== null) /* && // $GM != 'N/A' $GM != TableRegistry::getTableLocator()->get('GroupesMetiers')->find() ->where(['nom =' => 'N/A']) ->first()['id'] ) */ $conditions = [ 'Materiels.groupes_metier_id =' => $GM, 'Materiels.status !=' => 'ARCHIVED' ]; //else if ($GT !== null && $GT != TableRegistry::get('GroupesThematiques')->find() else if ($GT !== null) /* // && $GT != 'N/A' && $GT != TableRegistry::getTableLocator()->get('GroupesThematiques')->find() ->where([ 'nom =' => 'N/A' ]) ->first()['id']) */ $conditions = [ 'Materiels.groupes_thematique_id =' => $GT, 'Materiels.status !=' => 'ARCHIVED' ]; else $conditions = [ 'Materiels.id =' => 0 ]; } // $GM !== null || $GT !== null $GMV = $this->request->getQuery('GMV'); $GTV = $this->request->getQuery('GTV'); if ($GMV || $GTV) { $group_type = $GMV ? 'metier' : 'thematique'; $group_id = $GMV ? $GMV : $GTV; $conditions = [ 'Materiels.groupes_'.$group_type.'_id =' => $group_id, 'Materiels.status =' => 'CREATED', 'Materiels.status !=' => 'ARCHIVED' ]; } //else $conditions = [ 'Materiels.id =' => 0 ]; /* if ($GMV !== null || $GTV !== null) { if ($GMV !== null) /S && $GMV != TableRegistry::getTableLocator()->get('GroupesMetiers') ->find() ->where([ 'nom =' => 'N/A' ]) ->first()['id'] ) S/ $conditions = [ 'Materiels.groupes_metier_id =' => $GMV, 'Materiels.status =' => 'CREATED', 'Materiels.status !=' => 'ARCHIVED' ]; else if ($GTV !== null) /S && $GTV != TableRegistry::getTableLocator()->get('GroupesThematiques') ->find() ->where([ 'nom =' => 'N/A' ]) ->first()['id'] ) S/ $conditions = [ 'Materiels.groupes_metier_id =' => $GTV, 'Materiels.status =' => 'CREATED', 'Materiels.status !=' => 'ARCHIVED' ]; else $conditions = [ 'Materiels.id =' => 0 ]; } */ // MES materiels seulement $MY = $this->request->getQuery('MY'); if ($MY !== null) { // if ( ! $this->USER_IS_ADMIN_AT_LEAST() ) // if (in_array($this->role, ['Utilisateur', 'Responsable'])) $conditions['Materiels.nom_responsable ='] = $this->request->getQuery('MY'); if (in_array($this->getUserRole(), [ 'Utilisateur', 'Responsable' ])) $conditions['Materiels.status !='] = 'ARCHIVED'; /* $conditions = [ 'Materiels.nom_responsable =' => $this->request->getQuery('MY'), 'Materiels.status !=' => 'ARCHIVED' ]; else $conditions = [ 'Materiels.nom_responsable =' => $this->request->getQuery('MY') ]; */ } // if (in_array($this->role, ['Utilisateur', 'Responsable']) && $condition == '') if (in_array($this->getUserRole(), [ 'Utilisateur', 'Responsable' ]) && $conditions == []) $conditions = [ 'Materiels.status !=' => 'ARCHIVED' ]; $config = $this->confLabinvent; /* * - FILTRE age (tranche d'âge) ? * * 5 = 0-5 ans * 10 = 5-10 ans * 15 = 10-15 ans * 20 = 15-20 ans * 21 = 20+ */ $age = $this->request->getQuery('age'); // Par défaut, 0-5 ans if (is_null($age)) $age = 5; // Si age==0 on ne fait rien (car on prend TOUS les materiels) if ($age>0) { $today_year = (new FrozenDate('now'))->year; // ex: si on est en 2020 : // + de 20 ans => on cherche "<2000" if ($age==21) { $year_min = 0; $year_max = $today_year - 20; // 2000 } // - 20 ans // ex: si $age = 10 et qu'on est en 2020 : else { $year_min = $today_year - $age; // 2010 $year_max = $year_min + 5; // 2015 } //debug("$year_min a $year_max"); // $year_min <= year(date_acquisition) <= $year_max //$condition['date_acquisition !='] = 'null'; // Date non nulle sinon ça plante !!! //$conditions['date_acquisition IS NOT'] = 'NULL'; // Date non nulle sinon ça plante !!! /* // Pour faire NON EXCLUSIF, faire ceci : $condition['year(date_acquisition) <='] = $year_max; // <= 2015 $condition['year(date_acquisition) >='] = $year_min; // >= 2010 */ // Pour bien faire EXCLUSIF, faire ceci : $conditions['year(date_acquisition) <='] = $year_max; // <= 2015 $conditions['year(date_acquisition) >'] = $year_min; // > 2010 } // Age inconnu (date nulle) /* elseif ($age==-1) { $conditions['date_acquisition IS'] = 'NULL'; } */ // - FILTRE Domaine ? $domaine_id = $this->request->getQuery('domaine'); // Par défaut, TOUS les domaines (id=0) if (is_null($domaine_id)) $domaine_id = 0; // Si $domain_id==0 on ne fait rien (car on prend TOUS les domaines) if ($domaine_id > 0) // OK $conditions['Materiels.sur_categorie_id'] = $domaine_id; // KO => Exception PDO ! //$conditions['sur_categorie_id'] = $domain_id; //debug($conditions); // - FILTRE Projet ? $projet_id = $this->request->getQuery('projet'); // Par défaut, TOUS les domaines (id=0) if (is_null($projet_id)) $projet_id = 0; // Si $domain_id==0 on ne fait rien (car on prend TOUS les domaines) if ($projet_id > 0) $conditions['Materiels.projet_id'] = $projet_id; // - FILTRE (pas vraiment un filtre) Nb lignes par page ? //$limit = $this->request->getQuery('aff'); $nbLinesPerPage = $this->request->getQuery('nblines'); // Par défaut, nb lignes demandées dans config if ($nbLinesPerPage===null) $nbLinesPerPage = $config['aff_par_defaut']; /* SERT À RIEN $this->paginate = [ 'limit' => $limit, 'maxLimit' => 1000, 'contain' => [ 'SurCategories', 'Categories', 'SousCategories', 'GroupesThematiques', 'GroupesMetiers', 'Organismes', 'Sites' ], 'order' => [ 'Materiels.numero_laboratoire' => 'desc' ] ]; */ /* * - FILTRE général, champ de recherche général 'searchfor' (ex 's_all_2') * * On cherche un texte entré dans le champ de recherche général * un peu "partout" dans presque tous les champs de l'entité Matériel * */ //$searchfor = $this->request->getQuery('s_all_2'); $searchfor = $this->request->getQuery('searchfor'); // Par défaut, TOUS les domaines (id=0) if (!is_null($searchfor) && $searchfor!='') { // Enlever les espaces en trop $searchfor=trim($searchfor); //debug($searchfor); /* $conditions['OR'] = [ 'Materiels.designation LIKE' => "%$searchfor%", 'Materiels.numero_laboratoire LIKE' => "%$searchfor%", ]; */ //$conditions['AND'] = $this->getFieldsConditionsForGeneralSearchOfWords($searchfor); //array_push($conditions, $this->getFieldsConditionsForGeneralSearchOfWords($searchfor) ); //$conditions = ['AND' => $conditions]; /* [ 'AND' => [ 'year(date_acquisition) <=' => (int) 2020, 'year(date_acquisition) >' => (int) 2015 ] ] */ //$conditions = []; //$conditions = [$conditions]; $conditions = array_merge($conditions, $this->getFieldsConditionsForGeneralSearchOfWords($searchfor) ); //debug($conditions); exit; //$conditions = $conditions[0]; /* $conditions = [ (int) 0 => [ 'OR' => [ 'Materiels.designation LIKE' => '%toto%', 'Materiels.numero_laboratoire LIKE' => '%toto%', 'Materiels.numero_inventaire_organisme LIKE' => '%toto%', 'Materiels.numero_inventaire_old LIKE' => '%toto%', 'Materiels.numero_commande LIKE' => '%toto%', 'Materiels.description LIKE' => '%toto%', 'Materiels.nom_responsable LIKE' => '%toto%', 'Materiels.email_responsable LIKE' => '%toto%', 'Materiels.code_comptable LIKE' => '%toto%', 'Materiels.numero_serie LIKE' => '%toto%', 'Materiels.date_acquisition LIKE' => '%toto%', 'Materiels.lieu_detail LIKE' => '%toto%', 'Fournisseurs.nom LIKE' => '%toto%', 'Categories.nom LIKE' => '%toto%' ] ] ]; */ //$contain = ['Fournisseurs', 'Categories', 'Organismes', 'Projets']; //$contain = ['Fournisseurs', 'Categories', 'Organismes', 'Projets', 'Users']; //debug($conditions); } // searchfor // EXEC REQUETE SQL find() // TOUS les materiels /* $this->set('nbMateriels', $this->Materiels->find('all', [ 'conditions' => $condition ])->count()); */ $materiels = $this->Materiels /* ->find() ->where($conditions); */ ->find('all', [ 'conditions' => $conditions, //'contain' => ['Categories', 'Fournisseurs'] 'contain' => $contain ]); //->limit(1000); if ($age==-1) $materiels = $materiels ->where(function (QueryExpression $exp, Query $q) { return $exp->isNull('date_acquisition'); } ); try { $nbMateriels = $materiels->count(); } catch (\PDOException $e) { debug("Mauvais format de requete SQL (1), Exception PDO générée !"); exit; } // EXPORT DE LA LISTE EN COURS (selon le filtrage en cours) // Attention, l'appel à export() terminera l'action par un EXIT // Donc, cette action stoppe le processus en cours, et la vue ne sera pas réaffichée $export_current = $this->request->getQuery('exportcurrent'); if ($export_current == 1) { //debug("export current list"); $this->export($materiels); } // STOP //debug("age=$age, nbMateriels = $nbMateriels"); $this->set(compact('nbMateriels')); /* $this->set('nbMateriels', $this->Materiels //->find('all') ->find() ->where($conditions) ->count() ); */ // Seulement le nombre de materiels demandés par paginate //debug($condition); /* $materiels = $this->paginate($this->Materiels->find('all', [ 'conditions' => $conditions ])); */ # WHERE (population) IS NOT NULL /* $materiels = $this->Materiels ->find() ->where(function (QueryExpression $exp, Query $q) { return $exp->isNotNull('date_acquisition'); } ); $materiels = $this->paginate($materiels ->where($conditions) ); */ // Paginated materiels /* $materiels = $this->paginate($this->Materiels ->find() ->where($conditions) ); */ try { $materiels = $this->paginateResults($materiels, $nbLinesPerPage); } catch (\PDOException $e) { debug("Mauvais format de requete SQL (0), Exception PDO générée !"); exit; } /* try { //$materiels = $this->paginate($materiels); $materiels = $this->paginate($materiels, [ 'limit' => $nbLinesPerPage, 'maxLimit' => 1000, 'sortWhitelist' => [ // - Champs directs 'designation', 'numero_laboratoire', // tutelle 'numero_inventaire_organisme', 'numero_commande', //'nom_responsable', 'nom_user', 'status', 'date_acquisition', 'prix_ht', //'etiquette', //'lieu_detail', // - Champs FK (HasOne only) 'Sites.nom', 'Categories.nom', //'Organismes.nom', // Gestionnaire 'Users.nom', 'Fournisseurs.nom', ], 'order' => [ 'numero_laboratoire' => 'desc' // ATTENTION, écrit comme ceci ca rentrait en conflit avec la colonne de tri numero_laboratoire... : //'Materiels.numero_laboratoire' => 'desc' ], ]); } catch (\PDOException $e) { debug("Mauvais format de requete SQL (2), Exception PDO générée !"); exit; } */ $this->set('statuses_color', self::statuses_color); $this->set(compact('materiels')); // Liste des DOMAINES //$domain_options = $this->Materiels->SurCategories->find()->toArray(); $domaine_options = $this->Materiels->SurCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', ])->toArray(); // Ajoute l'élément 0 => 'TOUS' en tête de tableau //$domain_options[0] = 'TOUS'; //debug($domain_options); array_unshift($domaine_options, "Tous"); //debug($domain_options); // Liste des PROJETS $projet_options = $this->Materiels->Projets->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', // implicite, pourquoi ??? //'order' => 'Projets.nom' ])->toArray(); //debug($projet_options); /* Ajoute l'élément 0 => 'TOUS' en tête de tableau * SANS changer les clés !!! */ // 1) on ajoute un élément vide à la clé "0", // et on trie le tableau sur les values (nom du projet) (en conservant les clés) // => l'élément vide se retrouve donc en tête $projet_options[0] = ''; asort($projet_options); // 2) on remplace l'élément vide (en tête) par 'Tous', qui est donc toujours en tête ! $projet_options[0] = 'Tous'; //debug($projet_options); // Liste des AGES (intervalles d'années) $age_options = [ '0' => 'Tous', '5' => 'Récents (5 ans max)', '10' => '5-10 ans', '15' => '10-15 ans', '20' => '15-20 ans', //'20plus' => '+ 20 ans', '21' => '+ 20 ans', //'unknown' => 'inconnu', '-1' => 'inconnu', ]; // Liste des NBLINES (Nb de matériels affichés par page) $nblines_options = [ '20' => 20, '30' => 30, '50' => 50, '100' => 100, '150' => 150, '200' => 200 ]; $this->set(compact( 'age_options', 'nblines_options', 'domaine_options', 'projet_options', 'searchfor' )); // Pas bien..., mais pratique : // on passe le controleur de materiels à la vue index pour qu'elle // puisse appeler la methode isAuthorizedAction() $this->set("controller", $this); /* (EP) inutile $this->set('_serialize', [ 'materiels' ]); */ //debug($conditions); } // index() //@Override // Pour le MaterielsController, le materiel associé est simplement lui-même :-) protected function getRelatedMaterielForId($id, $action=null) { return $this->getEntity($id); } /** * View method * * @param string|null $id * Materiel id. * @return \Cake\Http\Response|null * @throws \Cake\Datasource\Exception\RecordNotFoundException When record not found. */ public function view($id = null) { $this->myDebug("step 3: MaterielsController.view()"); /* debug($this->getEntity($id)); debug("matos is status xxx:"); debug($this->getEntity($id)->is_created); debug($this->getEntity($id)->is_validated); */ $materiel = $this->Materiels->get($id, [ 'contain' => [ // 1) HasOne 'SurCategories', 'Categories', 'SousCategories', 'GroupesThematiques', 'GroupesMetiers', 'Projets', 'Organismes', 'Sites', 'Fournisseurs', //'Gestionnaires', 'Users', // 2) HasMany 'Documents', 'Documents.TypeDocuments', 'Emprunts', // Tous les suivis de ce $materiel (sans leur type) //'Suivis', // Tous les suivis de ce $materiel AVEC leur type de suivi 'Suivis.TypeSuivis', ] ]); $this->e = $materiel; $e = $materiel; //debug($materiel); // current user $u = $this->u; //debug("(start) user is:"); debug($u); exit; //debug($u->canManageMatos($e)); /* * (EP) TODO: * * Selon le role (profil) actif, positionner ces tableaux (listes de champs) * pour dire à quels champs ce role à accès * et dans quelles conditions (lecture seule, obligatoire, ...) * * $hiddenFields = [ fields list ] * $readonlyFields = [ fields list ] * $mandatoryFields = [ fields list ] * $defaultValueForFields = [ field1 => value1, field2 => value2, ..., fieldN => valueN ] * * Passer ensuite ces listes à la vue avec set() * */ $HAS_ORDER_BUTTON = self::hasOrderButton(); $this->set(compact('HAS_ORDER_BUTTON')); /* $IS_CREATED = ($materiel->status == 'CREATED'); $IS_VALIDATED = ($materiel->status == 'VALIDATED'); $IS_TOBEARCHIVED = ($materiel->status == 'TOBEARCHIVED'); $IS_ARCHIVED = ($materiel->status == 'ARCHIVED'); */ $IS_CREATED = $e->is_created; $IS_TOBEORDERED = $e->is_tobeordered; $IS_VALIDATED = $e->is_validated; $IS_TOBEARCHIVED = $e->is_tobearchived; $IS_ARCHIVED = $e->is_archived; $this->set(compact('IS_CREATED', 'IS_TOBEORDERED', 'IS_VALIDATED', 'IS_TOBEARCHIVED', 'IS_ARCHIVED')); // 1) DROITS SUR LE MATERIEL VU // - edit, copy, delete, etiquette $CAN_EDIT = $this->isAuthorizedActionForCurrentUser('edit', $id); //$CAN_EDIT = $this->isAuthorizedAction($this->userRole, 'edit', $id, $this->userFromSession, $this->userCname); $this->d("can edit ? "); $this->d2($CAN_EDIT); //$CAN_EDIT = $this->isAuthorized($u,'edit', $id); //pr("CAN_EDIT = ".(int)$CAN_EDIT." (pour id $id)"); //$CAN_EDIT = $IS_CREATED && $CAN_ATTACH_A_DOC; $CAN_COPY = $this->isAuthorizedActionForCurrentUser('add_by_copy', $id); $this->d("can copy ? "); $this->d2($CAN_COPY); //$CAN_COPY = $CAN_EDIT; //$CAN_DELETE = $this->isAuthorized($u,'delete', $id); $CAN_DELETE = $this->isAuthorizedActionForCurrentUser('delete', $id); $this->d("can delete ? "); $this->d2($CAN_DELETE); //debug("can delete ? $CAN_DELETE"); //debug($CAN_DELETE); $CAN_PRINT_LABEL = $this->isAuthorizedActionForCurrentUser('printLabelRuban', $id); //$CAN_PRINT_LABEL = $this->isAuthorized($u,'printLabelRuban'); //$CAN_PRINT_LABEL = $IS_VALIDATED && $this->confLabinvent->hasPrinter && $this->USER_IS_ADMIN_OR_MORE; //$CAN_PRINT_LABEL = $this->isAuthorizedAction($this->userRole, 'printLabelRuban', $id, $this->userFromSession, $this->userCname); $this->d("can print ? "); $this->d2($CAN_PRINT_LABEL); $this->set(compact('CAN_EDIT', 'CAN_DELETE', 'CAN_COPY', 'CAN_PRINT_LABEL')); // - commander, valider, devalider, tba, archiver $CAN_ORDER = $this->isAuthorizedActionForCurrentUser('statusTobeordered', $id); /* $CAN_VALIDATE_OR_INVALIDATE = $this->USER_IS_ADMIN_OR_MORE || ( $materiel->materiel_administratif==0 && $USER_IS_RESPONSABLE_AND_SAME_GROUP_AS_MATERIEL ); $CAN_VALIDATE = $IS_CREATED && $CAN_VALIDATE_OR_INVALIDATE; */ $CAN_VALIDATE = $this->isAuthorizedActionForCurrentUser('statusValidated', $id); //$CAN_VALIDATE = $this->isAuthorized($u,'statusValidated'); //$CAN_VALIDATE = $this->isAuthorizedAction('statusValidated'); $this->d("can validate ? "); $this->d2($CAN_VALIDATE); $CAN_INVALIDATE = $this->isAuthorizedActionForCurrentUser('statusCreated', $id); //$CAN_INVALIDATE = $this->isAuthorized($u,'statusCreated'); //$CAN_INVALIDATE = !$IS_CREATED && $CAN_VALIDATE_OR_INVALIDATE; $this->d("can invalidate ? "); $this->d2($CAN_INVALIDATE); $CAN_TBA = $this->isAuthorizedActionForCurrentUser('statusTobearchived', $id); //$CAN_TBA = $this->isAuthorized($u,'statusTobearchived'); //$CAN_TBA = $IS_VALIDATED && $CONTEXT1; $this->d("can CAN_TBA ? "); $this->d2($CAN_TBA); $CAN_ARCHIVE = $this->isAuthorizedActionForCurrentUser('statusArchived', $id); //$CAN_ARCHIVE = $this->isAuthorized($u,'statusArchived'); //$CAN_ARCHIVE = $IS_TOBEARCHIVED && $this->USER_IS_ADMIN_OR_MORE; $this->d("can CAN_ARCHIVE ? "); $this->d2($CAN_ARCHIVE); $this->set(compact( 'CAN_ORDER', 'CAN_VALIDATE', 'CAN_INVALIDATE', 'CAN_TBA', 'CAN_ARCHIVE' )); // - Emprunter et Suivre //$CAN_LEND = $CAN_FOLLOW = true; $ec = new EmpruntsController(); //$CAN_LEND = $ec->isAuthorizedAction('add', $id, $IS_RELATED_ENTITY_ID=true, $u); $CAN_LEND = $ec->isAuthorizedActionForCurrentUser('add', null, $id, $u); $this->d("can CAN_LEND ? "); $this->d2($CAN_LEND); $sc = new SuivisController(); //$CAN_DO_SUIVI = $sc->isAuthorizedAction('add', $id, true, $u); $CAN_DO_SUIVI = $sc->isAuthorizedActionForCurrentUser('add', null, $id, $u); $this->d("can CAN_DO_SUIVI ? "); $this->d2($CAN_DO_SUIVI); // - Attacher un doc $dc = new DocumentsController(); //$CAN_ATTACH_A_DOC = $dc->isAuthorizedAction('add', $id, true, $u); $CAN_ATTACH_A_DOC = $dc->isAuthorizedActionForCurrentUser('add', null, $id, $u); $this->d("CAN_ATTACH_A_DOC ? "); $this->d2($CAN_ATTACH_A_DOC); //$CAN_ATTACH_A_DOC = DocumentsController::isAuthorizedAction('add'); //$CAN_ATTACH_A_DOC = $CONTEXT1; // - Editer le doc d'admission //$CAN_EDIT_DOC_ADMISSION = $dc->isAuthorizedAction('admission', $id, true, $u); $CAN_EDIT_DOC_ADMISSION = $dc->isAuthorizedActionForCurrentUser('admission', null, $id, $u); $this->d("CAN_EDIT_DOC_ADMISSION ? "); $this->d2($CAN_EDIT_DOC_ADMISSION); //$CAN_EDIT_DOC_SORTIE = $dc->isAuthorizedAction('sortie', $id, true, $u); $CAN_EDIT_DOC_SORTIE = $dc->isAuthorizedActionForCurrentUser('sortie', null, $id, $u); $this->d("CAN_EDIT_DOC_SORTIE ? "); $this->d2($CAN_EDIT_DOC_SORTIE); //$CAN_LEND = $CAN_DO_SUIVI = $CAN_ATTACH_A_DOC = $CAN_EDIT_DOC_ADMISSION = $CAN_EDIT_DOC_SORTIE = TRUE; $this->set(compact( 'CAN_LEND', 'CAN_DO_SUIVI', 'CAN_ATTACH_A_DOC', 'CAN_EDIT_DOC_ADMISSION', 'CAN_EDIT_DOC_SORTIE' )); // Current user is creator or owner of current materiel /* $USER_IS_CREATOR_OR_OWNER = in_array($this->userName, [ $materiel->nom_createur, $materiel->nom_responsable ]); */ //$USER_IS_CREATOR_OR_OWNER = $e->isOwnedOrDeclaredByUser($this->userName); /* $USER_IS_CREATOR_OR_OWNER = $e->belongsToUser($this->userName); $this->set(compact('USER_IS_CREATOR_OR_OWNER')); */ // Current user is same group as current materiel /* //$USER_IS_SAME_GROUP_AS_MATERIEL = $e->isSameGroupAsUser($user_group_metier_id, $user_group_thematique_id); $USER_IS_SAME_GROUP_AS_MATERIEL = ( //( isset($this->priviledgedUser->groupes_metier_id) && $this->priviledgedUser->groupes_metier_id != $this->idGmNa && $materiel->groupes_metier_id == $this->priviledgedUser->groupes_metier_id ) ( isset($this->u->groupes_metier_id) && $this->u->groupes_metier_id != $this->idGmNa && $materiel->groupes_metier_id == $this->u->groupes_metier_id ) || ( isset($this->u->groupes_thematique_id) && $this->u->groupes_thematique_id != $this->idGtNa && $materiel->groupes_thematique_id == $this->u->groupes_thematique_id ) ); */ //$USER_IS_SAME_GROUP_AS_MATERIEL = $this->currentMaterielIsSameGroupAsCurrentUser(); /* $USER_IS_SAME_GROUP_AS_MATERIEL = $this->isSameGroupAsCurrentUser(); $this->set(compact('USER_IS_SAME_GROUP_AS_MATERIEL')); $USER_IS_RESPONSABLE_AND_SAME_GROUP_AS_MATERIEL = $this->USER_IS_RESPONSABLE && $USER_IS_SAME_GROUP_AS_MATERIEL; $this->set(compact('USER_IS_RESPONSABLE_AND_SAME_GROUP_AS_MATERIEL')); $CONTEXT1 = $this->USER_IS_ADMIN_OR_MORE || $USER_IS_CREATOR_OR_OWNER || $USER_IS_RESPONSABLE_AND_SAME_GROUP_AS_MATERIEL; */ // (EP 20200515) // - 2) DROITS SUR LES ENTITÉS LIÉES : suivis, emprunts, documents attachés /* - Suivis liés * (EP 20200514) * Avoir le droit d'éditer ou supprimer un suivi est lié seulement au matériel concerné * On va demander ce droit au controleur des Suivis avec l'id du 1er suivi de la liste * Le droit sera le même pour tous les autres suivis de cette liste */ // Par défaut => false (pas le droit) $CAN_MANAGE_SUIVIS = false; //$sc = new SuivisController(); //debug("EDIT de sc:"); debug($sc->is_authorized_action['edit']); //debug("EDIT de dc:"); debug($dc->is_authorized_action['edit']); //debug("EDIT de ec:"); debug($ec->is_authorized_action['edit']); if ($e->suivis) { $suivi1 = $e->suivis[0]; //$CAN_MANAGE_SUIVIS = $sc->isAuthorizedAction('edit', $suivi1->id, false, $u); $CAN_MANAGE_SUIVIS = $sc->isAuthorizedActionForCurrentUser('edit', $suivi1->id, null, $u); // on peut faire de même avec l'action delete //$CAN_MANAGE_SUIVIS = $sc->isAuthorized($u,'delete', $suivi1->id); } $this->d("CAN_MANAGE_SUIVIS ? "); $this->d2($CAN_MANAGE_SUIVIS); $CAN_EDIT_OR_DELETE_SUIVIS = $CAN_MANAGE_SUIVIS; //$CAN_MANAGE_SUIVIS = $CONTEXT1; //$CAN_MANAGE_SUIVIS = $sc->isAuthorized($u,'edit') && $sc->isAuthorized($u,'delete'); /* - PRETS liés * (EP 20200515) * Avoir le droit d'éditer ou supprimer un PRET est lié seulement au matériel concerné * On va demander ce droit au controleur des Emprunts avec l'id du 1er emprunt de la liste * Le droit sera le même pour tous les autres emprunts de cette liste */ //$CAN_EDIT_OR_DELETE_EMPRUNTS = $CAN_MANAGE_EMPRUNTS = $CAN_EDIT; // Par défaut => false (pas le droit) $CAN_MANAGE_EMPRUNTS = false; if ($e->emprunts) { $emprunt1 = $e->emprunts[0]; //debug($emprunt1); //$CAN_MANAGE_EMPRUNTS = $ec->isAuthorizedAction('edit', $emprunt1->id, false, $u); $CAN_MANAGE_EMPRUNTS = $ec->isAuthorizedActionForCurrentUser('edit', $emprunt1->id, null, $u); // on peut faire de même avec l'action delete //$CAN_MANAGE_EMPRUNTS = $sc->isAuthorized($u,'delete', $suivi1->id); } $this->d("CAN_MANAGE_EMPRUNTS ? "); $this->d2($CAN_MANAGE_EMPRUNTS); $CAN_EDIT_OR_DELETE_EMPRUNTS = $CAN_MANAGE_EMPRUNTS; //$CAN_MANAGE_EMPRUNTS = $CONTEXT1; //$CAN_MANAGE_EMPRUNTS = $ec->isAuthorized($u,'edit') && $ec->isAuthorized($u,'delete'); //$CAN_EDIT_OR_DELETE_EMPRUNTS = $CAN_MANAGE_EMPRUNTS; // - docs liés //$CAN_MANAGE_FILES = $CAN_EDIT; // edit, delete, ou envoi devis par mail //$CAN_MANAGE_FILES = $CONTEXT1; // edit, delete, ou envoi devis par mail //$CAN_MANAGE_FILES = $dc->isAuthorized($u,'edit') && $dc->isAuthorized($u,'delete') && $dc->isAuthorized($u,'mailDevis'); $CAN_MANAGE_FILES = false; if ($e->documents) { $e1 = $e->documents[0]; //debug($emprunt1); //$CAN_MANAGE_EMPRUNTS = $ec->isAuthorizedAction('edit', $emprunt1->id, false, $u); $CAN_MANAGE_FILES = $dc->isAuthorizedActionForCurrentUser('edit', $e1->id, null, $u); // on peut faire de même avec l'action delete //$CAN_MANAGE_EMPRUNTS = $sc->isAuthorized($u,'delete', $suivi1->id); } $this->d("CAN_MANAGE_FILES ? "); $this->d2($CAN_MANAGE_FILES); $CAN_EDIT_OR_DELETE_OR_SENDBYMAIL_FILES = $CAN_MANAGE_FILES; $this->set(compact('CAN_MANAGE_SUIVIS', 'CAN_MANAGE_EMPRUNTS', 'CAN_MANAGE_FILES')); // $status = $this->statuses[$materiel->status]; $status = self::statuses[$materiel->status]; $this->set(compact('status')); $sites = TableRegistry::getTableLocator()->get('Sites'); //$sites = TableLocator::get('Sites'); //$typeSuivis = TableRegistry::getTableLocator()->get('TypeSuivis'); /* $typeSuivisAll = $typeSuivis->find('list', [ 'keyField' => 'id', 'valueField' => 'is_regular', ])->toArray(); */ $typeDocuments = TableRegistry::getTableLocator()->get('TypeDocuments'); //$fournisseurs = TableRegistry::getTableLocator()->get('Fournisseurs'); //$fournisseurs = TableLocator::get('Fournisseurs'); if ($materiel->photo_id != null) { $imgMateriel = $materiel->photo_id . '.' . TableRegistry::getTableLocator()->get('Documents')->get($materiel->photo_id)->get('type_doc'); $this->set('imgMateriel', $imgMateriel); } $this->set('PDF_ENGINE', $this->confLabinvent->pdf_engine); $entity = $materiel; $status_color = self::statuses_color[$entity->status]; //$status_display = self::statuses_display[$entity->status]; $this->set(compact('entity')); $this->set(compact( 'status_color', //'status_display', 'sites', 'typeDocuments' //'materiel', // @deprecated //'fournisseurs' )); /* (EP) inutile $this->set('_serialize', [ 'materiel' ]); */ /* TODO: $CAN_EDIT = $IS_CREATED && ( $USER_IS_ADMIN_OR_MORE || $USER_IS_UTILISATEUR_AND_CREATOR_OR_OWNER || $USER_IS_RESPONSABLE_AND_SAME_GROUP || $USER_IS_RESPONSABLE_AND_CREATOR_OR_OWNER ); $this->set(compact('CAN_EDIT')); */ //debug("1"); debug($_SESSION); // (EP202009) moved to parent.afterFilter() //$emails = $this->sendNotificationForEntityAction($materiel); //debug($emails); /* * Pour le statut courant du matériel ("créé", "en commande", "validé", "archivé"...), * si il est recommandé (dans la config des champs matériel) de remplir certains champs ou de joindre certains documents (ou de coller l'étiquette)..., * on affiche un message de rappel (flash) en-tête de la fiche détaillée du matériel */ /* $LABEL_NOT_PRINTED = false; $NUM_INV_TUTELLES_NOT_FILLED = false; if ($entity->is_validated) { //debug($this->Materiels->getMandatoryFieldsForMaterielStatus($materiel->status)); //debug(array_key_exists('etiquette', $this->Materiels->getMandatoryFieldsForMaterielStatus($materiel->status))); if ($CAN_PRINT_LABEL && array_key_exists('etiquette', $this->Materiels->getMandatoryFieldsForMaterielStatus($materiel->status))) $LABEL_NOT_PRINTED = ! $entity->etiquette; if (array_key_exists('numero_inventaire_organisme', $this->Materiels->getMandatoryFieldsForMaterielStatus($materiel->status))) $NUM_INV_TUTELLES_NOT_FILLED = empty($entity->numero_inventaire_organisme); if ($LABEL_NOT_PRINTED) $this->Flash->set("Cette fiche est validée mais n'oubliez pas d'imprimer l'étiquette associée et de la coller sur le matériel"); if ($NUM_INV_TUTELLES_NOT_FILLED) $this->Flash->set("Cette fiche est validée mais vous n'avez pas encore rempli le champ 'N° inventaire comptable/tutelles'"); } */ $recommended_fields = $this->Materiels->getRecommendedFieldsForMaterielStatus($materiel->status); //debug($recommended_fields); /* * Ex : [ 'etiquette' => [ 'selected' => '1', 'comment' => 'd'imprimer l'étiquette associée et de la coller sur le matériel', 'roles' => '' ], 'numero_inventaire_organisme' => [ 'selected' => '1', 'comment' => 'de renseigner le champ 'N° inventaire comptable/tutelles _Organisme_'', 'roles' => '' ], 'DOC_BC' => [ 'selected' => '1', 'comment' => 'd'ajouter le Bon de Commande', 'roles' => '' ], 'DOC_BL' => [ 'selected' => '1', 'comment' => 'd'ajouter le Bon de Livraison', 'roles' => '' ], 'DOC_FACTURE' => [ 'selected' => '1', 'comment' => 'd'ajouter la Facture', 'roles' => '' ] */ //foreach ($recommended_fields as $fname => $msg) { //foreach ($recommended_fields as $fname => $attributes) { foreach ( array_keys($recommended_fields) as $fname ) { //debug($fname); // - Documents attachés (champs virtuels) // DOC_DEVIS, DOC_BC, ... if ( substr($fname,0,4) == 'DOC_' ) { if ($entity->hasAttachedDocOfType($fname)) unset($recommended_fields[$fname]); } // - Champs réels else { // Champ spécial "etiquette" => boolean if ($fname == 'etiquette' && $CAN_PRINT_LABEL) { if ($entity->$fname) unset($recommended_fields[$fname]); } // Tous les autres champs réels else { if (!empty($entity->$fname)) unset($recommended_fields[$fname]); } } } // Les champs restants sont les champs manquants => message flash de rappel foreach ($recommended_fields as $fname => $attributes) $this->Flash->set("Ce matériel est '".$entity->getNiceStatus()."' mais n'oubliez pas ".$attributes['comment']); } // view public function execSqlRequestForBugfix() { debug("START..."); //$this->execSqlRequestForBugfix_fournisseurs(); debug("...STOP"); exit; /* return $this->redirect([ 'controller' => 'pages', 'action' => 'tools', ]); */ } /** * Add or Edit method (do either add() or edit()) * => Factorisation de add() et edit() * (voir aussi https://book.cakephp.org/3.0/en/orm.html) * * Les autorisations du niveau 2 (VUE) pour cette action sont définies dans la documentation technique au chapître "Autorisations" * (https://docs.google.com/document/d/1-OhEeoi96j6ueUl5NQCQ9ZsTfbJTFw3ZVaWU2iYly_o/edit?pli=1#heading=h.uqfpcjutghc7) * * @param $IS_ADD: True = add ; False = edit * @return \Cake\Http\Response|void Redirects on successful add/edit, renders view otherwise. */ //protected function add_or_edit($IS_ADD, $id=null, $valeurs=null, $erreurs=null, protected function add_or_edit($IS_ADD, $id=null, $erreurs=null, // uniquement à cause de parent::add_or_edit() : $entity_name=null, array $associated_entities=[], $with_parent=false) { $this->myDebug("step 3: MaterielsController.add_or_edit()"); $IS_EDIT = !$IS_ADD; //debug($this->Materiels->MANDATORY_FIELDS); /* * (EP 20201207) * * La plupart des Autorisations de niveau 2 (c'est à dire liées à la VUE materiels add_edit) sont définies ici. * * Voir le tableau correspondant dans la doc techique : * https://docs.google.com/document/d/1-OhEeoi96j6ueUl5NQCQ9ZsTfbJTFw3ZVaWU2iYly_o/edit?pli=1#heading=h.uqfpcjutghc7 * * Il existe 5 types d'Autorisation de niveau Vue (AV) pour chaque attribut de l'entité (Entity Materiel) : * - \AV1. Obligatoire (défini dans classe Table pour LOT1, et ici pour LOT2) : cet attribut est-il obligatoire ? * - \AV2. Options (défini ici) : a-t-il un domaine de définition précis, c’est à dire un ensemble de valeurs possibles que l’on peut lister ? * - \AV3. Défaut (défini ici, ADD only) : a-t-il une valeur par défaut ? * - \AV4. Lecture seule (R, EDIT only) ou Caché (C) (défini ici) : est-il en lecture seule ? * - \AV5. Contrainte (défini dans classe Table) : existe-t-il sur lui une (ou des) contrainte d’intégrité ou une règle métier à respecter (ex: la date de livraison doit être supérieure à la date d’achat) ? * * Ces autorisations sont définies ci-dessous, précédées de leur type (\AV1, \AV2, ...) */ $usersTable = TableRegistry::getTableLocator()->get('Users'); // Set $materiel : soit un matériel vide (ADD new), soit un matériel de la BD à modifier (EDIT et ADD par copie) //$materiel = ($IS_ADD && !$id) ? $this->Materiels->newEntity() : $this->Materiels->get($id, ['contain' => []]); //debug($this->e); debug($this->getEntity($id)); exit; //$materiel = ($IS_ADD && !$id) ? $this->Materiels->newEntity() : $this->e; //$materiel = ($IS_ADD && !$id) ? $this->Materiels->newEntity() : $this->getEntity($id); $materiel = $IS_ADD ? $this->Materiels->newEntity() : $this->getEntity($id); if ($IS_ADD) { // ADD normal if (! $id) { // \AV3 : Valeurs par Défaut // matos permanent $materiel->will_stay = true; // l'Acheteur et l'Utilisateur du matériel c'est l'utilisateur courant (EDITEUR) $materiel->nom_responsable = $this->u->nom; $materiel->nom_user = $this->u->nom; // Si l'utilisateur courant (EDITEUR) est un gestionnaire : // - Gestionnaire de référence = EDITEUR (sinon, 'Je ne sais pas qui choisir') // - Date achat = today //$materiel->gestionnaire_id = null; $gestionnaires = $usersTable ->find('list', [ //'keyField' => 'nom', 'keyField' => 'id', 'valueField' => 'nom' ]) ->where([ 'role =' => 'Administration' ]) ->toArray(); if ( in_array($this->u->id, $gestionnaires) ) { $materiel->gestionnaire_id = $this->u->id; //$materiel->gestionnaire_id = $_SESSION['Auth']['User']['sn'][0]; $materiel->date_acquisition = date("d/m/Y"); } // Etiquette : pas imprimée $materiel->etiquette = false; // statut = CREATED $materiel->status = 'CREATED'; // Materiel à commander ? NON //$materiel->tobeordered = false; // Unité garantie = Ans $materiel->unite_duree_garantie = 'Ans'; // HS ? NON $materiel->hors_service = false; } // ADD par copie : mettre id et numero labo à null else { //if ($id) { // IMPORTANT: validate=False car sinon, les données sont validées avant la copie, // et le numero_laboratoire est vu comme invalide car déjà utilisé et doit etre unique !!! // et on a pour résultat : "le matériel n'a pas pu être ajouté" (sans savoir pourquoi !!!) //$materiel = $this->Materiels->newEntity($this->getEntity($id)->toArray(), ['validate' => false]); //$materiel = $this->Materiels->patchEntity($materiel, $this->getEntity($id, false, false)->toArray(), [ $materiel = $this->Materiels->patchEntity($materiel, $this->Materiels->get($id, ['contain' => []])->toArray(), [ 'validate' => false, // Ne pas valider non plus les entités associées /* 'associated' => [ 'SurCategories' => ['validate' => false], 'Categories' => ['validate' => false], 'SousCategories' => ['validate' => false], ] */ ]); // IMPORTANT: on ne doit pas laisser l'id égal à celui du matériel copié !!! il en faut un nouveau $materiel->id = null; // on supprime le champ numero_laboratoire car il va être généré automatiquement //unset($materiel->numero_laboratoire); $materiel->numero_laboratoire = null; } } /* * SI POST... * * Les données ont été saisies et postées * On va donc les sauvegarder (si ok) */ //if ( $this->request->is(['post','patch','put']) ) { $authorized_actions = $IS_ADD ? ['post'] : ['post','patch','put']; if ( $this->request->is($authorized_actions) ) { //debug($this->request->getData()); exit; // (1) On remplit $materiel avec les données de ce materiel $materiel = $this->Materiels->patchEntity($materiel, $this->request->getData()); //debug($materiel); /* * \AV1 : Attributs OBLIGATOIRES * On définit les infos obligatoires et on vérifie qu'elles sont bien présentes dans le POST */ //$mandatory_fields = MaterielsTable::getMandatoryFieldsForMaterielStatus($materiel->status); $mandatory_fields = $this->Materiels->getMandatoryFieldsForMateriel($materiel); //debug($mandatory_fields); //$mandatory_fields = $this->Materiels->getMandatoryFieldsForMaterielStatus($materiel->status); $verb = $IS_ADD ? "ajouté" : "modifié"; // On vérifie que les infos obligatoires sont présentes // Si au moins un champ obligatoire est nul ou vide => ERROR $ALL_MANDATORY_FIELDS_GIVEN = true; //foreach ($mandatory_fields as $fname => $fval) { //print_r($materiel); //foreach ($mandatory_fields as $fname=>$fname_nice) { foreach ($mandatory_fields as $fname=>$attributes) { /* * Champs obligatoires à ignorer : * - champs virtuels (n'existent pas physiquement) => DOC_XXX (DOC_DEVIS, DOC_BC, ...) * - champs spéciaux dont le caractère obligatoire est géré indirectement (via beforeSave()) => fournisseur * ... */ if ( substr($fname,0,4) == 'DOC_' ) continue; if ( in_array($fname, ['fournisseur_id']) ) continue; //if ( in_array($fname, ['DOC_DEVIS', 'fournisseur_id', 'etiquette', 'numero_inventaire_organisme']) ) continue; if ($materiel->$fname === null || $materiel->$fname == '') { $ALL_MANDATORY_FIELDS_GIVEN = false; /* (EP 2020 03) * Ce genre de ligne ($this->Flash->...) affichant un message flash en haut de page, * ne fonctionnait plus à cause de bootstrap (css). * Ca fonctionne uniquement parce qu'on a surchargé la règle "fade" * de bootstrap dans inventirap.css * (il se peut qu'on n'aie plus besoin de faire ça dans une prochaine version * de bootstrap, ou bootsrap-ui, ou cakephp..., à surveiller donc) */ //$msgError1 = "Le champ suivant est obligatoire : ".$fname_nice.' du matériel'; //$error_msg = "Le champ suivant est obligatoire : ".$fname_nice; $error_msg = "Le champ suivant est obligatoire : ".$attributes['comment']; /////debug($msgError1); $this->Flash->error($error_msg); /* MARCHE PAS POURQUOI ? $materiel->setError($field, 'Ce champ ne doit pas être vide'); $materiel->setError('numero_commande', 'Ce champ ne doit pas être vide'); */ $materiel->setError($fname, 'Ce champ est obligatoire'); // (EP 2020 03) Si on ne veut pas de bouton de suppression du message : //$this->Flash->set($msgError1, ['params' => ['class' => 'alert alert-dismissible in alert-danger']]); //$this->Flash->set($msgError1, ['params' => ['class' => 'alert alert-dismissible fade in alert-danger']]); //return $this->redirect(['action'=>'edit',$id]); ///////////////$this->Flash->error(__("Le matériel n'a pas pu être $verb")); //return false; break; } // si champ obligatoire pas rempli } // foreach $mandatory_fields if ($ALL_MANDATORY_FIELDS_GIVEN) { // (3) On l'ajoute en BD, on envoie un email, et on affiche ok sur page accueil //$verb = $IS_ADD ? "ajouté" : "modifié"; //$action = $IS_ADD ? "add" : "edit"; //debug($materiel); exit; // (EP) pour provoquer une erreur de type "Action impossible" : //$materiel->will_stay=null; if (! $this->Materiels->save($materiel)) { //debug($this->Materiels->current_entity); exit; // (EP) Si ADD, l'id de la nouvelle entité a été mis à jour : /////$this->e_id = $materiel->id; //debug($document->id); // (EP202009) $this->e doit refléter le matériel mis à jour /////$this->e = $materiel; $this->myDebug($materiel->getErrors()); //$msgError1 = "Pour valider un matériel, le champ suivant ne doit pas être vide : ".'fourniss'.' du matériel'; //$this->Flash->error($msgError1); //debug($materiel->getErrors()); $flash_msg = "Le matériel n'a pas pu être $verb"; //if (is_null($materiel->Fournisseur)) $flash_msg .= ' (il faut préciser le fournisseur)'; $this->Flash->error(__($flash_msg)); //debug($materiel->getErrors()); //foreach ($materiel->getErrors() as $f=>$e) $this->Flash->error(__($e[0].' : '.$f)); foreach ($materiel->getErrors() as $f=>$e) foreach($e as $k=>$v) $this->Flash->error(__($v.' : '.$f)); } // save KO else { //debug($this->getCurrentEntity()); exit; //debug($this->Materiels->current_entity); exit; // (EP202009) $this->e doit refléter le matériel mis à jour // ok mais ne copie pas les données associées... (c'est toujours les anciennes...) ////$this->e = $materiel; // marche pas non plus //$this->e = clone $materiel; //debug($this->e); exit; /* debug($materiel->getErrors('jkl')); exit; if ($materiel->getError('numero_laboratoire')) { //debug("oui"); $this->Flash->success(__("Le numéro d'inventaire a été régénéré (car date achat changée)")); } */ $this->Flash->success(__("Le matériel a bien été $verb")); if ($IS_ADD) { //(EP202009) //$this->sendEmail($materiel); ///////$this->sendmail($materiel); $id = $materiel->id; //debug($this->e->id);exit; } //$this->dlog("Materiel $verb = '$materiel->designation' (id=$id)"); //////$this->ilog("Materiel $verb = '$materiel' (id=$id)"); /* * EDIT //En attendant un remaniement complet de la fonction //1 = img, doc = 2, mail normal = tout autre argument //$this->sendmail($materiel,5); */ return $this->redirect([ 'action' => 'view', $id ]); } // save KO } // $ALL_MANDATORY_FIELDS_FOR_GIVEN } // if POST... /* SINON (GET, PAS POST) * C'est la première fois qu'on vient sur cette vue, * donc on va préparer le formulaire de saisie) */ //debug($materiel); exit; /* * \AV2 - OPTIONS * (Domaine de définition de de chaque champ, si peut s'exprimer comme une liste) * * INITIALISATION DE LISTES qu'on va passer à la vue (edit ou add) pour assister la saisie (listes de choix proposés) * * Attention, le nom des variables utilisées est très important. * Ca doit être le MEME nom que le champ, mais au PLURIEL * Comme ça, c'est AUTOMAGIQUEMENT utilisé dans la vue comme liste d'options possibles * * ex: * - pour sur_categorie_id => surCategories * - pour sur_categorie_id => categories * - pour sur_categorie_id => sousCategories * - pour organisme_id => organismes * ... * */ // DOMAINES : LISTE COMPLETE $surCategories = $this->Materiels->SurCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'SurCategories.nom', // only for add() (was not in edit()) : 'conditions' => array( 'nom !=' => 'N/A' ) ]); // CATEGORIES ET SOUS-CATEG (modes EDIT et ADD-by-COPIE only) $categories = []; $sousCategories = []; //if ( !$is_add or ($is_add and isset($this->request->getAttribute('params')['pass'][0])) ) { if ( $IS_EDIT or ($IS_ADD and !is_null($materiel->sur_categorie_id)) ) { // - Seulement les categories correspondant au domaine choisi $categories = $this->Materiels->Categories->find('list', [ 'conditions' => [ 'Categories.sur_categorie_id' => $materiel->sur_categorie_id ], //'recursive' => - 1, 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'nom', //'order' => 'Categories.nom', ]); // - Seulement les sous-categ correspondant à la categorie choisie $sousCategories = $this->Materiels->SousCategories->find('list', [ 'conditions' => [ 'SousCategories.categorie_id' => $materiel->categorie_id ], //'recursive' => - 1, 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'nom' //'order' => 'SousCategories.nom' ]); } /* (EP) Totalement inutile !!! $categories = $this->Materiels->Categories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Categories.nom' ]); $sousCategories = $this->Materiels->SousCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'SousCategories.nom' ]); */ $groupesThematiques = $this->Materiels->GroupesThematiques->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'GroupesThematiques.nom' ]); $groupesMetiers = $this->Materiels->GroupesMetiers->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'GroupesMetiers.nom' ]); $projets = $this->Materiels->Projets->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Projets.nom' ]); $organismes = $this->Materiels->Organismes->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Organismes.nom' ]); $sites = $this->Materiels->Sites->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Sites.nom' ]); $designations = $this->Materiels->find('list', [ 'keyField' => 'designation', 'valueField' => 'designation', 'conditions' => array( 'designation !=' => '' ), 'order' => 'designation', 'group' => 'designation' ]); // autocomplete + saisie sites $lieu_detail = $this->Materiels->find('list', [ 'keyField' => 'lieu_detail', 'valueField' => 'lieu_detail', 'conditions' => array( 'lieu_detail !=' => '' ), 'order' => 'lieu_detail', // only for add() (was not in edit()) : 'group' => 'lieu_detail' ]); // Liste fournisseurs $fournisseurs = $this->Materiels->Fournisseurs->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Fournisseurs.nom' ]); // Liste des gestionnaires (admin) //$administrateurs = TableRegistry::get('Users')->find('list', [ $gestionnaires = $usersTable ->find('list', [ //'keyField' => 'nom', 'keyField' => 'id', 'valueField' => 'nom' ]) ->where([ 'role =' => 'Administration' ]) ->toArray(); $domaineresp = $usersTable->find() ->select('sur_categorie_id') ->where([ 'username =' => $this->LdapAuth->user($this->request->getSession() ->read('authType'))[0] ]) ->first()['sur_categorie_id']; if ($domaineresp == null) $domaineresp = false; // EDIT only if ($IS_EDIT) { $designation_edit = $this->Materiels->find('list', [ 'keyField' => 'id', 'valueField' => 'designation', 'conditions' => array( 'id =' => $materiel->id ) ])->toArray(); //$designation_edit = $designation_edit->toArray(); $lieu_detail_edit = $this->Materiels->find('list', [ 'keyField' => 'id', 'valueField' => 'lieu_detail', 'conditions' => array( 'id =' => $materiel->id ) ])->toArray(); //$lieu_detail_edit = $lieu_detail_edit->toArray(); //(EP) TODO: debug ce truc, c'est du grand n'importe nawak ! $dom = TableRegistry::get('Materiels')->find() ->select('sur_categorie_id') ->where([ 'id =' => $materiel->id ]) ->first()['sur_categorie_id']; $domaines = TableRegistry::get('Users')->find() ->select('sur_categorie_id') ->where([ 'username =' => $this->LdapAuth->user($this->request->getSession() ->read('authType'))[0] ]) ->first()['sur_categorie_id']; $role = TableRegistry::get('Users')->find() ->select('role') ->where([ 'username =' => $this->LdapAuth->user($this->request->getSession() ->read('authType'))[0] ]) ->first()['role']; $domaineresp = ($dom == $domaines); } // EDIT only // not used //$utilisateurconnect = $usersTable->find('all')->toArray(); $users_name = $this->setUsersLists(); /* //$users = TableRegistry::get('LdapConnections')->getListUsers(); //$users = TableRegistry::get('LdapConnections')->getUsersLoginAndEmail(); $users_login_and_email = TableRegistry::getTableLocator()->get('LdapConnections')->getUsersLoginAndEmail(); $users_name = array_keys($users_login_and_email); $users_option_list = []; for ($i = 0; $i < sizeof($users_name); $i ++) { // $users_option_list["Etienne Pallier"] = "Etienne Pallier" $users_option_list[$users_name[$i]] = $users_name[$i]; } */ //--- 2) INITIALISATION DE VARIABLES QU'ON VA PASSER A LA VUE (add.ctp ou edit.ctp) // Le mail de la personne loguée $mail_responsable = $usersTable->find() ->select('email') ->where([ 'username =' => $this->LdapAuth->user($this->request->getSession()->read('authType'))[0] ]) ->first()['email']; /* // ADD only if ($is_add) { // Un id a été passé en argument => Copie de materiel (on a cliqué sur "Copier ce materiel") if (isset($this->request->getAttribute('params')['pass'][0])) { $cpMateriel = $this->Materiels->get($this->request->getAttribute('params')['pass'][0]); $this->set('cpMateriel', $cpMateriel); } } else { */ // EDIT only if ($IS_EDIT) { if (! empty($materiel->get('nom_responsable'))) { //if (! in_array($materiel->get('nom_responsable'), $utilisateurs)) { if (! in_array($materiel->get('nom_responsable'), $users_name)) { $nom_ancien_responsable = $materiel->get('nom_responsable'); $this->set(compact('nom_ancien_responsable')); } } /* (EP 2021 10) moved to MyHelper // (EP) Fonction utilisée dans la vue, déclarée ici pour éviter les problèmes de tests $isReadonlyField = function ($fieldName, $myReadonlyFields) { // Fonctionnement inversé : TOUS readonly (*) SAUF certains champs (listés) if (!empty($myReadonlyFields) && $myReadonlyFields[0]=='*') { $modifiableFields = $myReadonlyFields; array_shift($modifiableFields); return ! in_array($fieldName, $modifiableFields); } // Fonctionnement normal : //return ( !empty($materiel->$fieldName) && in_array($fieldName, $myReadonlyFields) ); return ( in_array($fieldName, $myReadonlyFields) ); }; //$this->set('isReadonlyField', $isReadonlyField); $this->set(compact('isReadonlyField')); */ $this->set('IS_CREATED', $materiel->status == 'CREATED'); $this->set('IS_VALIDATED', $materiel->status == 'VALIDATED'); $this->set('IS_ARCHIVED', $materiel->status == 'ARCHIVED'); $this->set('IS_ARCHIVED_OR_TOBE', in_array($materiel->status, [ 'TOBEARCHIVED', 'ARCHIVED' ])); $this->set(compact( 'role', 'designation_edit', 'lieu_detail_edit' )); } // EDIT only // Si le user est un admin, on le met comme gestionnaire de référence // (sauf si le gestionnaire est déjà défini) if ($this->USER_IS_ADMIN() && empty($materiel->gestionnaire_id)) $materiel->gestionnaire_id = $this->getCurrentUserEntity()->id; /* About set and compact : * * The compact (php) function returns an associative array, built by taking the names specified in the input array, * using them as keys, and taking the values of the variables referenced by those names and making those the values. * For example: * $fred = 'Fred Flinstone'; * $barney = 'Barney Rubble'; * $names = compact('fred', 'barney'); * => is equivalent to: $names = array('fred' => 'Fred Flinstone', 'barney' => 'Barney Rubble') * * So when you use compact in conjunction with set, * you're using the single parameter form of the set function, * by passing it an associative array of key-value pairs. * * If you just have one variable you want to set on the view, and you want to use the single parameter form, you must invoke set in the same way: * $variable_to_pass = 'Fred'; * $this->set(compact('variable_to_pass')); * * Otherwise, the two parameter form of set can be used: * $variable_to_pass = 'Fred'; * $this->set('variable_to_pass', $variable_to_pass); * * Both achieve the same thing. */ //$this->set(compact('designation', 'utilisateurconnect', 'users', 'materiel', 'surCategories', 'categories', 'sousCategories', 'groupesThematiques', 'groupesMetiers', 'organismes', 'sites', 'utilisateurs', 'mail_responsable', 'domaineresp', 'lieu_detail', 'fournisseurs')); $statuses = [ 'CREATED' => 'CREATED', 'TOBEORDERED' => 'TOBEORDERED', 'VALIDATED' => 'VALIDATED', 'TOBEARCHIVED' => 'TOBEARCHIVED', 'ARCHIVED' => 'ARCHIVED' ]; $entity = $materiel; //debug($entity); $this->set(compact( 'IS_ADD', 'mail_responsable', 'entity', // new //'materiel', // @deprecated 'statuses', // not used //'utilisateurconnect', 'surCategories', 'categories', 'sousCategories', 'groupesThematiques', 'groupesMetiers', 'projets', 'organismes', 'sites', 'domaineresp', //'designations', 'lieu_detail', 'fournisseurs', //'utilisateurs', //'users_login_and_email', 'users_option_list', // Gestionnaires (id=>name): 'gestionnaires' )); $readonlyFields = $this->getUneditableFieldsForMaterielStatus($materiel->status); $this->set(compact('readonlyFields')); //debug($materiel->status); //debug($readonlyFields); //$this->set('readonlyFields', $IS_ADD ? [] : $this->getUneditableFieldsForMaterielStatus($materiel->status)); //debug($this->Materiels->getUneditableFieldsForMaterielStatus($status)); exit; //$this->set('readonlyFields', $IS_ADD ? [] : $this->Materiels->getUneditableFieldsForMaterielStatus($materiel->status)); //$this->set('CAN_PRINT_LABEL', $this->isAuthorizedActionForCurrentUser('printLabelRuban', $id)); $this->set('CAN_PRINT_LABEL', $IS_ADD ? $this->confLabinvent->hasPrinter : $this->isAuthorizedActionForCurrentUser('printLabelRuban')); /* (EP) INUTILE (sauf pour faire du j-son ou x-ml) !!! $this->set('_serialize', [ 'materiel', ]); */ } //add_or_edit() private function currentUserRoleInList($except_list) { //debug($this->user_role); return in_array($this->getUserRole(), $except_list); } public function getUneditableFieldsForMaterielStatusAndCurrentUser($materiel_status) { return $this->getUneditableFieldsForMaterielStatus($materiel_status); } private function getUneditableFieldsForMaterielStatus($materiel_status) { // Superadmin peut tout modifier if ($this->USER_IS_SUPERADMIN()) return []; $uneditable_fields = $this->Materiels->getUneditableFieldsForMaterielStatus($materiel_status); //foreach ($uneditable_fields as $fname=>$except_list) { foreach ($uneditable_fields as $fname=>$attributes) { // S'il y a une exception, voir si elle concerne le USER courant, sinon supprimer ce champ $fname if ($attributes['except_roles']) { //debug($except_list); if ($this->currentUserRoleInList($attributes['except_roles'])) unset($uneditable_fields[$fname]); //debug("remove $fname"); } } return $uneditable_fields; } /** * Add method * * @return \Cake\Http\Response | void Redirects on successful add, renders view otherwise. */ public function add($valeurs = null, $erreurs = null) { //$this->add_or_edit(TRUE, null, $valeurs, $erreurs); $this->add_or_edit(TRUE, $valeurs, $erreurs); } /** * Edit method * * @param string|null $id * Materiel id. * @return \Cake\Http\Response|void Redirects on successful edit, renders view otherwise. * @throws \Cake\Http\Exception\NotFoundException When record not found. */ public function edit($id = null) { $this->add_or_edit(FALSE, $id); } /** * Administrer method * * @param string|null $id * Materiel id. * @return \Cake\Http\Response|void Redirects on successful edit, renders view otherwise. * @throws \Cake\Http\Exception\NotFoundException When record not found. */ public function administrer($id = null) { $materiel = $this->Materiels->get($id, [ 'contain' => [] ]); if ($this->request->is([ 'patch', 'post', 'put' ])) { $materiel = $this->Materiels->patchEntity($materiel, $this->request->getData()); if ($this->Materiels->save($materiel, [ 'checkRules' => false ])) { $this->Flash->success(__('Le matériel a bien été édité.')); return $this->redirect([ 'action' => 'view', $id ]); } else $this->Flash->error(__('Le matériel n\'a pas pu être édité.')); } $surCategories = $this->Materiels->SurCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'SurCategories.nom' ]); $categories = $this->Materiels->Categories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Categories.nom' ]); $sousCategories = $this->Materiels->SousCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'SousCategories.nom' ]); $groupesThematiques = $this->Materiels->GroupesThematiques->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'GroupesThematiques.nom' ]); $groupesMetiers = $this->Materiels->GroupesMetiers->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'GroupesMetiers.nom' ]); $organismes = $this->Materiels->Organismes->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Organismes.nom' ]); $sites = $this->Materiels->Sites->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Sites.nom' ]); $fournisseurs = $this->Materiels->Fournisseurs->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Fournisseurs.nom' ]); $users = TableRegistry::getTableLocator()->get('LdapConnections')->getListUsers(); // Tri des utilisateurs par nom sort($users); $utilisateurs = []; for ($i = 0; $i < sizeof($users); $i ++) { $utilisateurs[$users[$i]] = $users[$i]; } if (! empty($materiel->get('nom_responsable'))) { if (! in_array($materiel->get('nom_responsable'), $utilisateurs)) { $nom_ancien_responsable = $materiel->get('nom_responsable'); $this->set(compact('nom_ancien_responsable')); } } $mail_responsable = TableRegistry::get('Users')->find() ->select('email') ->where([ 'username =' => $this->LdapAuth->user($this->request->getSession() ->read('authType'))[0] ]) ->first()['email']; $this->set('IS_CREATED', $materiel->status == 'CREATED'); $this->set('IS_VALIDATED', $materiel->status == 'VALIDATED'); $this->set('IS_ARCHIVED_OR_TOBE', in_array($materiel->status, [ 'TOBEARCHIVED', 'ARCHIVED' ])); $this->set(compact('materiel', 'surCategories', 'categories', 'sousCategories', 'groupesThematiques', 'groupesMetiers', 'organismes', 'sites', 'utilisateurs', 'mail_responsable', 'fournisseurs')); $this->set('_serialize', [ 'materiel' ]); } // administrer() /** * Delete method * * @param string|null $id * Materiel id. * @return \Cake\Http\Response|null Redirects to index. * @throws \Cake\Datasource\Exception\RecordNotFoundException When record not found. */ public function delete($id = null) { $DEBUG = false; // $this->request->allowMethod(['post', 'delete']); $verb = 'supprimé'; /* $materiel = $this->Materiels->get($id, [ 'contain'=>['SurCategories', 'Categories', 'SousCategories'] ] ); */ // Optimisation : ne charge l'entité QUE si pas déjà fait $materiel = $this->getEntity($id, false, ['SurCategories', 'Categories', 'SousCategories']); // DEBUG //$emails = $this->sendmail($materiel); //$emails = $this->sendNotificationForEntityAction($materiel); //debug($emails); //exit; //if ($materiel->has('sur_category')) debug($materiel->sur_category->nom); //debug($materiel); exit; //if ( $this->Materiels->delete($materiel) ) { if ( !$DEBUG && $this->Materiels->delete($materiel) ) { $this->Flash->success(__("Le matériel a bien été $verb")); /* this->ilog("Materiel $verb = '$materiel' (id=$id)"); //(EP202009) //$this->sendEmail($materiel); $this->sendmail($materiel); */ } else $this->Flash->error(__("Le matériel n'a pas pu être $verb")); // Retour à la liste des matos return $this->redirect([ 'action' => 'index' ]); } // delete() /** * StatusSetTo method * * @param string $newStatus * @param string $message * @param string $id * @param string $from * @return \Cake\Http\Response|NULL */ private function _statusSetTo($newStatus, $message, $id = null, $from = 'index', $onlyOneMateriel = True) { //$materiel = $this->Materiels->get($id)->set('status', $newStatus); $materiel = $this->Materiels->get($id, [ 'contain' => [ // 1) HasOne /* 'SurCategories', 'Categories', 'SousCategories', 'GroupesThematiques', 'GroupesMetiers', 'Projets', 'Organismes', 'Sites', 'Fournisseurs', //'Gestionnaires', 'Users', */ // 2) HasMany // Tous les Documents de ce $materiel (sans leur type) //'Documents', // Tous les Documents de ce $materiel AVEC leur type 'Documents.TypeDocuments', /* 'Emprunts', // Tous les Suivis de ce $materiel (sans leur type) //'Suivis', // Tous les Suivis de ce $materiel AVEC leur type de suivi 'Suivis.TypeSuivis', */ ] ]); //debug($materiel); exit; $msgError2 = "Le statut du matériel " . $materiel->designation . " (" . $materiel->numero_laboratoire . ") n'a pas pu être modifié"; /* * - INVALIDER (CREATED) * Repasse le matos au statut "PRÉCÉDENT" (et non pas systématiquement à CREATED) : * - ARCHIVED => TOBEARCHIVED * - TOBEARCHIVED => VALIDATED * - VALIDATED => CREATED (il faudra commander à nouveau si le matos était commandé...) */ if ($newStatus == 'CREATED') { if ($materiel->status == 'ARCHIVED') $materiel->status = 'TOBEARCHIVED'; elseif ($materiel->status == 'TOBEARCHIVED') $materiel->status = 'VALIDATED'; // Par défaut => CREATED (VALIDATED ou TOBEORDERED => CREATED) else $materiel->status = 'CREATED'; } // Set new status else $materiel->status = $newStatus; //$materiel->set('status', $newStatus); $ACTION = "%s ce matériel,"; //$ERROR_MSG_EMPTY_FIELD = "Pour $ACTION le champ suivant ne doit pas être vide : %s du matériel"; $ERROR_MSG_EMPTY_FIELD = "Pour $ACTION le champ suivant ne doit pas être vide : %s"; $ERROR_MSG_DOC_NOT_ATTACHED = "Pour $ACTION vous devez d'abord joindre un document de type '%s' à cette fiche (bouton 'Lier un doc.') "; // - TOBEORDERED if ($newStatus == 'TOBEORDERED') { // Attributs obligatoires pour la phase COMMANDE (LOT1) $mandatoryFields = $this->Materiels->getMandatoryFieldsForLot(1); //debug($mandatoryFields); $ACTION = 'ordonner la commande de'; // Si au moins un champ obligatoire est nul ou vide => ERROR foreach ($mandatoryFields as $fname => $attributes) { // Doc attaché obligatoire ? (champ virtuel) //if (strtoupper($fname) == 'DOC_DEVIS') { if ( substr($fname,0,4) == 'DOC_' ) { // DOC_DEVIS, DOC_BC, ... if (! $materiel->hasAttachedDocOfType($fname)) { //$msgError1 = Pour $ACTION ce matériel, vous devez d'abord joindre un document de type '".substr($fname,4)."' à cette fiche (bouton 'Lier un doc.') "; $error_msg = sprintf($ERROR_MSG_DOC_NOT_ATTACHED, $ACTION, substr($fname,4)); $this->Flash->error($error_msg); $this->ACTION_CANCELLED = TRUE; // => on reste sur "view" return $this->redirect(['action'=>'view',$id]); } /* if (! $materiel->hasDevis()) { //$msgError1 = "Pour ordonner la commande de ce matériel, vous devez d'abord joindre un devis à cette fiche (bouton 'Lier un doc.') "; $msgError1 = "Pour ordonner la commande de ce matériel, vous devez d'abord joindre un devis à cette fiche (bouton 'Lier un doc.') "; $this->Flash->error($msgError1); $this->ACTION_CANCELLED = TRUE; // => on reste sur "view" return $this->redirect(['action'=>'view',$id]); } */ // on passe au champ suivant continue; } // Champ physique (réel) obligatoire ? $fval = $materiel->$fname; if ($fval === null || $fval == '') { //$msgError1 = "Pour $ACTION ce matériel, le champ suivant ne doit pas être vide : ".$fnicename.' du matériel'; $error_msg = sprintf($ERROR_MSG_EMPTY_FIELD, $ACTION, $attributes['comment']); $this->Flash->error($error_msg); // Utile ??? (plante les tests) ////$this->e->setError($fname, 'Ce champ ne doit pas être vide'); $this->ACTION_CANCELLED = TRUE; // => on revient à "edit" return $this->redirect(['action'=>'edit',$id]); } } //TODO // Le matos est valide, on pourrait donc marquer la date de commande $materiel->tobeordered = true; ////$materiel->set('date_ordered', date('Y-m-d')); //$materiel->date_ordered = date('Y-m-d'); } // TOBEORDERED // - VALIDATED if ($newStatus == 'VALIDATED') { // Attributs obligatoires pour la phase VALIDATION (livré et payé) (LOT2) $mandatoryFields = $this->Materiels->getMandatoryFieldsForLot(2); //$mandatoryFields = $this->Materiels->getCategoryFieldsForLot('MANDATORY_FIELDS_FOR_LOT', 2) //$mandatoryFields = $this->Materiels->MANDATORY_FIELDS_FOR_LOT2; //debug($mandatoryFields);exit; /* $mandatoryFields = array( 'Nom utilisateur' => $materiel->nom_responsable, 'Fournisseur' => $materiel->fournisseur_id, 'Numéro de commande' => $materiel->numero_commande, 'Organisme' => $materiel->organisme_id, 'Date de reception' => $materiel->date_reception, 'Prix' => $materiel->prix_ht, // (EP202009) Un gestionnaire par défaut (de référence) doit être choisi AVANT validation 'Gestionnaire de référence' => $materiel->gestionnaire_id ); */ /* $mandatoryFields = array( $materiel->nom_responsable, $materiel->fournisseur_id, $materiel->numero_commande, $materiel->organisme_id, $materiel->date_reception, $materiel->prix_ht, ); $msgError1 = "Pour valider un matériel, les champs suivants ne doivent pas être vides : Date de reception, Nom utilisateur, Gestionnaire de référence, Fournisseur, Organisme, Prix, et Numéro de commande"; */ // Si au moins un champ obligatoire est nul ou vide => ERROR foreach ($mandatoryFields as $fname => $attributes) { $ACTION = 'valider'; /* * Champs obligatoires à ignorer : * - champs virtuels (n'existent pas physiquement) => DOC_XXX (DOC_DEVIS, DOC_BC, ...) * - champs spéciaux dont le caractère obligatoire est géré indirectement (via beforeSave()) => fournisseur //if ( in_array($fname, ['DOC_DEVIS', 'etiquette', 'numero_inventaire_organisme']) ) continue; if ( substr($fname,0,4) == 'DOC_' ) continue; */ // Doc attaché obligatoire ? (champ virtuel) if ( substr($fname,0,4) == 'DOC_' ) { // DOC_DEVIS, DOC_BC, ... if (! $materiel->hasAttachedDocOfType($fname)) { //$msgError1 = "Pour ordonner la commande de ce matériel, vous devez d'abord joindre un devis à cette fiche (bouton 'Lier un doc.') "; $error_msg = sprintf($ERROR_MSG_DOC_NOT_ATTACHED, $ACTION, substr($fname,4)); $this->Flash->error($error_msg); $this->ACTION_CANCELLED = TRUE; // => on reste sur "view" return $this->redirect(['action'=>'view',$id]); } // on passe au champ suivant continue; } // Champ obligatoire ? $fval = $materiel->$fname; //debug($fname); debug($fval); if ($fval === null || $fval == '') { //debug($fname); // Validation d'un seul matériel => on revient à "edit" if ($onlyOneMateriel) { /* (EP 2020 03) * Ce genre de ligne ($this->Flash->...) affichant un message flash en haut de page, * ne fonctionnait plus à cause de bootstrap (css). * Ca fonctionne uniquement parce qu'on a surchargé la règle "fade" * de bootstrap dans inventirap.css * (il se peut qu'on n'aie plus besoin de faire ça dans une prochaine version * de bootstrap, ou bootsrap-ui, ou cakephp..., à surveiller donc) */ //$msgError1 = "Pour $ACTION ce matériel, le champ suivant ne doit pas être vide : ".$fnicename.' du matériel'; //debug($fname); $error_msg = sprintf($ERROR_MSG_EMPTY_FIELD, $ACTION, $attributes['comment']); $this->Flash->error($error_msg); //debug($error_msg); /* MARCHE PAS POURQUOI ? $materiel->setError($field, 'Ce champ ne doit pas être vide'); $materiel->setError('numero_commande', 'Ce champ ne doit pas être vide'); */ $this->e->setError($fname, 'Ce champ ne doit pas être vide'); $this->ACTION_CANCELLED = TRUE; // (EP 2020 03) Si on ne veut pas de bouton de suppression du message : //$this->Flash->set($msgError1, ['params' => ['class' => 'alert alert-dismissible in alert-danger']]); //$this->Flash->set($msgError1, ['params' => ['class' => 'alert alert-dismissible fade in alert-danger']]); return $this->redirect(['action'=>'edit',$id]); } // Validation de plusieurs matériels (cochés) à la fois => on annule l'action de validation else { $this->Flash->error($msgError2); $this->ACTION_CANCELLED = TRUE; return False; } } } //debug("OK"); //exit; // Le matos est valide, on peut donc marquer la date de validation $materiel->set('date_validated', date('Y-m-d')); //$materiel->date_validated = date('Y-m-d'); //debug($materiel->date_validated); //exit; /* (EP202009) déplacé dans add_or_edit() // Si le current user est un admin => on le met comme "gestionnaire" de ce matériel //if ($newStatus == 'VALIDATED') { $current_user = $_SESSION['Auth']['User']['sn'][0]; if ( in_array( $current_user, //TableRegistry::get('Users')->find('list', [ TableRegistry::getTableLocator()->get('Users') ->find('list', [ 'keyField' => 'id', 'valueField' => 'nom' ]) ->where(['role =' => 'Administration']) ->toArray() ) ) { $gestionnaireID = TableRegistry::getTableLocator()->get('Users') ->find() ->where(['nom' => $current_user]) ->first() ->id; $materiel->gestionnaire_id = $gestionnaireID; } // if //} */ } // VALIDATED // - ARCHIVED if ($newStatus == 'ARCHIVED') $materiel->set('date_archived', date('Y-m-d')); // SAVE $success = False; // - SAVE KO if (! $this->Materiels->save($materiel, [ 'checkRules' => false, 'checkExisting' => false ])) $this->Flash->error(__($msgError2 . " (cannot be saved)")); // - SAVE OK else { $success = True; if ($onlyOneMateriel) $this->Flash->success(__($message)); ///$this->ilog("Changement de statut (passe à '$newStatus') du matériel '$materiel' (id=$id)"); //$this->sendEmail($materiel); //évite le double envoi car il y a un envoi de mail a la fonction add et à l'état created //évite les envois succcessifs si qqn fait une erreur sur la fiche, valide la fiche, et dévalide pour remodifier //if ($newStatus == 'ARCHIVED' || $newStatus == 'TOBEARCHIVED') { /* if (in_array($newStatus, [ //'CREATED', // Pour Création ET Dé-validation 'ARCHIVED','TOBEARCHIVED','VALIDATED']) ) $this->sendmail($materiel,3); */ } // SAVE OK if (! $onlyOneMateriel) return $success; if ($from == 'index') $id=null; /* return $this->redirect([ 'action' => $from ]); else */ return $this->redirect([ 'action' => $from, $id // null pour $from=index ]); } // statusSetTo() // Actions autorisées à envoyer un email //@Override parent protected function get_actions_with_email() { return [ 'add', 'edit', 'delete', 'statusTobeordered', 'statusCreated', 'statusTobearchived', 'statusValidated', 'statusArchived' // ... ]; } //@Override parent static public function getActions() { $actions = parent::getActions(); //$actions = array_merge($actions, [ array_push($actions, /* // - CRUD //'add', 'add','add_by_copy', 'view','index','edit','delete', //'view', //'index', */ //'administrer' // - Autres 'find', 'statusCreated', 'statusTobeordered', 'statusValidated','statusTobearchived','statusArchived', //'execActions', //'updateSelectedStatus', //'export', 'setLabelIsPlaced','setLabelIsNotPlaced', 'printLabelRuban' //'printLabel','printSheet', //TODO: avec des arguments //'getDateGarantie', ); $actions = ['printLabelRuban']; // Retourne toutes les méthodes publiques, mêmes celles qui ne sont pas des actions, donc pas bon //$actions = get_class_methods('App\Controller\MaterielsController'); return $actions; } /** * StatusCreated method (retrograder le statut en le repassant à CREATED) * De-Valider ou In-valider * * @param string $id * @param string $from */ public function statusCreated($id = null, $from = 'index') { $this->_statusSetTo('CREATED', "Le matériel a bien été rétrogradé au statut 'CRÉÉ'", $id, $from); } /** * StatusValidated method * * @param string $id * @param string $from */ public function statusTobeordered($id = null, $from = 'index') { $this->_statusSetTo('TOBEORDERED', 'La demande de commande du matériel a bien été transmise', $id, $from); /* * (EP) moved to statusSetTo() * if (in_array($_SESSION['Auth']['User']['sn'][0], TableRegistry::get('Users') * ->find('list', ['keyField' => 'id', 'valueField' => 'nom']) * ->where(['role =' => 'Administration']) * ->toArray())) { * $gestionnaireID = TableRegistry::get('Users')->find()->where(['nom' => $_SESSION['Auth']['User']['sn'][0]])->first()->id; * $materiel->gestionnaire_id = $gestionnaireID; * } * $this->sendEmail($this->Materiels->get($id)); */ } /** * StatusValidated method * * @param string $id * @param string $from */ public function statusValidated($id = null, $from = 'index') { //$this->_statusSetTo('VALIDATED', "Le matériel a bien été validé (n'oubliez pas de saisir le n° inventaire 'tutelle' une fois le 'service fait')", $id, $from); $this->_statusSetTo('VALIDATED', "Le matériel a bien été validé", $id, $from); /* * (EP) moved to statusSetTo() * if (in_array($_SESSION['Auth']['User']['sn'][0], TableRegistry::get('Users') * ->find('list', ['keyField' => 'id', 'valueField' => 'nom']) * ->where(['role =' => 'Administration']) * ->toArray())) { * $gestionnaireID = TableRegistry::get('Users')->find()->where(['nom' => $_SESSION['Auth']['User']['sn'][0]])->first()->id; * $materiel->gestionnaire_id = $gestionnaireID; * } * $this->sendEmail($this->Materiels->get($id)); */ } /** * statusTobearchived method * * @param string $id * @param string $from */ //public function statusTobearchived($id = null, $from = 'index') public function statusTobearchived($id = null, $from = 'index') { $this->_statusSetTo('TOBEARCHIVED', "La sortie d'inventaire a bien été demandée", $id, $from); // (EP) moved to statusSetTo() // $this->sendEmail($this->Materiels->get($id)); } /** * StatusArchived method * * @param string $id * @param string $from */ public function statusArchived($id = null, $from = 'index') { $this->_statusSetTo('ARCHIVED', "Le matériel a bien été archivé (sorti de l'inventaire)", $id, $from); // (EP) moved to statusSetTo() // $this->sendEmail($this->Materiels->get($id)); } /** * GetConditionForField method * * @param $fieldName string * @return string[]|NULL */ private function getConditionForField($fieldName) { $searchFieldName = 's_' . $fieldName; //if ($this->request->getData($searchFieldName) !== null && ($this->request->getData($searchFieldName) != '')) if ($this->request->getData($searchFieldName)) return [ "Materiels.$fieldName LIKE" => '%' . $this->request->getData($searchFieldName) . '%' ]; return NULL; } /** * GetConditionForFieldNumber method * * @param $fieldName string * @return string[]|NULL */ private function getConditionForFieldNumber($fieldName) { $searchFieldName = 's_' . $fieldName; //if ($this->request->getData($searchFieldName) !== null && ($this->request->getData($searchFieldName) != '')) //if ($this->request->getData($searchFieldName)) return [ "Materiels.$fieldName =" => $this->request->getData($searchFieldName) ]; $val = $this->request->getData($searchFieldName); if ($val) { // Cas spécial du champ prix_ht : il faut ajouter '.00' à la fin pour que la valeur soit trouvée !!! if ($fieldName=='prix_ht') { $val = number_format($val, 2, '.', ''); /* //debug($val); if ( // pas de point count(explode('.', $val)) == 1 && // ni de virgule count(explode(',', $val)) == 1 ) $val = $val.'.00'; */ } return [ "Materiels.$fieldName LIKE" => $val ]; } return NULL; } /* * @param string $general_search_field_name : 's_all' or 's_all2' */ private function find_general($general_search_field_name) { $all = $this->request->getData($general_search_field_name); // 's_all' or 's_all2' $conditions = $this->getFieldsConditionsForGeneralSearchOfWords($all); //debug($conditions); return $conditions; } private function getFieldsConditionsForGeneralSearchOfWords($all) { //$generalFieldConditions = NULL; // Check for a date foreach ( [ "/", "-" ] as $symb) { $nbocc = substr_count($all, $symb); //$pos1 = strpos($all, $symb); // Première occurence //$pos2 = strripos($all, $symb); // Dernière occurence //debug($nbocc); debug($symb); //if ($pos1 !== false && $pos2 !== false && $pos2 != $pos1) { if ($nbocc == 2) { list ($dd, $mm, $yyyy) = explode($symb, $all); if (checkdate((int) $mm, (int) $dd, (int) $yyyy)) { $all = "$yyyy-$mm-$dd"; break; } } } // End datecheck // Si $all = "dell pallier", ça va chercher les lignes de la table matériel qui contiennent "dell" ET "pallier" dans n'importe quelle colonne $words = explode(' ', $all); $merge = []; foreach ($words as $word) { /* (EP) * For N words in $tabSearch, this will return $merge1 AND $merge2 AND ... $mergeN * (each merge being a list of OR conditions) * Ex: * Si $tabSearch = "dell pallier", ça va chercher les lignes de la table matériel qui contiennent "dell" ET "pallier" dans n'importe quelle colonne * * Utilisation de array() [] pour pouvoir mettre plusieurs fois la meme clé "AND". */ /* $merge = array_merge($merge, [ [ 'AND' => [ 'OR' => $this->getFieldsConditionsForGeneralSearchOfWord($word) ] ] ]); //$merge = array_merge($merge, $field_conditions); */ // (EP 202007) plus simple (car le AND est automatique) array_push($merge, //'AND' => [ 'OR' => $this->getFieldsConditionsForGeneralSearchOfWord($word) ] ); } //debug($merge); return $merge; //return [ 'OR' => $merge ]; } private function getFieldsConditionsForGeneralSearchOfWord($word) { $search_str = "%$word%"; $search_fields = [ // 1) Materiels table direct (straight) columns 'Materiels.designation', 'Materiels.numero_laboratoire', 'Materiels.numero_inventaire_organisme', 'Materiels.numero_inventaire_old', 'Materiels.numero_commande', 'Materiels.description', 'Materiels.nom_user', 'Materiels.nom_responsable', 'Materiels.email_responsable', 'Materiels.code_comptable', 'Materiels.numero_serie', 'Materiels.date_acquisition', 'Materiels.lieu_detail', // 2) Materiels table foreign keys (HasOne only) 'Sites.nom', 'Fournisseurs.nom', 'Categories.nom', 'Organismes.nom', 'Projets.nom', // - Gestionnaire 'Users.nom', ]; $conditions = []; foreach ($search_fields as $sf) $conditions[$sf.' LIKE'] = $search_str; return $conditions; /* return [ /S (EP) : * Utilisation de array() [] pour pouvoir mettre plusieurs fois la meme clé. * Exemple : la clé "Materiels.designation LIKE" pourra apparaître plusieurs fois si on fait une recherche de "mac pc" * On aura : "Materiels.designation LIKE" => '%mac%' et "Materiels.designation LIKE" => '%pc%' * Sinon on aurait uniquement eu : "Materiels.designation LIKE" => '%pc%' S/ // 1) Materiels table direct (straight) columns //[ 'Materiels.designation LIKE' => $search_str, //], //[ 'Materiels.numero_laboratoire LIKE' => $search_str, //], 'Materiels.numero_inventaire_organisme LIKE' => $search_str, 'Materiels.numero_inventaire_old LIKE' => $search_str, 'Materiels.numero_commande LIKE' => $search_str, 'Materiels.description LIKE' => $search_str, //[ 'Materiels.nom_responsable LIKE' => $search_str ], 'Materiels.nom_responsable LIKE' => $search_str, 'Materiels.email_responsable LIKE' => $search_str, 'Materiels.code_comptable LIKE' => $search_str, 'Materiels.numero_serie LIKE' => $search_str, 'Materiels.date_acquisition LIKE' => $search_str, 'Materiels.lieu_detail LIKE' => $search_str, // 2) Materiels table foreign keys 'Fournisseurs.nom LIKE' => $search_str, 'Categories.nom LIKE' => $search_str, 'Organismes.nom LIKE' => $search_str, 'Projets.nom LIKE' => $search_str, ]; */ } private function find_specific_fields() { // Materiel type $matostype = $this->request->getData('s_matostype'); $matostypeRequest = NULL; switch ($matostype) { // Administratif case 'A': $matostypeRequest['Materiels.materiel_administratif ='] = '1'; break; // Technique case 'T': $matostypeRequest['Materiels.materiel_technique ='] = '1'; break; // Admin et Tech case 'AT': $matostypeRequest['Materiels.materiel_administratif ='] = '1'; $matostypeRequest['Materiels.materiel_technique ='] = '1'; break; // Admin ONLY case 'AO': $matostypeRequest['Materiels.materiel_administratif ='] = '1'; $matostypeRequest['Materiels.materiel_technique ='] = '0'; break; // Tech ONLY case 'TO': $matostypeRequest['Materiels.materiel_administratif ='] = '0'; $matostypeRequest['Materiels.materiel_technique ='] = '1'; break; } $periode_acquisitionRequest = NULL; $date_acquisition = NULL; $salle = NULL; $fournisseur = NULL; if ($this->request->getData('s_periode_acquisition1') != '') $periode_acquisitionRequest['Materiels.date_acquisition >='] = date('Y-m-d', strtotime(str_replace('/', '-', $this->request->getData('s_periode_acquisition1')))); if ($this->request->getData('s_periode_acquisition2') != '') $periode_acquisitionRequest['Materiels.date_acquisition <='] = date('Y-m-d', strtotime(str_replace('/', '-', $this->request->getData('s_periode_acquisition2')))); if ($this->request->getData('s_date_acquisition') != '') $date_acquisition['Materiels.date_acquisition LIKE'] = '%' . date('Y-m-d', strtotime(str_replace('/', '-', $this->request->getData('s_date_acquisition')))) . '%'; $montantRequest = []; if ($this->request->getData('s_prix_ht_inf') != '') $montantRequest['Materiels.prix_ht <='] = $this->request->getData('s_prix_ht_inf'); if ($this->request->getData('s_prix_ht_sup') != '') $montantRequest['Materiels.prix_ht >='] = $this->request->getData('s_prix_ht_sup'); if ($this->request->getData('s_salle') !== null && $this->request->getData('s_salle') != '') $salle['Materiels.lieu_detail LIKE'] = '%' . $this->request->getData('s_salle') . '%'; if ($this->request->getData('s_fournisseur_id') !== null && $this->request->getData('s_fournisseur_id') != '') $fournisseur['Materiels.fournisseur_id ='] = $this->request->getData('s_fournisseur'); /* TODO: (EP 2019/01) NOUVEAU CODE POUR REMPLACER LE CODE SUPER REDONDANT D'AVANT (300 lignes !!!) */ $designation = NULL; if ($this->request->getData('s_designation')) { //$designation_words = []; //$designation_words = explode (" ", $this->request->getData('s_designation')); $designation = str_replace(" ","%", $this->request->getData('s_designation')); $designation = [ 'Materiels.designation LIKE' => '%'.$designation.'%' ]; #TODO: gérer un peu mieux le cas où le champ designation contient plusieurs mots: en cherchant chaque mot séparément (avec un "OU") : /* $designation_conditions = []; for ($i = 0; $i < count($designation); $i++) { //'Materiels.designation LIKE' => '%' . $designation[0]. '%', //'Materiels.designation LIKE' => '%' . $designation[1]. '%', $designation_conditions['Materiels.designation LIKE'] = '%'.$designation_words[$i].'%'); } */ } // Putting all these specific fields together $specificFieldsConditions = [ //'Materiels.designation LIKE' => '%' . $designation[0] . '%', //'Materiels.designation LIKE' => '%' . $this->request->getData('s_designation'). '%', $designation, //'Materiels.numero_laboratoire LIKE' => '%' . $this->request->getData('s_numero_laboratoire') . '%', $this->getConditionForField('numero_laboratoire'), $this->getConditionForField('numero_commande'), $date_acquisition, $periode_acquisitionRequest, $this->getConditionForFieldNumber('prix_ht'), $montantRequest, $this->getConditionForFieldNumber('sur_categorie_id'), $this->getConditionForFieldNumber('categorie_id'), $this->getConditionForFieldNumber('sous_categorie_id'), $this->getConditionForFieldNumber('gestionnaire_id'), $this->getConditionForField('nom_responsable'), $this->getConditionForField('numero_inventaire_organisme'), $this->getConditionForField('numero_inventaire_old'), $this->getConditionForFieldNumber('groupes_metier_id'), $this->getConditionForFieldNumber('groupes_thematique_id'), $salle, //$fournisseur, $this->getConditionForFieldNumber('fournisseur_id'), $this->getConditionForFieldNumber('organisme_id'), $matostypeRequest, $this->getConditionForFieldNumber('organisme_id'), $matostypeRequest, $this->getConditionForField('status'), ]; //debug($specificFieldsConditions); return $specificFieldsConditions; } // find_specific_fields() /* ******************** * Create all needed LISTS and pass them to the VIEW (find) * ******************** */ private function set_elements_lists_for_view_find() { $s_sur_categories = $this->Materiels->SurCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'SurCategories.nom' ]); $s_categories = $this->Materiels->Categories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Categories.nom' ]); $s_sous_categories = $this->Materiels->SousCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'SousCategories.nom' ]); $s_groupes_thematiques = $this->Materiels->GroupesThematiques->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'GroupesThematiques.nom' ]); $s_groupes_metiers = $this->Materiels->GroupesMetiers->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'GroupesMetiers.nom' ]); $s_organismes = $this->Materiels->Organismes->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Organismes.nom' ]); $s_fournisseurs = $this->Materiels->Fournisseurs->find('list', [ 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'Fournisseurs.nom' ]); //debug($s_fournisseurs); exit; $s_salles = $this->Materiels->find('list', [ 'keyField' => 'lieu_detail', 'valueField' => 'lieu_detail', 'order' => 'lieu_detail', 'conditions' => array( 'status !=' => 'ARCHIVED', 'lieu_detail !=' => 'null' ) ]); // (EP 202009) TOUS les Gestionnaires $s_nom_gest = $this->Materiels->Users->find('list', [ //'keyField' => 'nom', 'keyField' => 'id', 'valueField' => 'nom', 'order' => 'nom', /* 'conditions' => array( 'nom !=' => 'SUPERADMIN FAKE_LDAP', ) */ ]) ->where([ 'nom !=' => 'SUPERADMIN FAKE_LDAP', 'role =' => 'Administration' ]); // (EP 202007) TOUS les utilisateurs (même ceux qui n'ont aucun matériel) $s_nomresp = $this->Materiels->Users->find('list', [ 'keyField' => 'nom', 'valueField' => 'nom', 'order' => 'nom', 'conditions' => array( 'nom !=' => 'SUPERADMIN FAKE_LDAP', ) ]); // Uniquement les utilisateurs qui ont au moins 1 matériel /* $s_nomresp = $this->Materiels->find('list', [ 'keyField' => 'nom_responsable', 'valueField' => 'nom_responsable', 'order' => 'nom_responsable', 'conditions' => array( 'status !=' => 'ARCHIVED', 'nom_responsable !=' => 'null' ) ]); */ /* (EP) Depuis le 2/4/19, cette variable n'est plus utilisée * car on préfère la recherche plein texte plutot que dans une liste * On pourrait donc mettre en commentaire, mais bon... */ $s_numero_laboratoire = $this->Materiels->find('list', [ 'keyField' => 'numero_laboratoire', 'valueField' => 'numero_laboratoire', 'order' => 'numero_laboratoire', 'conditions' => array( 'status !=' => 'ARCHIVED', 'numero_laboratoire !=' => 'null' ) ]); $categories = $this->Materiels->Categories; // Pass all these LISTS to the view : $this->set(compact( 's_numero_laboratoire', 's_nom_gest', 's_nomresp', 's_sur_categories', 's_categories', 's_sous_categories', 'categories', 's_groupes_thematiques', 's_groupes_metiers', 's_organismes', 's_fournisseurs', 's_salles' )); } // set_elements_lists_for_view_find() private function paginateResults($results, $nbElementsParPage=null) { //$sort_list = MaterielsController::SORT_LIST_FOR_SEARCH; $sort_list = self::SORT_LIST_FOR_SEARCH; // - Nb éléments par page (20 par défaut si on dit rien) $sort_list['limit'] = $nbElementsParPage; // - Nb éléments en tout (on en récupère pas plus pour éviter de saturer la RAM) //$sort_list['maxLimit'] = $LIMIT_MAX; return $this->paginate($results, $sort_list); /* [ 'limit' => $limit, 'maxLimit' => $LIMIT_MAX, 'sortWhitelist' => [ // - Champs directs 'designation', 'numero_laboratoire', // tutelle 'numero_inventaire_organisme', 'numero_commande', //'nom_responsable', 'nom_user', 'status', 'date_acquisition', 'prix_ht', //'etiquette', //'lieu_detail', // - Champs FK (HasOne only) 'Sites.nom', 'Categories.nom', //'Organismes.nom', // Gestionnaire 'Users.nom', 'Fournisseurs.nom', ], 'order' => [ 'numero_laboratoire' => 'desc' // ATTENTION, écrit comme ceci ca rentrait en conflit avec la colonne de tri numero_laboratoire... //'Materiels.numero_laboratoire' => 'desc' ], ]); */ } // paginateResults() /** * Find method * (EP) tout refait le 18/1/17 pour que ça soit plus lisible et moins bugué... */ public function find() { //$LIMIT_MAX = 1000; $this->set_elements_lists_for_view_find(); // Get the previous search result (from session) set in the view (find.ctp) $resultTri = $this->request->getSession()->read("resultTri"); // Do not show Archived materiel if not Admin $conditionNotArchived = $this->USER_IS_ADMIN_AT_LEAST() ? '' : [ 'Materiels.status !=' => 'ARCHIVED' ]; // if (! (in_array($this->role, ['Administration', 'Administration Plus', 'Super Administrateur']))) /* ******************** * Plusieurs cas possibles: * - (1) SI POST (getData()) : * - (1.1) WITH DATA (au moins un champ rempli, avec ou sans critère de tri) : * - (1.1.1) recherche globale (s_all ou s_all2) : * - (1.1.1.1) s_all2 (champ de recherche global en bas à gauche) => recherche globale (toutes les tables) * - (1.1.1.2) s_all (champ de recherche général matériel tout au début du formulaire de recherche, en haut de page) => recherche générale sur la table matériel (et tables liées) * - (1.1.2) recherche spécifique : 1 ou plusieurs champ(s) spécifique(s) (s_designation, ...) => recherche sur champs spécifiques * - (1.2) NO DATA, only empty fields : Une recherche a été soumise sans remplir aucun champ !! => ne rien faire * - (2) SINON : * - (2.1) avec critères de tri => sort_result() : Devant le résultat d'une recherche, on a simplement cliqué sur une colonne pour afficher le résultat TRIÉ (sorted) * - (2.2) sans critère de tri => c'est la première fois qu'on vient sur la vue, rien à faire de plus * ******************** */ // (1) POST if ($this->request->is('post')) { $has_data = FALSE; foreach ($this->request->getData() as $k=>$v) { if ($v != '') { $has_data = TRUE; break; } } // (1.1) POST with data if ($has_data) { ///debug("post with data"); // (1.1.1) Recherche globale (s_all_2 ou s_all) : /* * TODO: Distinguer la recherche globale dans TOUTES les tables (s_all_2) de la recherche générale seulement dans la table matériel (s_all) * - Pour le moment, les résultats sont les mêmes pour ces 2 champs (normal, on fait le même traitement), c'est pas normal !!! * - Recherche s_all ok : il faudrait juste améliorer la recherche dans toutes les tables liées au matériel (fournisseur, organismes, catégories...) * - Recherche s_all_2 pas faite : à inventer... * - Ajouter des tests de recherche (nombreux cas possibles) */ if ( $this->request->getData('s_all_2') || $this->request->getData('s_all') ) { // - Recherche globale // debug("recherche globale"); exit; $general_search_field_name = $this->request->getData('s_all_2') ? 's_all_2' : 's_all'; $conditions = $this->find_general($general_search_field_name); //debug($conditions); exit; /* if ($this->request->getData('s_all_2')) debug("s_all2, recherche globale (toutes les tables)"); else if ($this->request->getData('s_all')) debug("s_all, recherche générale dans la table des matériels (et tables associées)"); */ } // (1.1.2) recherche spécifique : 1 ou plusieurs champ(s) spécifique(s) (s_designation, ...) => recherche sur champs spécifiques else { // - Recherche de champs spécifiques dans la table des matériels ///debug("recherche de champs spécifiques dans la table des matériels"); $conditions = $this->find_specific_fields(); } // CONSTRUCTION DE LA REQUETE SQL COMPLETE = $specificFieldsConditions OR $generalFieldConditions (mais entre chaque champ, c'est un AND) // by default, no sort $conditions = [ $conditions, $conditionNotArchived ]; //debug($conditions); exit; $lastResults = $this->Materiels->find('all', [ 'conditions' => $conditions, 'contain' => MaterielsController::CONTAIN_FOR_SEARCH, ])->limit(self::LIMIT_MAX); /* $this->paginate = [ 'maxLimit' => $LIMIT_MAX, 'limit' => $LIMIT_MAX ]; //debug($lastResults); exit; $_results = $this->paginate($lastResults); */ try { $_results = $this->paginateResults($lastResults, self::LIMIT_MAX); } catch (\PDOException $e) { debug("Mauvais format de requete SQL (0), Exception PDO générée !"); exit; } /* try { $_results = $this->paginate($lastResults, [ 'limit' => $LIMIT_MAX, 'maxLimit' => $LIMIT_MAX, 'sortWhitelist' => [ // - Champs directs 'designation', 'numero_laboratoire', // tutelle 'numero_inventaire_organisme', 'numero_commande', //'nom_responsable', 'nom_user', 'status', 'date_acquisition', 'prix_ht', //'etiquette', //'lieu_detail', // - Champs FK (HasOne only) 'Sites.nom', 'Categories.nom', //'Organismes.nom', // Gestionnaire 'Users.nom', 'Fournisseurs.nom', ], 'order' => [ 'numero_laboratoire' => 'desc' // ATTENTION, écrit comme ceci ca rentrait en conflit avec la colonne de tri numero_laboratoire... //'Materiels.numero_laboratoire' => 'desc' ], ]); } catch (\PDOException $e) { debug("Mauvais format de requete SQL (0), Exception PDO générée !"); exit; } */ $this->set(compact('_results')); // pour l'export $this->request->getSession()->write("result", $lastResults->toArray()); $this->set('statuses_color', self::statuses_color); // Pas bien..., mais pratique : // on passe le controleur de materiels à la vue index pour qu'elle // puisse appeler la methode isAuthorizedAction() $this->set("controller", $this); } // $has_data // (1.2) POST without data else { ///debug("post without data => do nothing"); // with sort field => trier un résultat // without sort field => c'est la première visite de cette vue } } // (2) no POST (soit c'est la première venue sur la vue, soit on a cliqué sur une colonne pour demander un tri) else { ///debug("no POST"); // (2.1) AVEC critère de tri (sort) => seulement demandé un tri du résultat, no data posted /* * TODO: on pourrait faire autrement: * A chaque fois qu'on fait un tri sur une colonne, * au lieu de sauvegarder le résultat de la recherche dans une variable de session puis recharger ce résultat en mémoire pour le trier, * il vaudrait mieux relancer la recherche à chaque fois, mais juste changer le critère de tri, c'est plus simple, plus naturel */ //debug($this->request->getRequestTarget()); //if ($resultTri!==null && strstr($this->request->here(),'sort')!=false && strstr($this->request->here(),'direction')!=false) { if ($resultTri !== null) { //if ( strstr($this->request->here(),'sort')!=false && strstr($this->request->here(),'direction')!=false ) { $foundMateriel = []; foreach ($resultTri as $r) { array_push($foundMateriel, $r->id); } /* $res = $this->Materiels->find('all', [ //'contain' => ['Categories', 'Fournisseurs'], 'limit' => 1000 ]); for ($i = 0; $i < sizeof($foundMateriel); $i ++) { $res->orWhere([ 'id =' => $foundMateriel[$i] ]); } */ $res = $this->Materiels->find() ->limit(self::LIMIT_MAX) // (EP) Attention, si on ajoute un "->contain", on devra utiliser 'Materiels.id' et non pas 'id' tout seul (ci-dessous) //->contain(['Categories', 'Fournisseurs', 'Organismes']); ->contain(MaterielsController::CONTAIN_FOR_SEARCH); //->firstOrFail(); for ($i=0; $iorWhere([ // Ca plante si on met que 'id' => action impossible, tu parles d'un message parlant !!! // OK seulement si pas de ->contain() //'id =' => $foundMateriel[$i] // Si on utilise ->contain(), il faut préciser 'Materiels.id' 'Materiels.id =' => $foundMateriel[$i] ]); } /* $this->paginate = [ 'maxLimit' => $LIMIT_MAX, 'limit' => $LIMIT_MAX ]; $_results = $this->paginate($res); */ try { $_results = $this->paginateResults($res, self::LIMIT_MAX); } catch (\PDOException $e) { debug("Mauvais format de requete SQL (0), Exception PDO générée !"); exit; } /* try { $_results = $this->paginate($res, [ 'limit' => $LIMIT_MAX, 'maxLimit' => $LIMIT_MAX, 'sortWhitelist' => [ // - Champs directs 'designation', 'numero_laboratoire', // tutelle 'numero_inventaire_organisme', 'numero_commande', //'nom_responsable', 'nom_user', 'status', 'date_acquisition', 'prix_ht', //'etiquette', //'lieu_detail', // - Champs FK (HasOne only) 'Sites.nom', 'Categories.nom', //'Organismes.nom', // Gestionnaire 'Users.nom', 'Fournisseurs.nom', ], 'order' => [ 'numero_laboratoire' => 'desc' // ATTENTION, écrit comme ceci ca rentrait en conflit avec la colonne de tri numero_laboratoire... //'Materiels.numero_laboratoire' => 'desc' ], ]); } catch (\PDOException $e) { debug("Mauvais format de requete SQL (0), Exception PDO générée !"); exit; } */ $this->set(compact('_results')); // pour l'export $this->request->getSession()->write("result", $res->toArray()); $this->set('statuses_color', self::statuses_color); // Pas bien..., mais pratique : // on passe le controleur de materiels à la vue index pour qu'elle // puisse appeler la methode isAuthorizedAction() $this->set("controller", $this); //} } // (2.2) SANS critère de tri => c'est la première fois qu'on vient sur la vue, rien à faire de plus else { ///debug("1ère venue sur la vue"); } } // no POST } // find() /** * group update status + exportAll */ public function execActions() { // var_dump($this->request->getData('updateSelectedStatus')); if ($this->request->getData('updateSelectedStatus') !== null) $this->updateSelectedStatus(); else $this->export(); } /** * group update status (selected from materiels/index) */ private function updateSelectedStatus() { /* * var_dump($nb); * var_dump($this->request->getData); * var_dump($this->request->getData('updateSelectedStatus')); * var_dump($this->request->getData()); */ //if (isset($this->request->getData()) && sizeof($this->request->getData()) > 0) { if (sizeof($this->request->getData()) > 0) { $this->myDebug("IN UPDATE"); $this->myDebug($this->request->getData()); $what = $this->request->getData('what'); $nb = 0; if (in_array($what, $this->NOTARCHIVED)) { foreach ($this->request->getData() as $id => $value) { // seulement les post data integers (id des materiels checked ou non) if (! is_int($id)) continue; // seulement les id des materiels CHECKED (==1) if ($value == 0) continue; $materiel = $this->Materiels->get($id); $materielIdentification = $materiel->designation . '-' . $materiel->numero_laboratoire; switch ($what) { case 'CREATED': /* $new = 'VALIDATED'; $msgError = "le materiel " . $materielIdentification . " n'a pas pu être validé car au moins un des champs nécessaire n'est pas rempli."; */ $new = 'TOBEORDERED'; $msgError = "le materiel " . $materielIdentification . " n'a pas pu être commandé (un champ obligatoire est manquant)"; break; case 'TOBEORDERED': $new = 'VALIDATED'; $msgError = "le materiel " . $materielIdentification . " n'a pas pu être validé (un champ obligatoire est manquant)"; break; case 'VALIDATED': $new = 'TOBEARCHIVED'; $msgError = "La demande de sortie de l'inventaire du matériel " . $materielIdentification . " n'a pas pu s'effectuer."; break; case 'TOBEARCHIVED': $new = 'ARCHIVED'; $msgError = "le materiel " . $materielIdentification . " n'a pas pu être archivé."; break; } // if mode_debug desactivate (POURQUOI ???) if (! $this->isLabinventDebugMode()) { if (! $this->_statusSetTo($new, 'Le matériel a bien été ???', $id, 'index', false)) $nb --; /* * //debug($materiel); exit; * if ($materiel->nom_responsable === null || $materiel->fournisseur_id === null || $materiel->numero_commande === null || $materiel->organisme_id === null || $materiel->date_reception === null || $materiel->prix_ht === null) { * $this->Flash->error($msgError); * $nb --; * } else { * $materiel->set('status', $new); * $this->Materiels->save($materiel, ['checkRules' => false, 'checkExisting' => false]); * } */ } $nb ++; } // foreach if ($nb > 0) $this->Flash->success(__($nb . ' matériel(s) mis à jour')); $this->myDebug("Nb matos = " . $nb); if (! $this->isLabinventDebugMode()) return $this->redirect([ 'action' => 'index', 'page' => $this->request->getQuery('page'), $what ]); } } } // find() /** * Export method * Generation d'un fichier .csv comportant la date du jour * CSV export of the list of materiels * This action is called from 3 different sources : * - tools * - materiels/find * - materiels/index (from the 2 submit green buttons named "Exporter la liste...") * Optional parameter "what:value" may be passed when calling this action, and is read from $this->getAttribute('params')['named']['what'] * ex : materiels/export/what:toValidate */ public function export($param = null) { function getElementFromList($listName, $materiel, $fkName) { $ISOK = ( !is_null($materiel->$fkName) && !is_null($listName[$materiel->$fkName]) ); return $ISOK ? $listName[$materiel->$fkName] : ""; } //$materiels = NULL; $materiels = []; $surCategories = $this->Materiels->SurCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom' ])->toArray(); $categories = $this->Materiels->Categories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom' ])->toArray(); $sousCategories = $this->Materiels->SousCategories->find('list', [ 'keyField' => 'id', 'valueField' => 'nom' ])->toArray(); $groupesThematiques = $this->Materiels->GroupesThematiques->find('list', [ 'keyField' => 'id', 'valueField' => 'nom' ])->toArray(); $groupesMetiers = $this->Materiels->GroupesMetiers->find('list', [ 'keyField' => 'id', 'valueField' => 'nom' ])->toArray(); $organismes = $this->Materiels->Organismes->find('list', [ 'keyField' => 'id', 'valueField' => 'nom' ])->toArray(); $sites = $this->Materiels->Sites->find('list', [ 'keyField' => 'id', 'valueField' => 'nom' ])->toArray(); $what = ''; $this->myDebug($this->request->getData()); // Critères pour requete sql sur materiels $contain = [ 'Fournisseurs', 'Users', // Pour les gestionnaires (gestionnaire_id) ]; $order = ['numero_laboratoire' => 'DESC']; $CAS = 0; // CAS 1 - EXPORT uniquement les materiels selectionnés (cochés) if ($this->request->getData('export') !== null) { $CAS = 1; $this->myDebug("IN EXPORT"); $what = $this->request->getData('what'); $selectedMateriels = []; $i = 0; //$data = $this->request->getData(); $data = $this->request->getData(); foreach ($data as $val) { if ($val == 1) { $selectedMateriels[$i] = key($data); $i ++; } next($data); } $this->myDebug($selectedMateriels); /* // Si la liste de materiels cochés est vide, ne rien faire if (empty($selectedMateriels)) { if ($what != '' && $what != 'search') return $this->redirect(['action' => 'index', $what]); else if ($what == 'search') return $this->redirect('javascript:window.history.go(-3)'); else return $this->redirect(['action' => 'index']); } */ //if (sizeof($selectedMateriels) > 0) { if (! empty($selectedMateriels)) { /* $materiels = $this->Materiels->find('all') ->where(['Materiels.id' => $selectedMateriels[0]]) ->contain($contain); for ($j = 0; $j < sizeof($selectedMateriels); $j ++) { $materiels->orWhere([ 'Materiels.id' => $selectedMateriels[$j] ]); } */ //$materielsTable = TableRegistry::getTableLocator()->get('Materiels'); //$materiels = $materielsTable->find() $materiels = $this->Materiels->find() ->contain($contain) ->where(['Materiels.id' => $selectedMateriels[0]]); for ($j = 0; $j < sizeof($selectedMateriels); $j ++) $materiels->orWhere( ['Materiels.id' => $selectedMateriels[$j]] ); $materiels->order($order); /* $materiels = $this->Materiels->find() ->contain($contain) ->where([ //'OR' => [['id' => 2], ['id' => 10]], 'OR' => [$selectedMateriels], ]); */ } //$this->myDebug($materiels); //} } // CAS 2 - EXPORT liste courante // (cette fonction export() a été appelée par index()) //else if ($this->request->getData('exportcurrent') !== null) { else if (is_array($param) && len($param)>0) { $CAS = 2; $this->myDebug("IN exportCurrent"); $materiels = $param; //debug($materiels->toArray()); exit; } // CAS 2 // CAS 3 - EXPORT TOUS les matériels de la BD else if ($this->request->getData('exportAll') !== null) { $CAS = 3; $this->myDebug("IN EXPORT ALL"); // Exporte seulement les materiels du statut coché if ($this->request->getData('what') !== null) { $what = $this->request->getData('what'); $status = $what; /* $materiels = $this->Materiels->find('all', [ 'conditions' => [ 'Materiels.status =' => $status ], 'contain' => $contain ]); */ $materiels = $this->Materiels ->find() ->where(['Materiels.status =' => $status]) ->contain($contain) ->order($order); // Exporte seulement TOUS les materiels (sauf ARCHIVED) } else { $status = 'ARCHIVED'; /* $materiels = $this->Materiels->find('all', [ 'conditions' => [ 'Materiels.status !=' => $status ], 'contain' => $contain ]); */ $materiels = $this->Materiels ->find() ->where(['Materiels.status !=' => $status]) ->contain($contain) ->order($order); } $this->myDebug("what is " . $what); $this->myDebug("statut is " . $status); } // CAS 4 - Export du résultat de Recherche (find) else if ( $param == 'search' // C'est la meme chose que ci-dessus, mais bon... && isset($this->request->getAttribute('params')['pass'][0]) && $this->request->getAttribute('params')['pass'][0] == 'search' ) { $CAS = 4; $this->myDebug("RECHERCHE"); $what = $this->request->getAttribute('params')['pass'][0]; //if ($what == 'search') { $materiels = $this->request->getSession()->read("result"); //} } // CAS 5 (???) - Tous les matériels (sauf ARCHIVED) else { $CAS = 5; $this->myDebug("OTHER CASE 4"); /* $materiels = $this->Materiels->find('all', [ 'conditions' => [ 'Materiels.status !=' => 'ARCHIVED' ], 'contain' => $contain ]); */ $materiels = $this->Materiels ->find() ->where(['Materiels.status !=' => 'ARCHIVED']) ->contain($contain) ->order($order); } // (EP) Si aucun materiel retourné par la sélection => terminé, ne rien faire, basta if (empty($materiels)) { if ($what != '' && $what != 'search') return $this->redirect(['action' => 'index', $what]); else if ($what == 'search') return $this->redirect('javascript:window.history.go(-3)'); //else return $this->redirect(['action' => 'index']); return $this->redirect(['action' => 'index']); } /* // (EP ) Tri des materiels par numéro inventaire $num_labos = array_column($materiels->toArray(), 'numero_laboratoire'); // Ajoute $materiels en tant que dernier paramètre, pour trier par la clé commune array_multisort($num_labos, SORT_DESC, $materiels->toArray()); */ // NOW, CREATE THE CSV file from $materiels //debug($materiels[0]);exit; if ($CAS == 4) // Tableau de materiels, chaque materiel étant un objet query $this->myDebug("Nb matos = " . count($materiels)); else // Objet query $this->myDebug("Nb matos = " .$materiels->count()); /* foreach ($materiels as $result) $this->myDebug($result); exit; */ //$this->myDebug($materiels, true); //$this->myDebug($materiels); $configuration = $this->confLabinvent; $nomgroupemetier = $configuration->nom_groupe_metier; $nomgroupethematique = $configuration->nom_groupe_thematique; $nomgroupemetier = htmlentities($nomgroupemetier, ENT_NOQUOTES, 'utf-8'); $nomgroupemetier = preg_replace('#&([A-za-z])(?:acute|cedil|caron|circ|grave|orn|ring|slash|th|tilde|uml);#', '\1', $nomgroupemetier); $nomgroupemetier = preg_replace('#&([A-za-z]{2})(?:lig);#', '\1', $nomgroupemetier); // pour les ligatures e.g. 'œ' $nomgroupemetier = preg_replace('#&[^;]+;#', '', $nomgroupemetier); // supprime les autres caractères $nomgroupethematique = htmlentities($nomgroupethematique, ENT_NOQUOTES, 'utf-8'); $nomgroupethematique = preg_replace('#&([A-za-z])(?:acute|cedil|caron|circ|grave|orn|ring|slash|th|tilde|uml);#', '\1', $nomgroupethematique); $nomgroupethematique = preg_replace('#&([A-za-z]{2})(?:lig);#', '\1', $nomgroupethematique); // pour les ligatures e.g. 'œ' $nomgroupethematique = preg_replace('#&[^;]+;#', '', $nomgroupethematique); // supprime les autres caractères //"id", $header_row = [ "Désignation", "Sur-catégorie", "Catégorie", "Sous-catégorie", "Numéro interne", "Description", "Organisme", "Mat. administratif", "Mat. technique", "Statut", "Date d'acquisition", "Date de réception", "Fournisseur", "Prix HT", "EOTP", "Numéro de commande", "Code comptable", "Numéro de série", $nomgroupethematique, $nomgroupemetier, "Numéro inventaire organisme", "Ancien Numéro inventaire", "Site stockage", "Gestionnaire", "Nom responsable", "Email responsable" ]; // DEBUG = true => n'envoie pas le fichier, l'affiche seulement $DEBUG=false; //$DEBUG=true; !$DEBUG && ini_set('max_execution_time', 600); $filename = 'export_' . date("Y-m-d") . '.csv'; !$DEBUG && $csv_file = fopen('php://output', 'w'); !$DEBUG && $this->response->header([ // CRAL: //'Content-Type: text/csv' 'Content-Type: application/csv', //CRAL: //"Content-disposition: attachment; filename=Demande_bureaux_" . date("Ymd").".csv"); 'Content-Disposition: attachment; filename="' . $filename . '"' ]); !$DEBUG && $this->response->sendHeaders(); // 1) Write HEADER row !$DEBUG && fputcsv($csv_file, $header_row, ';'); // 2) Write DATA rows, 1 by 1 foreach ($materiels as $result) { //$this->myDebug($result); $row = [ //utf8_encode($result->id), $result->designation ]; array_push($row, getElementFromList($surCategories, $result, 'sur_categorie_id')); /* $fkName = 'sur_categorie_id'; $listName = $surCategories; $ISOK = ( !is_null($result->$fkName) && !is_null($listName[$result->$fkName]) ); array_push($row, $ISOK ? $listName[$result->$fkName] : ""); */ /* if ($surCategories[$result->sur_categorie_id] !== null) { array_push($row, $surCategories[$result->sur_categorie_id]); } else { array_push($row, ""); } */ array_push($row, getElementFromList($categories, $result, 'categorie_id')); /* $fkName = 'categorie_id'; $listName = $categories; $ISOK = ( !is_null($result->$fkName) && !is_null($listName[$result->$fkName]) ); array_push($row, $ISOK ? $listName[$result->$fkName] : ""); //if ($categories[$result->categorie_id] !== null) { if ($result->categorie_id !== null && $categories[$result->categorie_id] !== null) { array_push($row, $categories[$result->categorie_id]); } else { array_push($row, ""); } */ array_push($row, getElementFromList($sousCategories, $result, 'sous_categorie_id')); /* $fkName = 'sous_categorie_id'; $listName = $sousCategories; $ISOK = ( !is_null($result->$fkName) && !is_null($listName[$result->$fkName]) ); array_push($row, $ISOK ? $listName[$result->$fkName] : ""); if ($result->sous_categorie_id !== null && $sousCategories[$result->sous_categorie_id] !== null) { array_push($row, $sousCategories[$result->sous_categorie_id]); } else { array_push($row, ""); } */ array_push($row, $result->numero_laboratoire); array_push($row, $result->description); array_push($row, getElementFromList($organismes, $result, 'organisme_id')); /* $fkName = 'organisme_id'; $listName = $organismes; $ISOK = ( !is_null($result->$fkName) && !is_null($listName[$result->$fkName]) ); array_push($row, $ISOK ? $listName[$result->$fkName] : ""); if ( !is_null($result->organisme_id) && !is_null($organismes[$result->organisme_id] ) ) { array_push($row, $organismes[$result->organisme_id]); } else { array_push($row, ""); } */ array_push($row, $result->materiel_administratif); array_push($row, $result->materiel_technique); array_push($row, $result->status); array_push($row, $result->date_acquisition); array_push($row, $result->date_reception ? $result->date_reception : ''); //array_push($row, $result->fournisseur); array_push($row, $result->fournisseur_id ? $result->fournisseur->nom:''); array_push($row, $result->prix_ht); array_push($row, $result->eotp); array_push($row, $result->numero_commande ? $result->numero_commande:''); array_push($row, $result->code_comptable); array_push($row, $result->numero_serie); array_push($row, getElementFromList($groupesThematiques, $result, 'groupes_thematique_id')); /* $fkName = 'groupes_thematique_id'; $listName = $groupesThematiques; $ISOK = ( !is_null($result->$fkName) && !is_null($listName[$result->$fkName]) ); array_push($row, $ISOK ? $listName[$result->$fkName] : ""); */ array_push($row, getElementFromList($groupesMetiers, $result, 'groupes_metier_id')); /* $fkName = 'groupes_metier_id'; $listName = $groupesMetiers; $ISOK = ( !is_null($result->$fkName) && !is_null($listName[$result->$fkName]) ); array_push($row, $ISOK ? $listName[$result->$fkName] : ""); if ($groupesMetiers[$result->groupes_metier_id] !== null) { array_push($row, $groupesMetiers[$result->groupes_metier_id]); } else { array_push($row, ""); } */ array_push($row, $result->numero_inventaire_organisme); array_push($row, $result->numero_inventaire_old); array_push($row, getElementFromList($sites, $result, 'site_id')); /* $fkName = 'site_id'; $listName = $sites; $ISOK = ( !is_null($result->$fkName) && !is_null($listName[$result->$fkName]) ); array_push($row, $ISOK ? $listName[$result->$fkName] . '-' . $result->lieu_detail : ""); if ($sites[$result->site_id] !== null) { array_push($row, $sites[$result->site_id] . '-' . $result->lieu_detail); } else { array_push($row, ""); } */ array_push($row, $result->gestionnaire_id ? $result->user->nom:''); array_push($row, $result->nom_responsable); array_push($row, $result->email_responsable); $DEBUG && debug($row); //$DEBUG && exit; !$DEBUG && fputcsv($csv_file, $row, ';', '"'); } sleep(3); !$DEBUG && fclose($csv_file); exit(); // Sans le exit() ça ne fonctionne pas pour des petites listes, et dans tout les cas une ligne en javascript est écrite si il n'y a pas exit() // La redirection suivante fonctionne parfaitement, mais inutile à cause du exit() /* * if ($what != '' && $what != 'search') return $this->redirect(['action' => 'index', $what]); * else if ($what == 'search') return $this->redirect('javascript:window.history.go(-3)'); * else return $this->redirect(['action' => 'index']); */ } /** * SetLabelIsPlacedOrNotPlaced method * * @param string $id * @param string $from * @param string $printed * @return \Cake\Http\Response|NULL */ private function _setLabelIsPlacedOrNotPlaced($id, $from=null, $printed = TRUE) { //debug("id $id from $from"); exit; //$materiel = $this->Materiels->get($id)->set('etiquette', $printed); $materiel = $this->Materiels->get($id); $materiel->etiquette = $printed; //debug($materiel); exit; if ($this->Materiels->save($materiel, [ 'checkRules' => false, 'checkExisting' => false ])) { //debug("save OK"); $verb = $printed ? 'a' : "n'a pas"; $this->Flash->success(__("Je prends note que l'étiquette $verb été collée sur le matériel")); /* // Envoi email seulement si etiquette posée if ($printed) { // $this->sendEmailToManagement($id); //(EP202009) //$this->sendEmail($materiel); $this->sendmail($materiel); } */ } else { //debug("save KO"); $this->Flash->error(__("Il y a eu un problème lors de la sauvegarde du statut 'étiquette collée' !")); } // Retour à la vue d'origine return $this->redirect($this->referer()); } /** * SetLabelIsPlaced method * * @param string $id * @param string $from */ public function setLabelIsPlaced($id, $from=null) { //debug("id $id from $from"); exit; $this->_setLabelIsPlacedOrNotPlaced($id, $from, TRUE); } /** * SetLabelIsNotPlaced method * * @param string $id * @param string $from */ public function setLabelIsNotPlaced($id, $from=null) { $this->_setLabelIsPlacedOrNotPlaced($id, $from, FALSE); } /** * PrintLabelRuban method * * @param string $id * @param string $from */ public function printLabelRuban($id, $from = 'view') { // (EP 202006) ANCIENNE METHODE => ne nécessite pas de template Materiels/[xml/]print_label_ruban.ctp //$this->OLD_printLabel('ruban', $id, $from); // (EP 202006) NEW METHODE => nécessite le template Materiels/xml/print_label_ruban.ctp $this->printLabel('ruban', $id, $from); //(EP202009) //$this->sendEmail($this->Materiels->get($id)); ////$this->sendmail($this->Materiels->get($id)); } /** * PrintLabelEtiquette method * * @param string $id * @param string $from * public function printLabelEtiquette($id, $from='view') { * $this->printLabel('etiquette', $id, $from); * } */ /* (EP 202006) La bonne façon de faire, mais marche pas encore nickel chrome * car nécessite encore un template Materiels/xml/print_label_ruban.ctp... * (L'ancienne méthode a été renommée OLD_printLabel) * * Voir * https://book.cakephp.org/3/fr/views/json-and-xml-views.html#exemple-d-utilisation * et aussi * https://book.cakephp.org/3/en/controllers/request-response.html#sending-a-string-as-file * et aussi * https://book.cakephp.org/3/en/controllers/request-response.html#sending-files * */ private function printLabel($type = 'ruban', $id, $from = 'view') { //$this->viewBuilder()->setLayout(false); // Définit le format de la Vue $this->viewBuilder()->setClassName('Xml'); //$this->viewBuilder()->setLayout(false); //$materiel = $this->Materiels->get($id); $materiel = $this->Materiels->get($id, [ 'contain' => ['Organismes'] ]); //debug($materiel); exit; $numeroLab = $materiel->numero_laboratoire; //$organisme = $materiel->organisme_id; $organisme = $materiel->organisme ? $materiel->organisme->nom : 'Tutelle'; $numeroInventaireOrganisme = $materiel->numero_inventaire_organisme; /* $dateAcquisition = substr(str_replace('/','-',$materiel->date_acquisition), 0,-4); // '06-12-' $dateAcquisition .= substr($materiel->date_acquisition,-2); // '06-12-17' */ $dateAcquisition = $materiel->date_acquisition; // On imprime 'JJ-MM-AA' si date achat absente $dateAcquisition = empty($dateAcquisition) ? 'JJ-MM-AA' : $materiel->date_acquisition->format('d-m-y'); // '06-12-17' /* $file = fopen('php://output', 'w'); */ $filename = 'inventirap_label.label'; /* $this->response = $this->response ->withHeader('Content-Type','application/xml') ->withHeader('Content-Disposition','attachment; filename="'.$filename.'"'); */ //$this->response->sendHeaders(); // Select current default format (set from configuration) : etiquette_format1, or etiquette_format2, or etiquette_format3, etc... //debug($this->confLabinvent); $label_format_num = $this->confLabinvent->label_format_num; //debug($this->confLabinvent); //debug("label_format_num is $label_format_num"); $etiquetteFormatFunction = "etiquette_format".$label_format_num; // Select IRAP format //$etiquetteFormatFunction = "etiquette_format1"; // Select CRAL format //$etiquetteFormatFunction = "etiquette_format2"; /* if ($type == 'ruban') fputs($file, $this->$etiquetteFormatFunction($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme )); if ($type == 'etiquette') fputs($file, $this->_getLabelEtiquette($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme)); if ($type == 'ruban3lines') fputs($file, $this->_getLabelRuban3($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme)); */ //debug($etiquetteFormatFunction); exit; // etiquette_format1 //$xml_content = $this->$etiquetteFormatFunction($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme); $xml_content = $this->$etiquetteFormatFunction($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme); /* $response = $this->response; // Inject string content into response body (3.4.0+) $response = $response->withStringBody($xml_content); $response = $response->withType('xml'); // Optionally force file download $response = $response->withDownload($filename); // Return response object to prevent controller from trying to render // a view. return $response; //$response->download('inventirap_label.label'); */ //$this->viewBuilder()->setOption('rootNode', 'ContinuousLabel'); //$this->set('_rootNode','ContinuousLabel'); // Définir les Données de la Vue //$this->set('ContinuousLabel',$xml_content); $this->set(compact('xml_content')); //$this->set('_serialize', ['ContinuousLabel']); //$this->set('_serialize', 'xml_content'); //$this->viewBuilder()->setOption('serialize', ['xml_content']); // Définit le téléchargement forcé // Avant 3.4.0 // $this->response->download('report-' . date('YmdHis') . '.' . $format); //return $this->response->withDownload('report-' . date('YmdHis') . '.' . 'xml'); //return $this->response->withDownload('inventirap_label.label'); //$this->response->download('inventirap_label.xml'); $this->response->download($filename); //return $this->response->withFile('inventirap_label.label'); } /** * PrintLabel method * * @param string $type * @param string $id * @param string $from */ //private function printLabel($type = 'etiquette', $id, $from = 'view') private function OLD_printLabel($type = 'ruban', $id, $from = 'view') { //$this->viewBuilder()->setLayout(false); //$materiel = $this->Materiels->get($id); $materiel = $this->Materiels->get($id, [ 'contain' => ['Organismes'] ]); $numeroLab = $materiel->numero_laboratoire; //$organisme = $materiel->organisme_id; $organisme = $materiel->organisme ? $materiel->organisme->nom : ''; $numeroInventaireOrganisme = $materiel->numero_inventaire_organisme; /* $dateAcquisition = substr(str_replace('/','-',$materiel->date_acquisition), 0,-4); // '06-12-' $dateAcquisition .= substr($materiel->date_acquisition,-2); // '06-12-17' */ $dateAcquisition = $materiel->date_acquisition->format('d-m-y'); // '06-12-17' $filename = 'inventirap_label.label'; $file = fopen('php://output', 'w'); /* $this->response->header([ 'Content-type: application/xml', 'Content-Disposition: attachment; filename="' . $filename . '"' ]); */ // MARCHE... $this->response = $this->response ->withHeader('Content-Type','application/xml') ->withHeader('Content-Disposition','attachment; filename="'.$filename.'"'); //debug($this->response); exit; //$this->response = $this->response->withHeader('Content-Disposition','attachment; filename="'.$filename.'"'); // MARCHE PAS, WHY ??? //$this->response = $this->response->withHeader("Content-Disposition","attachment; filename='$filename'"); $this->response->sendHeaders(); // Select current default format (set from configuration) : etiquette_format1, or etiquette_format2, or etiquette_format3, etc... $label_format_num = $this->confLabinvent->label_format_num; //debug($this->confLabinvent); //debug("label_format_num is $label_format_num"); $etiquetteFormatFunction = "etiquette_format".$label_format_num; // Select IRAP format //$etiquetteFormatFunction = "etiquette_format1"; // Select CRAL format //$etiquetteFormatFunction = "etiquette_format2"; //if ($type == 'ruban') fputs($file, $this->_getLabelRuban($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme )); if ($type == 'ruban') fputs($file, $this->$etiquetteFormatFunction($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme )); // Anciens formats d'étiquettes ou ruban if ($type == 'etiquette') fputs($file, $this->_getLabelEtiquette($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme)); if ($type == 'ruban3lines') fputs($file, $this->_getLabelRuban3($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme)); sleep(3); fclose($file); // Si on veut éviter d'avoir à créer un template Materiels/print_label_ruban.ctp : exit; //exit(); // Ou encore : /* return $this->redirect([ 'action' => 'view', $id ]); */ } /* * RUBAN (12mm) * LABEL FOR PRINTER DYMO LabelManager PnP : 2 lines WITH LOGO * Format IRAP */ //private function _getLabelRuban($numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { return //private function etiquette_format1($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { private function etiquette_format4($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { // Texte à imprimer (colonne de gauche) $nb_text_lines = 2; /* $text_line1 = trim("$numeroLab / " . "$dateAcquisition"); $text_line2 = "$organisme " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : ''); */ // Image(s) à imprimer (colonne de droite) - code hexa // LOGO IRAP N&B $img_logo_black = 'iVBORw0KGgoAAAANSUhEUgAAAkEAAALVCAYAAADH8zX4AAAACXBIWXMAAC4hAAAuIwE1bZ59AABAAElEQVR4Aey9u48kR7bwNw/eJS+5M+whuVxDEFhXhgA5Yl9DjgCBuabksK8gQ4AMFs0PMtgryN8ivj/g9hoy5IhF/xO2CcgUsElD9i3+AcKtMWTsY8jmkDsfeXeHo3OGFZzs7MisfMQ7fwFEV2VmxHn8Tmbk6chH3b5FgQAEIHAg8Oc//3klX7Xeun379unLL798ot+fPHlycvfu3VP9bsqzZ89Wr7322jtmecrnX/7yl4eiZ9/s+/Tp092rr756peu+//77K9GzO2zfv/XWW/vDdz4gAAEIzCZwe7YEBEAAAlkQkGTi5NGjR6eSdJxIcnPaTGwk6XgvCycORortn+tXkzBJsrQT/64kSaoPTfiAAAQgcJQASdBRRDSAQF4EzGzOK6+8Un333XcrSXpWuSU5c4jL7NLX4rMmRXthsBcGtchjFmkOVPpCoFACJEGFBha3lkFAEp5KTvincsLXGZ5FJTtTIqwzSDp7JJf29sJsx8zRFIr0gUA5BEiCyoklnhRO4KuvvjqVmY1Tmemo5ER+ev/+/XcLdzmIe48fP/5CEsj63r17O5k12j148MDcgxREP0ogAIF4BEiC4rFHMwR6Cegsj17SkvtdKp3pkZuQX+/t4Gjj3//93zuS5FbMf/yP/9GtwA5pejnthx9+qOUSoiZFNbNFHaBYDYECCJAEFRBEXCiDgM70/N3f/d2ZJj0+7+FJNcmZG0WfSdLhRuzLO3fu1MwUzY0U/SGQDgGSoHRigSULI6A3MMvsTvXNN9+cycm1cjnTU2qiM3UXcZkg6UyR2HEp8aplpu5SLqU9f5x/qm30gwAE4hEgCYrHHs0LJKCzPX/961/XcnmrcnVPDwnPtB3JVWKk9xRJQnQpcb1klmhaLOgFgV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CqT4v+Yl+ebKnL6G/vB4lW/r/YgSkLpOSHIH9PgJJYu33IU1WqBFIEivJg3YZgSSx2mVYk5UmiZXkQLuMQJJY7TKsyUqTxEpyoF1GIEmsdhnWZKVJYiU50C4jkCRWuwxrstL/BxJPAjyhtOFQAAAAAElFTkSuQmCC'; $img_logo = $img_logo_black; // DYMO LabelManager PnP $tape_size = '12'; $label_length = '0'; $root_cell_length = '0'; $font_size = '24'; $object_margin_left="200"; $object_margin_right="200"; $cell1_length = '2606.94'; $length_mode = 'Fixed'; $cell2_length = '863.9999'; return $this->etiquette_dls_formatX( $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme, $nb_text_lines, $img_logo, $tape_size, $label_length, $root_cell_length, $font_size, $object_margin_left, $object_margin_right, $cell1_length, $length_mode, $cell2_length ); /* // (EP202006) NB: La 1ère ligne (xml version...) pose problème, donc je la vire //' return ' Landscape Tape12mm 12mm Auto 0 0 Auto 0 Solid Horizontal TEXTE_1 Rotation0 False False Left Middle ShrinkToFit True False ' .$text_line1 . "\n" .$text_line2 . '' //.'' . trim("$numeroLab / " . "$organisme") . "\n" . "$dateAcquisition " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : '') . .' 2606.94 Fixed 0 Solid GRAPHISME Rotation0 False False ' .$img_logo. ' Uniform 0 Right Center 863.9999 Auto 0 Solid '; //. "\n"; */ } // etiquette_format4() /* * RUBAN (19mm) * LABEL FOR PRINTER Dymo LabelManager PCII : 2 lines WITH QrCode * * Format CRAL */ private function etiquette_format2($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { // Texte à imprimer (colonne de gauche) $nb_text_lines = 2; /* $text_line1 = trim("$numeroLab / " . "$dateAcquisition"); $text_line2 = "$organisme " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : ''); */ // Image(s) à imprimer (colonne de droite) - code hexa // (EP 14-3-19) Recuperation du QrCode qui a été créé par la vue détaillée "view" en cours (le QrCode actuellement affiché par la vue en cours) $qrc_file_full_name = $this->request->getSession()->read("qrCodePath"); $qrc = file_get_contents("file://".$qrc_file_full_name); $qrc = base64_encode($qrc); $img_logo = $qrc; $tape_size = '19'; $label_length = '0'; $root_cell_length = '0'; $font_size = '24'; $object_margin_left="200"; $object_margin_right="200"; $cell1_length = '2606.94'; $length_mode = 'Fixed'; $cell2_length = '863.9999'; return $this->etiquette_dls_formatX( $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme, $nb_text_lines, $img_logo, $tape_size, $label_length, $root_cell_length, $font_size, $object_margin_left, $object_margin_right, $cell1_length, $length_mode, $cell2_length ); /* // (EP202006) NB: La 1ère ligne (xml version...) pose problème, donc je la vire //' return ' Landscape Tape19mm 19mm Auto 0 0 Auto 0 Solid Horizontal TEXTE_1 Rotation0 False False Left Middle ShrinkToFit True False ' .$text_line1 . "\n" .$text_line2 . ' 2606.94 Fixed 0 Solid GRAPHISME Rotation0 False False ' .$img_logo. ' Uniform 0 Right Center 863.9999 Auto 0 Solid '; */ } // etiquette_format2() /* * Définition d'étiquette * * - Type : RUBAN (19mm) * - Etiqueteuse : DYMO MobileLabeler * - Contenu : texte sur 3 lines et QrCode * * (Idem format 1 mais avec logiciel DLS 8.7.x sur Mac/Win) * (Le QrCode est généré par LabInvent et affiché comme image) * */ private function etiquette_format3($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { // Texte à imprimer (colonne de gauche) sur 3 lignes $nb_text_lines = 3; /* //$text_line1 = trim("$numeroLab / " . "$dateAcquisition"); $text_line1 = trim("$numeroLab"); $text_line2 = trim("$dateAcquisition"); $text_line3 = "$organisme " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : ''); */ // Image(s) à imprimer (colonne de droite) - code hexa // (EP 14-3-19) Recuperation du QrCode qui a été créé par la vue détaillée "view" en cours (le QrCode actuellement affiché par la vue en cours) $qrc_file_full_name = $this->request->getSession()->read("qrCodePath"); $qrc = file_get_contents("file://".$qrc_file_full_name); $qrc = base64_encode($qrc); $img_logo = $qrc; // DYMO MobileLabeler 19mm $tape_size = '19'; $label_length = '5278.94'; $root_cell_length = '4078.94'; $font_size = '11'; $object_margin_left='0'; $object_margin_right='0'; $cell1_length = '1980'; $length_mode = 'Auto'; $cell2_length = '869.4'; /* // DYMO LabelManager PnP $tape_size = '12'; $label_length = '0'; $root_cell_length = '0'; $font_size = '24'; $object_margin_left="200"; $object_margin_right="200"; $cell1_length = '2606.94'; $length_mode = 'Fixed'; $cell2_length = '863.9999'; */ return $this->etiquette_dls_formatX( $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme, $nb_text_lines, $img_logo, $tape_size, $label_length, $root_cell_length, $font_size, $object_margin_left, $object_margin_right, $cell1_length, $length_mode, $cell2_length ); /* // (EP202006) NB: La 1ère ligne (xml version...) pose problème, donc je la vire //' return ' Landscape Tape'.$tape_size.'mm '.$tape_size.'mm Auto '.$label_length.' '.$root_cell_length.' Auto 0 Solid Horizontal TEXTE_1 Rotation0 False False Left Middle ShrinkToFit True False ' .$text_line1 . "\n" .$text_line2 . "\n" .$text_line3 . ' '.$cell1_length.' '.$length_mode.' 0 Solid GRAPHISME Rotation0 False False ' .$img_logo. ' Uniform 0 Right Center '.$cell2_length.' Auto 0 Solid '; */ } // etiquette_format3() /* * RUBAN (12mm) * LABEL FOR PRINTER DYMO LabelManager PnP : 2 lines WITH QrCode * Format IRAP, avec QRCODE * * (mais QrCode trop petit pour être identifiable) */ //private function etiquette_format4($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { private function etiquette_format5($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { // Texte à imprimer (colonne de gauche) $nb_text_lines = 2; /* $text_line1 = trim("$numeroLab / " . "$dateAcquisition"); $text_line2 = "$organisme " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : ''); */ // Image(s) à imprimer (colonne de droite) - code hexa // (EP 14-3-19) Recuperation du QrCode qui a été créé par la vue détaillée "view" en cours (le QrCode actuellement affiché par la vue en cours) $qrc_file_full_name = $this->request->getSession()->read("qrCodePath"); $qrc = file_get_contents("file://".$qrc_file_full_name); $qrc = base64_encode($qrc); $img_logo = $qrc; $tape_size = '12'; $label_length = '0'; $root_cell_length = '0'; $font_size = '24'; $object_margin_left="200"; $object_margin_right="200"; $cell1_length = '2606.94'; $length_mode = 'Fixed'; $cell2_length = '863.9999'; return $this->etiquette_dls_formatX( $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme, $nb_text_lines, $img_logo, $tape_size, $label_length, $root_cell_length, $font_size, $object_margin_left, $object_margin_right, $cell1_length, $length_mode, $cell2_length ); /* // (EP202006) NB: La 1ère ligne (xml version...) pose problème, donc je la vire //' return ' Landscape Tape12mm 12mm Auto 0 0 Auto 0 Solid Horizontal TEXTE_1 Rotation0 False False Left Middle ShrinkToFit True False ' .$text_line1 . "\n" .$text_line2 . ' 2606.94 Fixed 0 Solid GRAPHISME Rotation0 False False ' .$img_logo. ' Uniform 0 Right Center 863.9999 Auto 0 Solid '; */ } // etiquette_format5() /* /* * Définition d'étiquette * * - Type : RUBAN (19mm) * (EP 20201124) * - Etiqueteuse : DYMO LabelManager 420P (ou ancienne MobileLabeler qui ne se fait plus) * - Contenu : texte sur 3 lines (arial 10, bold) + marge 1mm + QrCode * * (pour logiciel DCD 1.3.x Windows10) * (le QrCode est généré par DCD à partir d'un texte qu'on lui donne : l'URL à afficher) * */ //private function etiquette_format5($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { private function etiquette_format1($id, $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme) { // Texte à imprimer (colonne de gauche) sur 3 lignes $nb_text_lines = 3; /* //$text_line1 = trim("$numeroLab / " . "$dateAcquisition"); $text_line1 = trim("$numeroLab"); $text_line2 = trim("$dateAcquisition"); $text_line3 = "$organisme " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : ''); */ /* // Image(s) à imprimer (colonne de droite) - code hexa // (EP 14-3-19) Recuperation du QrCode qui a été créé par la vue détaillée "view" en cours (le QrCode actuellement affiché par la vue en cours) $qrc_file_full_name = $this->request->getSession()->read("qrCodePath"); $qrc = file_get_contents("file://".$qrc_file_full_name); $qrc = base64_encode($qrc); $img_logo = $qrc; */ // Texte à transformer en QrCode //$qr_code_text = "https://inventirap.irap.omp.eu/materiels/view/$id"; $qr_code_text = $this->getCurrentURL(false)."/materiels/view/".$id; //$qr_code_text = "tototata"; //debug($qr_code_text);exit; $tape_size = '19'; //$label_length = '5278.94'; //$root_cell_length = '4078.94'; $total_width = '1.641904'; $font_name = 'Arial'; $font_size = '10'; //$object_margin_left='0'; //$object_margin_right='1'; //$text_margin_right='1'; //$cell1_length = '1980'; $cell1_width = '1.115515'; //$length_mode = 'Auto'; //$cell2_length = '869.4'; $cell2_width = '0.5263889'; //return $this->etiquette_dcd_formatX( $etiq_text = $this->etiquette_dcd_formatX( $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme, $nb_text_lines, //$img_logo, $qr_code_text, // url de la fiche $tape_size, // 19 (mm) //$label_length, //$root_cell_length, $total_width, // 1.641904 $font_name, $font_size, // Arial 10 //$object_margin_left, //$object_margin_right, //$text_margin_right='1', //$cell1_length, $cell1_width, // 1.115515 //$length_mode, //$cell2_length $cell2_width // 0.5263889 ); //debug($etiq_text);exit; return $etiq_text; } // etiquette_format1() /* (EP 20201124) * * Définition d'étiquette (générale) * Compatible avec le logiciel DCD (Dymo Connect Desktop) version 1.3.2 * (uniquement utilisé sur Win, car MacOS utilise toujours l'ancien logiciel DLS) * */ private function etiquette_dcd_formatX( $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme, $nb_text_lines, //$img_logo, $qr_code_text, // url de la fiche $tape_size, // 19 (mm) //$label_length, //$root_cell_length, $total_width, // 1.641904 $font_name, $font_size, // Arial 10 //$object_margin_left, //$object_margin_right, //$text_margin_right='1', //$cell1_length, $cell1_width, // 1.115515 //$length_mode, //$cell2_length $cell2_width // 0.5263889 ) { // Texte à imprimer (colonne de gauche) : sur 2 ou 3 lignes /* $text_lines = trim("$numeroLab"); $text_lines .= $nb_text_lines == 3 ? "\n" : ' / '; $text_lines .= trim("$dateAcquisition") . "\n"; $text_lines .= "$organisme " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : ''); */ $text_line1_numinv = trim("$numeroLab"); $text_line2_date = trim("$dateAcquisition"); $text_line3_tutelle = "$organisme " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : ''); // (EP202006) NB: La 1ère ligne (xml version...) pose problème, donc je la vire //' return ' DYMO Label Landscape '.$tape_size.'X7-TAPE BLACK/WHITE 0.7555556 SolidLine 0.4166667 0.1145833 ' //1.641904 .''.$total_width.'' .'0.5263889 1 False ClearObjects ITextObject0 Rotation0 1 False SolidLine Left Middle None False None Left Middle False '.$text_line1_numinv.' ' //Arial //10 .''.$font_name.' '.$font_size.' True False False '.$text_line2_date.' '.$font_name.' '.$font_size.' True False False '.$text_line3_tutelle.' '.$font_name.' '.$font_size.' True False False 0.4166667 0.1145833 ' //1.115515 .''.$cell1_width.' 0.5263889 IQRCodeObject0 Rotation0 1 False SolidLine QRCode '.$qr_code_text.' Center Middle AutoFit QRCodeText ' //123 .''.$qr_code_text.' 1.532182 0.1145833 ' //0.5263889 .''.$cell2_width.' 0.5263889 Blank '; } // etiquette_dcd_formatX() /* * Définition d'étiquette (générale) * Compatible avec le logiciel DLS (Dymo Label Software) version 8.7.x * (toujours utilisé sur MacOS, mais remplacé par DCD sur Win) * */ private function etiquette_dls_formatX( $numeroLab, $organisme, $dateAcquisition, $numeroInventaireOrganisme, $nb_text_lines, $img_logo, $tape_size, $label_length, $root_cell_length, $font_size, $object_margin_left, $object_margin_right, $cell1_length, $length_mode, $cell2_length ) { // Texte à imprimer (colonne de gauche) : sur 2 ou 3 lignes $text_lines = trim("$numeroLab"); $text_lines .= $nb_text_lines == 3 ? "\n" : ' / '; $text_lines .= trim("$dateAcquisition") . "\n"; $text_lines .= "$organisme " . trim($numeroInventaireOrganisme ? '/ ' . "$numeroInventaireOrganisme" : ''); // (EP202006) NB: La 1ère ligne (xml version...) pose problème, donc je la vire //' return ' Landscape Tape'.$tape_size.'mm '.$tape_size.'mm' .'Auto' //Fixed .''.$label_length.'' //3648 .'' .''.$root_cell_length.'' //.'2448 .'Auto' //Fixed .'0 Solid Horizontal TEXTE_1 Rotation0 False False Left Middle ShrinkToFit' //None .'True False ' .$text_lines. ' ' // .' '.$cell1_length.' '.$length_mode.'' //.'1600 //Star .'0 Solid GRAPHISME Rotation0 False False ' .$img_logo. ' Uniform 0 Right Center '.$cell2_length.' Auto' //.'848.0001 //Star .'0 Solid '; } // etiquette_dls_formatX() /* * ETIQUETTE (19x51 mm) * LABEL FOR PRINTER DYMO LabelWriter 450 : WITH LOGO */ private function _getLabelEtiquette() { return ' Landscape MultiPurpose11355 11355 Multi-Purpose TEXTE Rotation0 False False Left Middle ShrinkToFit True False ' . "$numeroLab" . "\n" . "$dateAcquisition" . "\n" . "$organisme" . ($numeroInventaireOrganisme ? '-' . "$numeroInventaireOrganisme" : '') . ' ' . ' ' . ' GRAPHISME Rotation0 False False' . 'iVBORw0KGgoAAAANSUhEUgAAAkEAAALVCAYAAADH8zX4AAAACXBIWXMAAC4hAAAuIwE1bZ59AABAAElEQVR4Aey9u48kR7bwNw/eJS+5M+whuVxDEFhXhgA5Yl9DjgCBuabksK8gQ4AMFs0PMtgryN8ivj/g9hoy5IhF/xO2CcgUsElD9i3+AcKtMWTsY8jmkDsfeXeHo3OGFZzs7MisfMQ7fwFEV2VmxHn8Tmbk6chH3b5FgQAEIHAg8Oc//3klX7Xeun379unLL798ot+fPHlycvfu3VP9bsqzZ89Wr7322jtmecrnX/7yl4eiZ9/s+/Tp092rr756peu+//77K9GzO2zfv/XWW/vDdz4gAAEIzCZwe7YEBEAAAlkQkGTi5NGjR6eSdJxIcnPaTG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fB9om8rBFAElKGVT5iRAgAABAgRGBZSgUU6XESBAgAABAikCSlDKpsxJgACBswLr7PNeJzAvoATNm7qRAAECNwqsG0PJ1C2gBHXvX3oCBAgQIFAroATVrl5wAgQIECDQLaAEde9fegIECOwK/HcPOkcgRUAJStmUOQkQIECAAIFRASVolNNlBAgQIECAQIqAEpSyKXMSIEDgrIBfjD7r7/UPBJSgD1BdSYAAgQsF/IP8hUttj6QEtX8C5CdAgAABAqUCSlDp4sUmQIDAC4H14qyjBGIEHnhcvfR/g5JnAAAAAElFTkSuQmCC Uniform 0 Right' . 'Center ' . ' ' . "\n"; } /* * RUBAN * LABEL FOR PRINTER DYMO LabelMznzhrt PnP : 3 lines WITH LOGO */ private function _getLabelRuban3() { return ' Landscape' /* // 9mm Tape9mm 9mm */ // 12mm .'Tape12mm 12mm Auto 0 0 Auto 0 Solid Horizontal TEXTE Rotation0 False False Left Middle AlwaysFit True False ' . "$numeroLab" . "\n" . "$organisme" . ($numeroInventaireOrganisme ? '-' . "$numeroInventaireOrganisme" : '') . "\n" . "$dateAcquisition" . ' 1477.513 Fixed 0 Solid GRAPHISME Rotation0 False False iVBORw0KGgoAAAANSUhEUgAAAJYAAABOCAYAAADCbO+gAAAKQWlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKGhCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA4WZmBEf4RALU/L09mZmoSMaz9u4ugGS72yy/UCZz1v9/kSI3QyQGAApF1TY8fiYX5QKUU7PFGTL/BMr0lSkyhjEyFqEJoqwi48SvbPan5iu7yZiXJuShGlnOGbw0noy7UN6aJeGjjAShXJgl4GejfAdlvVRJmgDl9yjT0/icTAAwFJlfzOcmoWyJMkUUGe6J8gIACJTEObxyDov5OWieAHimZ+SKB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xh8ADQWzp+sT+/ADpQs51sq1dXrJ5bGRcT9SmRPidWN3unhNaAacA3aoSAVaMDywHFAg6U6RSYNzIXgKiDCRIEm6VKgCZwFEg+uQVHaAiBiaZWqvdFA0heorcngBHAWENlFXg2g2rgYqI63wDBwCpBWVLsSkfhEoIUgLSYyqQ1JJhgH1N8iMB9IDgQinIi7Dai8FoBE4UVAzzEBnAq0gGrBd4EIfBoQgfuDj4Ge83Ggviv9WPAQ0EKZAPQMqkNjtwm8AVSXnkVzgOBAsHutz4DTu4mle/Q8XlEdwlcioTY47xpwTe4aoMk8BBSDDaAXyAbrgfwL5UuGg41A6X8AL4FK8ClIARpoEVUTK0Jqtf4VXA+ULvJqYtWmyCBidwGdgAj6KpgODgda/SK2oLIHg7VAbSfkAAK6V9pBBBNhRO5fAdWjthYDkScXqA96BqVvBhIRVc+oyZRmEZE0FnoWEVLPpbbVRkcwAChd5WCDI5HqHgQ+B+pvBlAdSp8ArgYaC42VSKln/gyU6ziiOr+vbRlyCVGJWzfq4xwX3f2P+j4YaFzaVfbFeVfHlvp6N9sTF8GCZK4ncSHhZWBLPE3k08NLNFGa9CvBs0AEknjvT6RpggUN9CagVekfVJWdAfwiggqS7bGL+3cV/64G6l9CEn3z9iGRp6sIkRBproSIQCKVRG14x0maSaK6veknExcZtUAfBRqPhKwkICCQiOOGXb2Pg75pLF/x2okI65cwCSLnVyLSQF+WvE1DCXIEtamJmgI+DMoMSHuLtMREBWS3Kend/VhXmxqOF5aW1AIR2T6JpzW56O9Y6BWSDl/dq6DdJbTQHgMJMy1CqT4v+Yl+ebKnL6G/vB4lW/r/YgSkLpOSHIH9PgJJYu33IU1WqBFIEivJg3YZgSSx2mVYk5UmiZXkQLuMQJJY7TKsyUqTxEpyoF1GIEmsdhnWZKVJYiU50C4jkCRWuwxrstL/BxJPAjyhtOFQAAAAAElFTkSuQmCC Uniform 0 Right Center 800 Auto 0 Solid ' . "\n"; // fputs (ruban 3 lines) } // called from Javascript (Ajax) public function getDateGarantie($dateORjour, $dureeORmois, $uniteORannee, $duree = null, $unite = null) { //(EP 20200410 changement) //$sep = '-'; $sep = '/'; if ($duree != null && $unite != null) { //$date = $dateORjour . '-' . $dureeORmois . '-' . $uniteORannee; $date = $dateORjour . $sep . $dureeORmois . $sep . $uniteORannee; } else { $date = $dateORjour; $duree = $dureeORmois; $unite = $uniteORannee; } // (EP 20200410 changement format d-m-Y => d/m/Y) car c'est le format qui est affiché par défaut par cakephp dans les vues //$date_next = date_create_from_format('d-m-Y', $date); //$date_next = date_create_from_format('d/m/Y', $date); $date_next = \DateTime::createFromFormat('d/m/Y', $date); $unit = ($unite=='Ans') ? 'years' : 'months'; $date_next->add(\DateInterval::createFromDateString("$duree $unit")); /* switch ($unite) { case "Mois": date_add($date_next, date_interval_create_from_date_string($duree . ' months')); break; case "Ans": date_add($date_next, date_interval_create_from_date_string($duree . ' years')); break; } */ //debug("toto".$date_next->format('d/m/Y')."toto"); exit; //$this->set('date', date_format($date_next, 'd-m-Y')); //$this->set('date', date_format($date_next, 'd/m/Y')); $this->set('date', $date_next->format('d/m/Y')); $this->viewBuilder()->layout = 'ajax'; } public function printSheet($id = null) { $materiel = $this->Materiels->get($id, [ 'contain' => [ 'SurCategories', 'Categories', 'SousCategories', 'GroupesThematiques', 'GroupesMetiers', 'Organismes', 'Sites', 'Documents', 'Emprunts', 'Suivis' ] ]); $sites = TableRegistry::get('Sites'); $typeSuivis = TableRegistry::get('TypeSuivis'); $typeDocuments = TableRegistry::get('TypeDocuments'); if ($materiel->photo_id != null) { $imgMateriel = $materiel->photo_id . '.' . TableRegistry::get('Documents')->get($materiel->photo_id)->get('type_doc'); $this->set('imgMateriel', $imgMateriel); } $this->set('sites', $sites); $this->set('typeSuivis', $typeSuivis); $this->set('typeDocuments', $typeDocuments); $this->set('materiel', $materiel); $this->set('_serialize', [ 'materiel' ]); } } // MaterielsController