add.ctp
4.87 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
<nav class="large-3 medium-4 columns" id="actions-sidebar">
<ul class="side-nav">
<li class="heading"><?= __('Actions') ?></li>
<li><?= $this->Html->link(__('List Materiels'), ['action' => 'index']) ?></li>
<li><?= $this->Html->link(__('List Sur Categories'), ['controller' => 'SurCategories', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Sur Category'), ['controller' => 'SurCategories', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Categories'), ['controller' => 'Categories', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Category'), ['controller' => 'Categories', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Sous Categories'), ['controller' => 'SousCategories', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Sous Category'), ['controller' => 'SousCategories', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Groupes Thematiques'), ['controller' => 'GroupesThematiques', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Groupes Thematique'), ['controller' => 'GroupesThematiques', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Groupes Metiers'), ['controller' => 'GroupesMetiers', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Groupes Metier'), ['controller' => 'GroupesMetiers', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Organismes'), ['controller' => 'Organismes', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Organisme'), ['controller' => 'Organismes', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Sites'), ['controller' => 'Sites', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Site'), ['controller' => 'Sites', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Documents'), ['controller' => 'Documents', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Document'), ['controller' => 'Documents', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Emprunts'), ['controller' => 'Emprunts', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Emprunt'), ['controller' => 'Emprunts', 'action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Suivis'), ['controller' => 'Suivis', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Suivi'), ['controller' => 'Suivis', 'action' => 'add']) ?></li>
</ul>
</nav>
<div class="materiels form large-9 medium-8 columns content">
<?= $this->Form->create($materiel) ?>
<fieldset>
<legend><?= __('Add Materiel') ?></legend>
<?php
echo $this->Form->input('designation');
echo $this->Form->input('sur_categorie_id', ['options' => $surCategories, 'empty' => true]);
echo $this->Form->input('categorie_id', ['options' => $categories, 'empty' => true]);
echo $this->Form->input('sous_categorie_id', ['options' => $sousCategories, 'empty' => true]);
echo $this->Form->input('numero_laboratoire');
echo $this->Form->input('description');
echo $this->Form->input('materiel_administratif');
echo $this->Form->input('materiel_technique');
echo $this->Form->input('status');
echo $this->Form->input('date_acquisition', ['empty' => true]);
echo $this->Form->input('fournisseur');
echo $this->Form->input('prix_ht');
echo $this->Form->input('eotp');
echo $this->Form->input('numero_commande');
echo $this->Form->input('code_comptable');
echo $this->Form->input('numero_serie');
echo $this->Form->input('groupes_thematique_id', ['options' => $groupesThematiques, 'empty' => true]);
echo $this->Form->input('groupes_metier_id', ['options' => $groupesMetiers, 'empty' => true]);
echo $this->Form->input('numero_inventaire_organisme');
echo $this->Form->input('numero_inventaire_old');
echo $this->Form->input('date_archivage', ['empty' => true]);
echo $this->Form->input('etiquette');
echo $this->Form->input('lieu_stockage');
echo $this->Form->input('lieu_detail');
echo $this->Form->input('nom_responsable');
echo $this->Form->input('email_responsable');
echo $this->Form->input('nom_createur');
echo $this->Form->input('nom_modificateur');
echo $this->Form->input('date_reception', ['empty' => true]);
echo $this->Form->input('organisme_id', ['options' => $organismes, 'empty' => true]);
echo $this->Form->input('site_id', ['options' => $sites, 'empty' => true]);
?>
</fieldset>
<?= $this->Form->button(__('Submit')) ?>
<?= $this->Form->end() ?>
</div>