Suppression d'un champ de Module
Bonjour,
Je débute sur PrestaShop et j'éprouve beaucoup de difficultés. J'essaye actuellement de supprimer le champ "Numéro de Maintenance" de ma page. Le tableau m'avais l'air tout à fait classique au départ, cependant lorsque je supprime la colonne Numéro de Maintenance (<th>Numéro Maintenance</th> ainsi que <td>{$insta.numero_maintenance}</td>) je me retrouve avec une page blanche.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
| {if $mode == 'afficher'}
<table id="installations">
<thead><tr>
<th>Nom</th>
<th>Prénom</th>
<th>Nom Installation</th>
<th>Date</th>
<th>Code 1</th>
<th>Code 2</th>
<th>Numéro Maintenance</th>
<th>Numéro centrale</th>
<th>Numéro 1</th>
<th>Numéro 2</th>
<th>Numéro 3</th>
<th>Modifier</th>
<th>Résilier</th>
</tr></thead><tbody>
{foreach from=$installations item=insta}
<tr>
{assign var=foo value=";"|explode:$insta.num_alerte}
<td>{$insta.lastname}</td>
<td>{$insta.firstname}</td>
<td>{$insta.alias}</td>
<td>{$insta.date_add}</td>
<td>{$insta.code1}</td>
<td>{$insta.code2}</td>
<td>{$insta.numero_maintenance}</td>
<td>{$insta.num_tel}</td>
<td>{$foo.0}</td>
<td>{$foo.1}</td>
<td>{$foo.2}</td>
<td><a href="?action=update&id_sim={$insta.id_sim}">Modifier</a></td>
<td><a class="confirmModal" href="?action=delete&id_sim={$insta.id_sim}">Résilier</a></td>
</tr>
{/foreach}
</tbody>
</table> |