Commit 38b132784a3e9e1eec16eb9f840f3f58b6d389e5
1 parent
0d6be340
Exists in
master
and in
3 other branches
Fiche admission inventaire Cnrs modifiee.
Showing
1 changed file
with
105 additions
and
37 deletions
Show diff stats
src/Template/Documents/admission.ctp
... | ... | @@ -36,70 +36,77 @@ $fpdf->Cell(190,10,$texte,0,'','C'); |
36 | 36 | /** |
37 | 37 | * Corps du doc |
38 | 38 | * informations transmises |
39 | - * data[ | |
40 | - * 0:numero_laboratoire, 1: designation_materiel, 2: date_acq, 3: num_commande, 4: fournisseur, | |
39 | + * data[ 0:numero_laboratoire, 1: designation_materiel, 2: date_acq, 3: num_commande, 4: fournisseur, | |
41 | 40 | * 5 : eotp, 6: prix, 7: numeroOrganisme ] |
41 | + * | |
42 | 42 | * Cellule d'intitule : Font 'Arial, 'U(nderline)', 12 |
43 | 43 | * long : 50 - haut : 6 - centre a gauche : L - pas de remplissage |
44 | 44 | * Cellule de donnees/texte : Font 'Times, 'B(old) ou non', 12 |
45 | 45 | * long : 70 (ex) - haut : 6 - centre a gauche : L - pas de remplissage |
46 | 46 | * Saut de ligne : Ln(10) |
47 | 47 | */ |
48 | -// Saut de ligne(s) | |
49 | -$fpdf->Ln(20); | |
48 | + | |
49 | + // Saut de ligne(s) | |
50 | +$fpdf->Ln(13); | |
50 | 51 | // Definition de la font pour ecrire ('type_font', 'Mise en forme : Underline,Italique, Bold', taille-font) |
51 | 52 | // Intitule |
52 | -$fpdf->SetFont('Arial','',12); | |
53 | +$fpdf->SetFont('Arial','',11); | |
53 | 54 | $texte= "Laboratoire / Unite: "; |
54 | 55 | // Cell (Largeur de la celulle, hauteur celulle, texte, barre de separation ('LR' 2 cotes), |
55 | 56 | // alignement (Left, Center, Right), remplissage (True/false)) |
56 | 57 | // Texte d'intitule |
57 | 58 | $fpdf->Cell(50,6,$texte,'',0,'L',false); |
58 | 59 | $fpdf->SetFont('Times','B',12); |
59 | -$labName = $configuration->labName; | |
60 | -$labUMR = $configuration->labUmr; | |
60 | +//$labName = $configuration->labName; | |
61 | +//$labUMR = $configuration->labUmr; | |
62 | +$labName = "IRAP"; | |
63 | +$labUMR = "UMR5277"; | |
61 | 64 | $fpdf->Cell(70,6,utf8_decode("$labName - $labUMR"),'',0,'L',false); |
62 | -$fpdf->Ln(15); | |
65 | +$fpdf->Ln(11); | |
63 | 66 | |
64 | 67 | // Texte d'intitule |
65 | -$fpdf->SetFont('Arial','',12); | |
68 | +$fpdf->SetFont('Arial','',11); | |
66 | 69 | $texte= "Designation du bien :"; |
67 | 70 | $fpdf->Cell(50,6,$texte,'',0,'L',false); |
68 | 71 | // Texte de donnees |
69 | 72 | $fpdf->SetFont('Times','B',12); |
70 | 73 | $fpdf->Cell(120,6,utf8_decode($data['designation']),'',0,'L',false); |
71 | 74 | |
75 | + | |
72 | 76 | // Texte d'intitule |
73 | -$fpdf->Ln(15); | |
74 | -$fpdf->SetFont('Arial','',12); | |
75 | -$texte= "Numero inventaire organisme :"; | |
77 | +$fpdf->Ln(11); | |
78 | +$fpdf->SetFont('Arial','',11); | |
79 | +$texte= "Numero inventaire laboratoire :"; | |
76 | 80 | $fpdf->Cell(70,6,$texte,'',0,'L',false); |
77 | 81 | // Texte de donnees |
78 | 82 | $fpdf->SetFont('Times','B',12); |
79 | -$fpdf->Cell(50,6,utf8_decode($data['numOrg']),'',0,'L',false); | |
83 | +$fpdf->Cell(50,6,utf8_decode($data['numLabo']),'',0,'L',false); | |
80 | 84 | |
81 | -$fpdf->Ln(15); | |
82 | -$fpdf->SetFont('Arial','',12); | |
83 | -$texte= "Accessoire d'un materiel principal :"; | |
85 | +$fpdf->Ln(11); | |
86 | +$fpdf->SetFont('Arial','',11); | |
87 | +$texte= "Accessoire d'un materiel principal* : "; | |
84 | 88 | $fpdf->Cell(70,6,$texte,'',0,'L',false); |
85 | -$fpdf->Cell(70,6," OUI NON",'',0,'L',false); | |
89 | +$fpdf->Cell(70,6," OUI ",'',0,'L',false); | |
90 | +$fpdf->Cell(13,6,"NON",1,'L',false); | |
86 | 91 | $fpdf->Ln(7); |
87 | 92 | $fpdf->SetFont('Arial','',10); |
88 | 93 | $texte= "Si Oui, numero du materiel principal :"; |
94 | +$fpdf->Cell(110,6,$texte,'',0,'L',false); | |
95 | +$texte= "Numero de l'accessoire :"; | |
89 | 96 | $fpdf->Cell(70,6,$texte,'',0,'L',false); |
90 | 97 | |
91 | -$fpdf->Ln(15); | |
98 | +$fpdf->Ln(11); | |
92 | 99 | // Texte d'intitule |
93 | -$fpdf->SetFont('Arial','',12); | |
100 | +$fpdf->SetFont('Arial','',11); | |
94 | 101 | $texte= "Nom du fournisseur:"; |
95 | 102 | $fpdf->Cell(50,6,$texte,'',0,'L',false); |
96 | 103 | // Texte de donnees |
97 | 104 | $fpdf->SetFont('Times','B',12); |
98 | 105 | $fpdf->Cell(70,6,utf8_decode($data['fournisseur']),'',0,'L',false); |
99 | 106 | |
100 | -$fpdf->Ln(15); | |
107 | +$fpdf->Ln(11); | |
101 | 108 | // Texte d'intitule |
102 | -$fpdf->SetFont('Arial','',12); | |
109 | +$fpdf->SetFont('Arial','',11); | |
103 | 110 | $texte="Prix HT du bien :"; |
104 | 111 | $fpdf->Cell(50,6,$texte,0,0,''); |
105 | 112 | // Texte de donnes |
... | ... | @@ -109,30 +116,91 @@ $fpdf->Cell(50,6,$texte,'',0,'L',false); |
109 | 116 | |
110 | 117 | $fpdf->Ln(15); |
111 | 118 | // Texte d'intitule |
112 | -$fpdf->SetFont('Arial','',12); | |
113 | -$texte= "Numero de la commande :"; | |
114 | -$fpdf->Cell(70,6,$texte,'',0,'L',false); | |
119 | +$fpdf->SetFont('Arial','',11); | |
120 | +$texte= "Date de mise en service :"; | |
121 | +$fpdf->Cell(60,6,$texte,'',0,'L',false); | |
115 | 122 | // Texte de donnees |
116 | 123 | $fpdf->SetFont('Times','B',12); |
117 | -$fpdf->Cell(50,6,utf8_decode($data['numCde']),'',0,'L',false); | |
124 | +$fpdf->Cell(50,6,utf8_decode($data['dateAcquis']),'',0,'L',false); | |
118 | 125 | |
119 | 126 | $fpdf->Ln(15); |
120 | 127 | // Texte d'intitule |
121 | -$fpdf->SetFont('Arial','',12); | |
122 | -$texte= "Date de mise en service :"; | |
123 | -$fpdf->Cell(70,6,$texte,'',0,'L',false); | |
128 | +$fpdf->SetFont('Arial','',11); | |
129 | +$texte= "Centre financier :"; | |
130 | +$fpdf->Cell(40,6,$texte,'',0,'L',false); | |
124 | 131 | // Texte de donnees |
125 | 132 | $fpdf->SetFont('Times','B',12); |
126 | -$fpdf->Cell(50,6,utf8_decode($data['dateAcquis']),'',0,'L',false); | |
127 | - | |
128 | -$fpdf->Ln(15); | |
133 | +//$fpdf->Cell(50,6,utf8_decode($data['centreFinanc']),'',0,'L',false); | |
129 | 134 | // Texte d'intitule |
130 | -$fpdf->SetFont('Arial','',12); | |
131 | -$texte= "Centre financier / Element Eotp :"; | |
132 | -$fpdf->Cell(70,6,$texte,'',0,'L',false); | |
135 | +$fpdf->SetFont('Arial','',11); | |
136 | +$texte= "Element Eotp :"; | |
137 | +$fpdf->Cell(35,6,$texte,'',0,'L',false); | |
133 | 138 | // Texte de donnees |
134 | 139 | $fpdf->SetFont('Times','B',12); |
135 | -$fpdf->Cell(50,6,utf8_decode($data['eotp']),'',0,'L',false); | |
140 | +$fpdf->Cell(20,6,utf8_decode($data['eotp']),'',0,'L',false); | |
141 | +/******/ | |
142 | +$fpdf->Ln(12); | |
143 | +$texte="Materiel finance par une ou plusieurs subventions publiques ou privees d'investissement*: "; | |
144 | +$fpdf->SetFont('Arial','',11); | |
145 | +$fpdf->Cell(80,6,$texte,'',0,'L',false); | |
146 | +$fpdf->Ln(10); | |
147 | +$fpdf->Cell(70,6," OUI",'',0,'L',false); | |
148 | +$fpdf->Ln(5); | |
149 | +$fpdf->Cell(80,6," ",'',0,'L',false); | |
150 | +$fpdf->Cell(60,6,"N de l'arrete",'',0,'L',false); | |
151 | +$fpdf->Cell(50,6,"Montant : ",'',0,'L',false); | |
152 | +$fpdf->SetFont('Arial','',11); | |
153 | +$fpdf->Ln(8); | |
154 | +$fpdf->Cell(80,6,"Region : ",'',0,'L',false); | |
155 | +$fpdf->Cell(60,6,"...............",'',0,'L',false); | |
156 | +$fpdf->Cell(50,6,"...............E ",'',0,'L',false); | |
157 | +$fpdf->Ln(6); | |
158 | +$fpdf->Cell(80,6,"Departement: ",'',0,'L',false); | |
159 | +$fpdf->Cell(60,6,"...............",'',0,'L',false); | |
160 | +$fpdf->Cell(50,6,"...............E ",'',0,'L',false); | |
161 | +$fpdf->Ln(6); | |
162 | +$fpdf->Cell(80,6,"Communes ",'',0,'L',false); | |
163 | +$fpdf->Ln(5); | |
164 | +$fpdf->Cell(80,6," et groupement de communes : ",'',0,'L',false); | |
165 | +$fpdf->Cell(60,6,"...............",'',0,'L',false); | |
166 | +$fpdf->Cell(50,6,"............... E",'',0,'L',false); | |
167 | +$fpdf->Ln(6); | |
168 | +$fpdf->Cell(80,6,"Autres collectivites et ",'',0,'L',false); | |
169 | +$fpdf->Ln(5); | |
170 | +$fpdf->Cell(80,6,"etablissements publics francais : ",'',0,'L',false); | |
171 | +$fpdf->Cell(60,6,"...............",'',0,'L',false); | |
172 | +$fpdf->Cell(50,6,"............... E",'',0,'L',false); | |
173 | +$fpdf->Ln(6); | |
174 | +$fpdf->Cell(80,6,"Union Europeenne : ",'',0,'L',false); | |
175 | +$fpdf->Cell(60,6,"...............",'',0,'L',false); | |
176 | +$fpdf->Cell(50,6,"............... E",'',0,'L',false); | |
177 | +$fpdf->Ln(6); | |
178 | +$fpdf->Cell(80,6,"Autres organismes publics ",'',0,'L',false); | |
179 | +$fpdf->Ln(5); | |
180 | +$fpdf->Cell(80,6,"francais ou etrangers : ",'',0,'L',false); | |
181 | +$fpdf->Cell(60,6,"...............",'',0,'L',false); | |
182 | +$fpdf->Cell(50,6,"...............E ",'',0,'L',false); | |
183 | +$fpdf->Ln(6); | |
184 | +$fpdf->Cell(80,6,"Autres organismes prives ",'',0,'L',false); | |
185 | +$fpdf->Ln(5); | |
186 | +$fpdf->Cell(80,6,"francais ou etrangers : ",'',0,'L',false); | |
187 | +$fpdf->Cell(60,6,"...............",'',0,'L',false); | |
188 | +$fpdf->Cell(50,6,"...............E ",'',0,'L',false); | |
189 | +$fpdf->Ln(6); | |
190 | +$fpdf->Cell(80,6," ",'',0,'L',false); | |
191 | +$fpdf->Ln(7); | |
192 | +$texte="Nom de l'organisme :"; | |
193 | +$fpdf->Cell(50,6,$texte,'',0,'L',false); | |
194 | +$fpdf->Cell(60,6,"................................",'',0,'L',false); | |
195 | +$fpdf->Ln(9); | |
196 | +$fpdf->Cell(13,6," NON",1,'L',false); | |
197 | +$texte="(si sur subvention d'Etat, contrat de recherche ou dons et legs)."; | |
198 | +$fpdf->SetFont('Arial','',10); | |
199 | +$fpdf->Cell(15,6,$texte,0,'L',false); | |
200 | +$fpdf->Ln(10); | |
201 | +$fpdf->SetFont('Arial','',8); | |
202 | +$texte="* Selectionner l'option correspondante"; | |
203 | +$fpdf->Cell(15,6,$texte,0,'L',false); | |
136 | 204 | |
137 | - | |
138 | -$fpdf->Output(); | |
139 | 205 | \ No newline at end of file |
206 | + | |
207 | +$fpdf->Output(); | ... | ... |