view.ctp
5.88 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<nav class="large-3 medium-4 columns" id="actions-sidebar">
<ul class="side-nav">
<li class="heading"><?= __('Actions') ?></li>
<li><?= $this->Html->link(__('Edit Site'), ['action' => 'edit', $site->id]) ?> </li>
<li><?= $this->Form->postLink(__('Delete Site'), ['action' => 'delete', $site->id], ['confirm' => __('Are you sure you want to delete # {0}?', $site->id)]) ?> </li>
<li><?= $this->Html->link(__('List Sites'), ['action' => 'index']) ?> </li>
<li><?= $this->Html->link(__('New Site'), ['action' => 'add']) ?> </li>
<li><?= $this->Html->link(__('List Materiels'), ['controller' => 'Materiels', 'action' => 'index']) ?> </li>
<li><?= $this->Html->link(__('New Materiel'), ['controller' => 'Materiels', 'action' => 'add']) ?> </li>
</ul>
</nav>
<div class="sites view large-9 medium-8 columns content">
<h3><?= h($site->id) ?></h3>
<table class="vertical-table">
<tr>
<th><?= __('Nom') ?></th>
<td><?= h($site->nom) ?></td>
</tr>
<tr>
<th><?= __('Id') ?></th>
<td><?= $this->Number->format($site->id) ?></td>
</tr>
</table>
<div class="related">
<h4><?= __('Related Materiels') ?></h4>
<?php if (!empty($site->materiels)): ?>
<table cellpadding="0" cellspacing="0">
<tr>
<th><?= __('Id') ?></th>
<th><?= __('Designation') ?></th>
<th><?= __('Sur Categorie Id') ?></th>
<th><?= __('Categorie Id') ?></th>
<th><?= __('Sous Categorie Id') ?></th>
<th><?= __('Numero Laboratoire') ?></th>
<th><?= __('Description') ?></th>
<th><?= __('Materiel Administratif') ?></th>
<th><?= __('Materiel Technique') ?></th>
<th><?= __('Status') ?></th>
<th><?= __('Date Acquisition') ?></th>
<th><?= __('Fournisseur') ?></th>
<th><?= __('Prix Ht') ?></th>
<th><?= __('Eotp') ?></th>
<th><?= __('Numero Commande') ?></th>
<th><?= __('Code Comptable') ?></th>
<th><?= __('Numero Serie') ?></th>
<th><?= __('Groupes Thematique Id') ?></th>
<th><?= __('Groupes Metier Id') ?></th>
<th><?= __('Numero Inventaire Organisme') ?></th>
<th><?= __('Numero Inventaire Old') ?></th>
<th><?= __('Date Archivage') ?></th>
<th><?= __('Etiquette') ?></th>
<th><?= __('Lieu Stockage') ?></th>
<th><?= __('Lieu Detail') ?></th>
<th><?= __('Nom Responsable') ?></th>
<th><?= __('Email Responsable') ?></th>
<th><?= __('Nom Createur') ?></th>
<th><?= __('Nom Modificateur') ?></th>
<th><?= __('Created') ?></th>
<th><?= __('Modified') ?></th>
<th><?= __('Date Reception') ?></th>
<th><?= __('Organisme Id') ?></th>
<th><?= __('Site Id') ?></th>
<th class="actions"><?= __('Actions') ?></th>
</tr>
<?php foreach ($site->materiels as $materiels): ?>
<tr>
<td><?= h($materiels->id) ?></td>
<td><?= h($materiels->designation) ?></td>
<td><?= h($materiels->sur_categorie_id) ?></td>
<td><?= h($materiels->categorie_id) ?></td>
<td><?= h($materiels->sous_categorie_id) ?></td>
<td><?= h($materiels->numero_laboratoire) ?></td>
<td><?= h($materiels->description) ?></td>
<td><?= h($materiels->materiel_administratif) ?></td>
<td><?= h($materiels->materiel_technique) ?></td>
<td><?= h($materiels->status) ?></td>
<td><?= h($materiels->date_acquisition) ?></td>
<td><?= h($materiels->fournisseur) ?></td>
<td><?= h($materiels->prix_ht) ?></td>
<td><?= h($materiels->eotp) ?></td>
<td><?= h($materiels->numero_commande) ?></td>
<td><?= h($materiels->code_comptable) ?></td>
<td><?= h($materiels->numero_serie) ?></td>
<td><?= h($materiels->groupes_thematique_id) ?></td>
<td><?= h($materiels->groupes_metier_id) ?></td>
<td><?= h($materiels->numero_inventaire_organisme) ?></td>
<td><?= h($materiels->numero_inventaire_old) ?></td>
<td><?= h($materiels->date_archivage) ?></td>
<td><?= h($materiels->etiquette) ?></td>
<td><?= h($materiels->lieu_stockage) ?></td>
<td><?= h($materiels->lieu_detail) ?></td>
<td><?= h($materiels->nom_responsable) ?></td>
<td><?= h($materiels->email_responsable) ?></td>
<td><?= h($materiels->nom_createur) ?></td>
<td><?= h($materiels->nom_modificateur) ?></td>
<td><?= h($materiels->created) ?></td>
<td><?= h($materiels->modified) ?></td>
<td><?= h($materiels->date_reception) ?></td>
<td><?= h($materiels->organisme_id) ?></td>
<td><?= h($materiels->site_id) ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['controller' => 'Materiels', 'action' => 'view', $materiels->id]) ?>
<?= $this->Html->link(__('Edit'), ['controller' => 'Materiels', 'action' => 'edit', $materiels->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['controller' => 'Materiels', 'action' => 'delete', $materiels->id], ['confirm' => __('Are you sure you want to delete # {0}?', $materiels->id)]) ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<?php endif; ?>
</div>
</div>