Skip to content
Snippets Groups Projects
Commit 21ab077a authored by Théo GUILLON's avatar Théo GUILLON
Browse files

Modification : affichage info organisation créatrice

parent d7cb31ba
No related branches found
No related tags found
No related merge requests found
Pipeline #16116 passed
......@@ -27,7 +27,7 @@ organisation_id
formulaires.organisations_id
FROM formulaires;
ALTER TABLE formulaires ADD COLUMN createdbyorganisation INT DEFAULT NULL REFERENCES organisations(id) ON UPDATE CASCADE;
ALTER TABLE formulaires ADD COLUMN createdbyorganisation INT DEFAULT NULL REFERENCES organisations(id) ON DELETE SET NULL ON UPDATE CASCADE;
UPDATE formulaires SET createdbyorganisation = organisations_id;
ALTER TABLE formulaires DROP COLUMN organisations_id ;
......
......@@ -117,11 +117,11 @@ echo $this->element('Buttons/affecterEntite', [
?>
</th>
<!-- <th class="col-md-1">-->
<!-- --><?php
// echo "Créer par";
// ?>
<!-- </th>-->
<th class="col-md-1">
<?php
echo "Créer par";
?>
</th>
<!-- Entité -->
<th class="col-md-2">
......@@ -131,7 +131,7 @@ echo $this->element('Buttons/affecterEntite', [
</th>
<!-- Actions -->
<th class="col-md-2">
<th class="col-md-1">
<?php
echo __d('user', 'user.titreTableauAction');
?>
......@@ -212,11 +212,11 @@ echo $this->element('Buttons/affecterEntite', [
</td>
<!-- Créer par -->
<!-- <td class="tdleft col-md-1">-->
<!-- --><?php
// echo $data['Createdbyorganisation']['raisonsociale'];
// ?>
<!-- </td>-->
<td class="tdleft col-md-1">
<?php
echo $data['Createdbyorganisation']['raisonsociale'];
?>
</td>
<!-- Entité -->
<td class="tdleft col-md-2">
......@@ -229,7 +229,7 @@ echo $this->element('Buttons/affecterEntite', [
</td>
<!-- Action possible d'effectuer en fonction de l'état du formulaire -->
<td class="tdleft col-md-2">
<td class="tdleft col-md-1">
<div class="buttons">
<?php
// Bouton voir le formulaire
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment