source: trunk/form_classes.php@ 526

Last change on this file since 526 was 526, checked in by chronos, 12 years ago
  • Upraveno: Tabulka HyperLink přejmenována na obecnější název Action. Odkazy na názvy ikony přepracovány na samostatnou tabulku.
  • Upraveno: Funkce týkající se fronty mailů odděleny do samostatného souboru.
File size: 62.7 KB
Line 
1<?php
2
3// TODO: Split all form class definitions to modules
4
5/*
6Item definition:
7Type - identifikace typu z podporovaných
8Caption - popisek, titulek položky
9Default - výchozí hodnota
10Null - hodnota nemusí být zadána
11InList - sloupec viditelný v seznamu
12Suffix - text za hodnotou
13Description - popis významu položky
14ReadOnly - je položky pouze pro čtení
15Required - položka je vyžadována
16*/
17
18function RegisterFormClasses($FormManager)
19{
20 $FormManager->Classes = array(
21 'Action' => array(
22 'Title' => 'Akce',
23 'Table' => 'Action',
24 'Items' => array(
25 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
26 'Title' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
27 'URL' => array('Type' => 'Hyperlink', 'Caption' => 'Odkaz', 'Default' => ''),
28 'Icon' => array('Type' => 'TActionIcon', 'Caption' => 'Ikony', 'Default' => ''),
29 'Type' => array('Type' => 'TActionType', 'Caption' => 'Typ', 'Default' => ''),
30 'Group' => array('Type' => 'TActionGroup', 'Caption' => 'Skupina', 'Default' => ''),
31 'PermissionModule' => array('Type' => 'String', 'Caption' => 'Modul oprávnění', 'Default' => ''),
32 'PermissionOperation' => array('Type' => 'String', 'Caption' => 'Operace oprávnění', 'Default' => ''),
33 'Enable' => array('Type' => 'Boolean', 'Caption' => 'Povolení', 'Default' => ''),
34 ),
35 ),
36 'ActionIcon' => array(
37 'Title' => 'Ikony akcí',
38 'Table' => 'ActionIcon',
39 'Items' => array(
40 'Name' => array('Type' => 'String', 'Caption' => 'Název souboru', 'Default' => ''),
41 ),
42 ),
43 'ActionGroup' => array(
44 'Title' => 'Skupiny akcí',
45 'Table' => 'ActionGroup',
46 'Items' => array(
47 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
48 ),
49 ),
50 'ActionType' => array(
51 'Title' => 'Typy akcí',
52 'Table' => 'ActionType',
53 'Items' => array(
54 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
55 ),
56 ),
57 'FinanceBank' => array(
58 'Title' => 'Banky',
59 'Table' => 'FinanceBank',
60 'Items' => array(
61 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
62 'Code' => array('Type' => 'String', 'Caption' => 'Český kód', 'Default' => ''),
63 'BIC' => array('Type' => 'String', 'Caption' => 'Kód BIC', 'Default' => ''),
64 'Country' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''),
65 ),
66 ),
67 'FinanceBankImport' => array(
68 'Title' => 'Import plateb z účtu',
69 'Table' => 'FinanceBankImport',
70 'Items' => array(
71 'BankAccount' => array('Type' => 'TBankAccount', 'Caption' => 'Účet', 'Default' => ''),
72 'Time' => array('Type' => 'Date', 'Caption' => 'Čas', 'Default' => ''),
73 'Identification' => array('Type' => 'String', 'Caption' => 'Kód operace', 'Default' => ''),
74 'AccountNumber' => array('Type' => 'String', 'Caption' => 'Číslo účtu', 'Default' => ''),
75 'VariableSymbol' => array('Type' => 'String', 'Caption' => 'Variabilní symbol', 'Default' => ''),
76 'ConstantSymbol' => array('Type' => 'String', 'Caption' => 'Konstantní symbol', 'Default' => ''),
77 'SpecificSymbol' => array('Type' => 'String', 'Caption' => 'Specifický symbol', 'Default' => ''),
78 'Value' => array('Type' => 'Float', 'Caption' => 'Částka', 'Default' => ''),
79 'Currency' => array('Type' => 'TCurrency', 'Caption' => 'Měna', 'Default' => ''),
80 'Description' => array('Type' => 'String', 'Caption' => 'Popis operace', 'Default' => ''),
81 'OffsetAccountName' => array('Type' => 'String', 'Caption' => 'Jméno protiúčtu', 'Default' => ''),
82 'FinanceOperation' => array('Type' => 'TFinanceOperation', 'Caption' => 'Přiřazená operace', 'Default' => '', 'Null' => true),
83 ),
84 ),
85 'Currency' => array(
86 'Title' => 'Měny',
87 'Table' => 'Currency',
88 'Items' => array(
89 'Code' => array('Type' => 'String', 'Caption' => 'Kód'),
90 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
91 'Symbol' => array('Type' => 'String', 'Caption' => 'Symbol', 'Default' => ''),
92 ),
93 ),
94 'EmailQueue' => array(
95 'Title' => 'Fronta e-mailů',
96 'Table' => 'EmailQueue',
97 'Items' => array(
98 'Time' => array('Type' => 'DateTime', 'Caption' => 'Vytvořeno'),
99 'To' => array('Type' => 'String', 'Caption' => 'Příjemce', 'Default' => ''),
100 'Subject' => array('Type' => 'String', 'Caption' => 'Předmět', 'Default' => ''),
101 'Content' => array('Type' => 'Text', 'Caption' => 'Obsah', 'Default' => ''),
102 'Headers' => array('Type' => 'String', 'Caption' => 'Hlavička', 'Default' => ''),
103 'Archive' => array('Type' => 'Boolean', 'Caption' => 'Odesláno', 'Default' => '0'),
104 'From' => array('Type' => 'String', 'Caption' => 'Odesílatel', 'Default' => ''),
105 'AttachmentFile' => array('Type' => 'TFile', 'Caption' => 'Příloha', 'Default' => '', 'Null' => true),
106 ),
107 'Actions' => array(
108 array('Caption' => 'Odeslat nové', 'URL' => ''),
109 ),
110 ),
111 'NetworkConfiguration' => array(
112 'Title' => 'Restart sítových služeb',
113 'Table' => 'NetworkConfiguration',
114 'Items' => array(
115 'Caption' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
116 'Execute' => array('Type' => 'String', 'Caption' => 'Povely', 'Default' => ''),
117 'Changed' => array('Type' => 'TNetworkConfigurationState', 'Caption' => 'Stav', 'Default' => 0),
118 'LastTime' => array('Type' => 'DateTime', 'Caption' => 'Naposledy spuštěno', 'ReadOnly' => true),
119 'ExecutionTime' => array('Type' => 'Integer', 'Caption' => 'Doba běhu', 'Default' => '0', 'Suffix' => 'sekund', 'ReadOnly' => true),
120 'Enabled' => array('Type' => 'Boolean', 'Caption' => 'Povoleno', 'Default' => '0'),
121 'Period' => array('Type' => 'Integer', 'Caption' => 'Min. perioda', 'Default' => '60', 'Suffix' => 'sekund'),
122 ),
123 'ItemActions' => array(
124 array('Caption' => 'Záznam', 'URL' => '/is/?a=view&t=NetworkConfigurationLog'),
125 ),
126 ),
127 'NetworkConfigurationLog' => array(
128 'Title' => 'Záznam restartu sítových služeb',
129 'Table' => 'NetworkConfiguration',
130 'Items' => array(
131 'Caption' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
132 'Log' => array('Type' => 'Text', 'Caption' => 'Záznam', 'Default' => '', 'ReadOnly' => true),
133 ),
134 ),
135 'MemberPayment' => array(
136 'Title' => 'Placení zákazníků',
137 'Table' => 'MemberPayment',
138 'Items' => array(
139 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '', 'ReadOnly' => true),
140 'MonthlyTotal' => array('Type' => 'Integer', 'Caption' => 'Celkem měsíčně', 'Default' => '0', 'Suffix' => 'Kč', 'ReadOnly' => true),
141 'MonthlyInternet' => array('Type' => 'Integer', 'Caption' => 'Internet měsíčně', 'Default' => '', 'Suffix' => 'Kč', 'ReadOnly' => true),
142 'MonthlyConsumption' => array('Type' => 'Integer', 'Caption' => 'Spotřeba měsíčně', 'Default' => '', 'Suffix' => 'Kč', 'ReadOnly' => true),
143 'NetworkDevice' => array('Type' => 'Integer', 'Caption' => 'Podíl na zařízení', 'Default' => '', 'Suffix' => 'Kč', 'ReadOnly' => true),
144 'MonthlyPlus' => array('Type' => 'Integer', 'Caption' => 'Měsíčně plus', 'Default' => '', 'Suffix' => 'Kč', 'ReadOnly' => true),
145 'Cash' => array('Type' => 'Integer', 'Caption' => 'Kredit', 'Default' => '', 'Suffix' => 'Kč', 'ReadOnly' => true),
146 ),
147 'Actions' => array(
148 array('Caption' => 'Přepočítat', 'URL' => '/finance/manage.php?Operation=Recalculate'),
149 ),
150 ),
151 'NetworkSegment' => array(
152 'Title' => 'Úsek sítě',
153 'Table' => 'NetworkSegment',
154 'Items' => array(
155 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
156 'Price' => array('Type' => 'Integer', 'Caption' => 'Cena', 'Default' => '0', 'Suffix' => 'Kč', 'ReadOnly' => true),
157 'Parent' => array('Type' => 'TNetworkSegment', 'Caption' => 'Nadřazený', 'Default' => '', 'Null' => true),
158 'Users' => array('Type' => 'Integer', 'Caption' => 'Uživatelů', 'Default' => '0', 'ReadOnly' => true),
159 'Consumption' => array('Type' => 'Integer', 'Caption' => 'Spotřeba', 'Default' => '0', 'ReadOnly' => true, 'Suffix' => 'Wattů'),
160 'UsersOverheads' => array('Type' => 'Integer', 'Caption' => 'Podílníků', 'Default' => '0', 'ReadOnly' => true),
161 ),
162 ),
163 'FinanceCharge' => array(
164 'Title' => 'Parametry účtování',
165 'Table' => 'FinanceCharge',
166 'Items' => array(
167 'Internet' => array('Type' => 'Integer', 'Caption' => 'Platba Internetu', 'Default' => '0', 'Suffix' => 'Kč'),
168 'InternetSpeed' => array('Type' => 'Integer', 'Caption' => 'Rychlost Internetu', 'Default' => '0', 'Suffix' => 'Mbit/s'),
169 'InternetSpeedReserve' => array('Type' => 'Integer', 'Caption' => 'Rezerva rychlosti', 'Default' => '0', 'Suffix' => 'Mbit/s'),
170 'AdministrationPerUser' => array('Type' => 'Integer', 'Caption' => 'Správa za uživatele', 'Default' => '0', 'Suffix' => 'Kč'),
171 'kWh' => array('Type' => 'Integer', 'Caption' => 'Cena kWh', 'Default' => '0', 'Suffix' => 'Kč'),
172 'BaseSpeedElement' => array('Type' => 'Integer', 'Caption' => 'Základní díl rychlosti', 'Default' => '0', 'Suffix' => 'Mbit/s'),
173 'BaseTariffPrice' => array('Type' => 'Integer', 'Caption' => 'Základní cena tarifu', 'Default' => '0', 'Suffix' => 'Kč'),
174 'TopTariffPrice' => array('Type' => 'Integer', 'Caption' => 'Nejvyšší cena tarifu', 'Default' => '0', 'Suffix' => 'Kč'),
175 'Action' => array('Type' => 'TActionEnum', 'Caption' => 'Změna období', 'Default' => '', 'Null' => true),
176 'ReplaceId' => array('Type' => 'TFinanceCharge', 'Caption' => 'Cílová položka', 'Default' => '0', 'Null' => true),
177 ),
178 ),
179 'File' => array(
180 'Title' => 'Soubor',
181 'Table' => 'File',
182 'Items' => array(
183 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
184 'Directory' => array('Type' => 'TDirectory', 'Caption' => 'Adresář', 'Default' => '', 'Null' => true),
185 'Size' => array('Type' => 'Integer', 'Caption' => 'Velikost', 'Default' => ''),
186 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas vytvoření', 'Default' => ''),
187 ),
188 'ItemActions' => array(
189 array('Caption' => 'Stáhnout', 'URL' => '/file?download'),
190 ),
191 ),
192 'FileDirectory' => array(
193 'Title' => 'Adresář souborů',
194 'Table' => 'FileDirectory',
195 'Items' => array(
196 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
197 'Parent' => array('Type' => 'TDirectory', 'Caption' => 'Nadřazený adresář', 'Default' => '', 'Null' => true),
198 ),
199 ),
200 'NetworkLink' => array(
201 'Title' => 'Síťové propojení',
202 'Table' => 'NetworkLink',
203 'Items' => array(
204 'Type' => array('Type' => 'Integer', 'Caption' => 'Typ', 'Default' => '1'),
205 'Interface1' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní 1', 'Default' => ''),
206 'Interface2' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní 2', 'Default' => ''),
207 ),
208 ),
209 'PermissionUserAssignment' => array(
210 'Title' => 'Oprávnění uživatelů',
211 'Table' => 'PermissionUserAssignment',
212 'Items' => array(
213 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => ''),
214 'AssignedGroup' => array('Type' => 'TPermissionGroup', 'Caption' => 'Přiřazené skupiny', 'Default' => '', 'Null' => true),
215 'AssignedOperation' => array('Type' => 'TPermissionOperation', 'Caption' => 'Přiřazené operace', 'Default' => '', 'Null' => true),
216 ),
217 ),
218 'PermissionGroup' => array(
219 'Title' => 'Skupiny oprávnění',
220 'Table' => 'PermissionGroup',
221 'Items' => array(
222 'Description' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
223 'AssignedGroup' => array('Type' => 'TPermissionGroupAssignmentListGroup', 'Caption' => 'Přiřazené skupiny a operace', 'Default' => '', 'Null' => true),
224 'AssignedGroup2' => array('Type' => 'TPermissionGroupAssignmentListAssignedGroup', 'Caption' => 'Použito ve skupinách', 'Default' => '', 'Null' => true),
225 ),
226 ),
227 'PermissionGroupAssignment' => array(
228 'Title' => 'Přiřazení skupin oprávnění',
229 'Table' => 'PermissionGroupAssignment',
230 'Items' => array(
231 'Group' => array('Type' => 'TPermissionGroup', 'Caption' => 'Skupina', 'Default' => ''),
232 'AssignedGroup' => array('Type' => 'TPermissionGroup', 'Caption' => 'Přiřazené skupiny', 'Default' => '', 'Null' => true),
233 'AssignedOperation' => array('Type' => 'TPermissionOperation', 'Caption' => 'Přiřazené operace', 'Default' => '', 'Null' => true),
234 ),
235 ),
236 'PermissionOperation' => array(
237 'Title' => 'Operace oprávnění',
238 'Table' => 'PermissionOperation',
239 'Items' => array(
240 'Module' => array('Type' => 'String', 'Caption' => 'Modul', 'Default' => ''),
241 'Operation' => array('Type' => 'String', 'Caption' => 'Operace', 'Default' => ''),
242 'Item' => array('Type' => 'String', 'Caption' => 'Položka', 'Default' => ''),
243 'ItemId' => array('Type' => 'Integer', 'Caption' => 'Index položky', 'Default' => ''),
244 'AssignedGroup' => array('Type' => 'TPermissionGroupAssignmentListOperation', 'Caption' => 'Použito ve skupinách', 'Default' => '', 'Null' => true),
245 ),
246 ),
247 'UserCustomerRel' => array(
248 'Title' => 'Vztahy uživatel - zákazník',
249 'Table' => 'UserCustomerRel',
250 'Items' => array(
251 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => ''),
252 'Customer' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => ''),
253 ),
254 ),
255 'ServiceCustomerRel' => array(
256 'Title' => 'Vztahy služba - zákazník',
257 'Table' => 'ServiceCustomerRel',
258 'Items' => array(
259 'Service' => array('Type' => 'TService', 'Caption' => 'Služba', 'Default' => ''),
260 'Customer' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => ''),
261 'Action' => array('Type' => 'TActionEnum', 'Caption' => 'Změna období', 'Default' => '', 'Null' => true),
262 'ReplaceId' => array('Type' => 'TServiceCustomerRel', 'Caption' => 'Cílová položka', 'Default' => '', 'Null' => true),
263 ),
264 ),
265 'Work' => array(
266 'Title' => 'Práce',
267 'Table' => 'Work',
268 'DefaultSortColumn' => 'TimeStart',
269 'Items' => array(
270 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
271 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''),
272 'TimeStart' => array('Type' => 'DateTime', 'Caption' => 'Čas začátku', 'Default' => ''),
273 'Duration' => array('Type' => 'Float', 'Caption' => 'Trvání', 'Default' => '1', 'Suffix' => 'hodin'),
274 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => '1', 'Null' => true),
275 'Task' => array('Type' => 'TTask', 'Caption' => 'Úkol', 'Default' => '', 'Null' => true),
276 ),
277 ),
278 'NetworkDeviceConfig' => array(
279 'Title' => 'Nastavení zařízení',
280 'Table' => 'NetworkDeviceConfig',
281 'DefaultSortColumn' => 'Time',
282 'Items' => array(
283 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => ''),
284 'Time' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => ''),
285 'ConfigFull' => array('Type' => 'Text', 'Caption' => 'Kompletní nastavení', 'Default' => ''),
286 'ConfigCompact' => array('Type' => 'Text', 'Caption' => 'Rozdílové nastavení', 'Default' => ''),
287 ),
288 ),
289 'DocumentLine' => array(
290 'Title' => 'Dokladové řady',
291 'Table' => 'DocumentLine',
292 'DefaultSortColumn' => 'Name',
293 'Items' => array(
294 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
295 'Shortcut' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''),
296 'Sequence' => array('Type' => 'TDocumentLineSequenceListLine', 'Caption' => 'Čísleníky', 'Default' => ''),
297 ),
298 ),
299 'DocumentLineSequence' => array(
300 'Title' => 'Čísleníky dokladových řad',
301 'Table' => 'DocumentLineSequence',
302 'DefaultSortColumn' => 'Id',
303 'Items' => array(
304 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),
305 'FinanceYear' => array('Type' => 'TFinanceYear', 'Caption' => 'Účetní rok', 'Default' => ''),
306 'NextNumber' => array('Type' => 'Integer', 'Caption' => 'Další číslo', 'Default' => ''),
307 'YearPrefix' => array('Type' => 'Boolean', 'Caption' => 'Rok jako předpona', 'Default' => ''),
308 ),
309 ),
310 'FinanceYear' => array(
311 'Title' => 'Účetní roky',
312 'Table' => 'FinanceYear',
313 'DefaultSortColumn' => 'Year',
314 'Items' => array(
315 'Year' => array('Type' => 'Integer', 'Caption' => 'Rok', 'Default' => ''),
316 'DateStart' => array('Type' => 'Date', 'Caption' => 'První den', 'Default' => ''),
317 'DateEnd' => array('Type' => 'Date', 'Caption' => 'Poslední den', 'Default' => ''),
318 'Sequence' => array('Type' => 'TDocumentLineSequenceListYear', 'Caption' => 'Čísleníky', 'Default' => ''),
319 ),
320 ),
321 'TV' => array(
322 'Title' => 'TV kanály',
323 'Table' => 'TV',
324 'DefaultSortColumn' => 'Name',
325 'Items' => array(
326 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
327 'Frequency' => array('Type' => 'Integer', 'Caption' => 'Frekvence', 'Default' => '', 'Suffix' => 'Hz'),
328 'Norm' => array('Type' => 'String', 'Caption' => 'Video norma', 'Default' => ''),
329 'Homepage' => array('Type' => 'Hyperlink', 'Caption' => 'Web', 'Default' => ''),
330 'Language' => array('Type' => 'TLanguage', 'Caption' => 'Jazyk', 'Default' => '', 'Null' => true),
331 'ShortName' => array('Type' => 'String', 'Caption' => 'Zkratka', 'Default' => ''),
332 'Stream' => array('Type' => 'Hyperlink', 'Caption' => 'Proud', 'Default' => ''),
333 'StreamWeb' => array('Type' => 'Hyperlink', 'Caption' => 'Proud web', 'Default' => ''),
334 'SourceType' => array('Type' => 'String', 'Caption' => 'Typ zdroje', 'Default' => ''),
335 'Category' => array('Type' => 'TTVGroup', 'Caption' => 'Kategorie', 'Default' => '', 'Null' => true),
336 ),
337 ),
338 'TVGroup' => array(
339 'Title' => 'Skupiny TV kanálů',
340 'Table' => 'TVGroup',
341 'DefaultSortColumn' => 'Name',
342 'Items' => array(
343 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
344 ),
345 ),
346 'Language' => array(
347 'Title' => 'Jazyky',
348 'Table' => 'Language',
349 'DefaultSortColumn' => 'Name',
350 'Items' => array(
351 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
352 ),
353 ),
354 'Task' => array(
355 'Title' => 'Úkoly',
356 'Table' => 'Task',
357 'DefaultSortColumn' => 'Name',
358 'Items' => array(
359 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => '', 'Required' => true),
360 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''),
361 'TimeCreate' => array('Type' => 'Date', 'Caption' => 'Datum zadání', 'Default' => '', 'Required' => true),
362 'TimeDue' => array('Type' => 'Date', 'Caption' => 'Termín', 'Default' => '', 'Null' => true),
363 'TimeClose' => array('Type' => 'Date', 'Caption' => 'Datum uzavření', 'Default' => '', 'Null' => true),
364 'Priority' => array('Type' => 'TPriority', 'Caption' => 'Důležitost', 'Default' => 1),
365 'Conclusion' => array('Type' => 'Text', 'Caption' => 'Vyhodnocení', 'Default' => ''),
366 'Public' => array('Type' => 'Boolean', 'Caption' => 'Veřejné', 'Default' => '0'),
367 'Progress' => array('Type' => 'Integer', 'Caption' => 'Průběh', 'Default' => '0', 'Suffix' => '%'),
368 'Group' => array('Type' => 'TTaskGroup', 'Caption' => 'Kategorie', 'Default' => '', 'Null' => true),
369 'AssignedTo' => array('Type' => 'TUser', 'Caption' => 'Přiřazeno', 'Default' => '', 'Null' => true),
370 'Work' => array('Type' => 'TWorkListTask', 'Caption' => 'Práce', 'Default' => ''),
371 ),
372 ),
373 'UnitOfMeasure' => array(
374 'Title' => 'Měrné jednotky',
375 'Table' => 'UnitOfMeasure',
376 'DefaultSortColumn' => 'Name',
377 'Items' => array(
378 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
379 'Unit' => array('Type' => 'String', 'Caption' => 'Jednotka', 'Default' => ''),
380 ),
381 ),
382 'TaskGroup' => array(
383 'Title' => 'Kategorie úkolu',
384 'Table' => 'TaskGroup',
385 'DefaultSortColumn' => 'Name',
386 'Items' => array(
387 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
388 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''),
389 'Parent' => array('Type' => 'TTaskGroup', 'Caption' => 'Kategorie', 'Default' => '', 'Null' => true),
390 'Tasks' => array('Type' => 'TTaskList', 'Caption' => 'Úkoly', 'Default' => ''),
391 ),
392 ),
393 'Product' => array(
394 'Title' => 'Produkty',
395 'Table' => 'Product',
396 'DefaultSortColumn' => 'Name',
397 'Items' => array(
398 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
399 'SellPrice' => array('Type' => 'Integer', 'Caption' => 'Prodejní cena', 'Default' => '0', 'Suffix' => 'Kč'),
400 'BuyPrice' => array('Type' => 'Integer', 'Caption' => 'Kupní cena', 'Default' => '0', 'Suffix' => 'Kč'),
401 'VAT' => array('Type' => 'Integer', 'Caption' => 'DPH', 'Default' => '0', 'Suffix' => '%'),
402 'Consumption' => array('Type' => 'Integer', 'Caption' => 'Spotřeba', 'Default' => '', 'Suffix' => 'Watt'),
403 'Supplier' => array('Type' => 'TSubject', 'Caption' => 'Dodavatel', 'Default' => '', 'Null' => true),
404 'Manufacturer' => array('Type' => 'TSubject', 'Caption' => 'Výrobce', 'Default' => '', 'Null' => true),
405 'Code' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''),
406 'UnitOfMeasure' => array('Type' => 'TUnitOfMeasure', 'Caption' => 'Měrná jednotka', 'Default' => '', 'Null' => true),
407 'StockItems' => array('Type' => 'TStockItemListProduct', 'Caption' => 'Položky na skladě', 'Default' => '', 'Suffix' => 'ks'),
408 ),
409 ),
410 'StockItem' => array(
411 'Title' => 'Skladové položky',
412 'Table' => 'StockItem',
413 'DefaultSortColumn' => 'Id',
414 'Items' => array(
415 'Stock' => array('Type' => 'TStock', 'Caption' => 'Sklad', 'Default' => ''),
416 'Product' => array('Type' => 'TProduct', 'Caption' => 'Produkt', 'Default' => ''),
417 'TimeEnlistment' => array('Type' => 'Date', 'Caption' => 'Datum zařazení', 'Default' => ''),
418 'TimeElimination' => array('Type' => 'Date', 'Caption' => 'Datum vyřazení', 'Default' => ''),
419 'SellPrice' => array('Type' => 'Integer', 'Caption' => 'Prodejní cena', 'Default' => '0', 'Suffix' => 'Kč'),
420 'BuyPrice' => array('Type' => 'Integer', 'Caption' => 'Kupní cena', 'Default' => '0', 'Suffix' => 'Kč'),
421 'Amount' => array('Type' => 'Integer', 'Caption' => 'Množství', 'Default' => '1'),
422 'SerialNumber' => array('Type' => 'String', 'Caption' => 'Sériové číslo', 'Default' => '', 'Null' => true),
423 'RegNumber' => array('Type' => 'String', 'Caption' => 'Evidenční číslo', 'Default' => '', 'Null' => true),
424 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '', 'Null' => true),
425 'Segment' => array('Type' => 'TNetworkSegment', 'Caption' => 'Úsek sítě', 'Default' => '', 'Null' => true),
426 'Info' => array('Type' => 'Text', 'Caption' => 'Informace', 'Default' => ''),
427 ),
428 ),
429 'Stock' => array(
430 'Title' => 'Sklady',
431 'Table' => 'Stock',
432 'DefaultSortColumn' => 'Name',
433 'Items' => array(
434 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
435 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '', 'Null' => true),
436 'Items' => array('Type' => 'TStockItemListStock', 'Caption' => 'Položky', 'Default' => ''),
437 ),
438 ),
439 'Log' => array(
440 'Title' => 'Záznamy',
441 'Table' => 'Log',
442 'DefaultSortColumn' => 'Time',
443 'Items' => array(
444 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas', 'Default' => '', 'ReadOnly' => true),
445 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => '', 'Null' => true, 'ReadOnly' => true),
446 'Module' => array('Type' => 'String', 'Caption' => 'Modul', 'Default' => '', 'ReadOnly' => true),
447 'Operation' => array('Type' => 'String', 'Caption' => 'Operace', 'Default' => '', 'ReadOnly' => true),
448 'Value' => array('Type' => 'Text', 'Caption' => 'Hodnota', 'Default' => '', 'ReadOnly' => true),
449 'IPAddress' => array('Type' => 'Text', 'Caption' => 'Adresa IP', 'Default' => '', 'ReadOnly' => true),
450 ),
451 ),
452 'FinanceBillingPeriod' => array(
453 'Title' => 'Platební období',
454 'Table' => 'FinanceBillingPeriod',
455 'DefaultSortColumn' => 'Name',
456 'Items' => array(
457 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
458 'MonthCount' => array('Type' => 'Integer', 'Caption' => 'Počet měsíců', 'Default' => '0', 'Suffix' => 'měsíců'),
459 ),
460 ),
461 'Service' => array(
462 'Title' => 'Služby',
463 'Table' => 'Service',
464 'DefaultSortColumn' => 'Name',
465 'Items' => array(
466 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
467 'Category' => array('Type' => 'TServiceCategory', 'Caption' => 'Skupina', 'Default' => '', 'Null' => true),
468 'Price' => array('Type' => 'Integer', 'Caption' => 'Cena', 'Default' => '0', 'Suffix' => 'Kč'),
469 'CustomerCount' => array('Type' => 'Integer', 'Caption' => 'Počet zákazníků', 'Default' => ''),
470 'Public' => array('Type' => 'Boolean', 'Caption' => 'Veřejné', 'Default' => ''),
471 'InternetSpeedMin' => array('Type' => 'Integer', 'Caption' => 'Min. rychlost internetu', 'Default' => '0', 'Suffix' => 'kbit/s'),
472 'InternetSpeedMax' => array('Type' => 'Integer', 'Caption' => 'Max. rychlost internetu', 'Default' => '0', 'Suffix' => 'kbit/s'),
473 'UploadAsymmetry' => array('Type' => 'Integer', 'Caption' => 'Asymetrie odesílání', 'Default' => '1'),
474 'Memory' => array('Type' => 'Integer', 'Caption' => 'Paměť', 'Default' => '0', 'Suffix' => 'GB'),
475 'MemorySwap' => array('Type' => 'Integer', 'Caption' => 'Odkládací oddíl', 'Default' => '0', 'Suffix' => 'GB'),
476 'Storage' => array('Type' => 'Integer', 'Caption' => 'Úložiště', 'Default' => '0', 'Suffix' => 'GB'),
477 'CPUCount' => array('Type' => 'Integer', 'Caption' => 'Počet jader', 'Default' => '0', 'Suffix' => ''),
478 'Action' => array('Type' => 'TActionEnum', 'Caption' => 'Změna období', 'Default' => '', 'Null' => true),
479 'ReplaceId' => array('Type' => 'TService', 'Caption' => 'Cílová položka', 'Default' => '', 'Null' => true),
480 ),
481 ),
482 'Member' => array(
483 'Title' => 'Zákazníci',
484 'Table' => 'Member',
485 'DefaultSortColumn' => 'Name',
486 'Items' => array(
487 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
488 'ResponsibleUser' => array('Type' => 'TUser', 'Caption' => 'Zodpovědný uživatel', 'Default' => ''),
489 'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
490 'FamilyMemberCount' => array('Type' => 'String', 'Caption' => 'Osob v domácnosti', 'Default' => '0', 'Suffix' => 'osob'),
491 'MembershipDate' => array('Type' => 'Date', 'Caption' => 'Datum členství', 'Default' => ''),
492 'BillingPeriod' => array('Type' => 'TFinanceBillingPeriod', 'Caption' => 'Fakturační období aktuální', 'Default' => ''),
493 'BillingPeriodNext' => array('Type' => 'TFinanceBillingPeriod', 'Caption' => 'Fakturační období příští', 'Default' => ''),
494 'BillingPeriodLastDate' => array('Type' => 'Date', 'Caption' => 'Datum poslední fakturace', 'Default' => ''),
495 'NetworkSegment' => array('Type' => 'TNetworkSegment', 'Caption' => 'Úsek sítě', 'Default' => '', 'Null' => true),
496 'Blocked' => array('Type' => 'Boolean', 'Caption' => 'Blokování', 'Default' => '0'),
497 'PayDay' => array('Type' => 'Integer', 'Caption' => 'Den placení', 'Default' => '0', 'Suffix' => 'den'),
498 'Devices' => array('Type' => 'TDeviceList', 'Caption' => 'Registrovaná zařízení', 'Default' => ''),
499 'UserRel' => array('Type' => 'TUserCustomerRelListCustomer', 'Caption' => 'Přiřazení uživatelé', 'Default' => ''),
500 'ServiceRel' => array('Type' => 'TServiceCustomerRelListCustomer', 'Caption' => 'Placené služby', 'Default' => ''),
501 ),
502 ),
503 'FinanceTreasury' => array(
504 'Title' => 'Pokladny',
505 'Table' => 'FinanceTreasury',
506 'DefaultSortColumn' => 'Name',
507 'Items' => array(
508 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
509 'TimeCreate' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => ''),
510 ),
511 ),
512 'FinanceBankAccount' => array(
513 'Title' => 'Účty',
514 'Table' => 'FinanceBankAccount',
515 'DefaultSortColumn' => 'Comment',
516 'Items' => array(
517 'Subject' => array('Type' => 'TSubject', 'Caption' => 'Vlastník', 'Default' => ''),
518 'Comment' => array('Type' => 'String', 'Caption' => 'Komentář', 'Default' => ''),
519 'Number' => array('Type' => 'String', 'Caption' => 'Číslo', 'Default' => ''),
520 'Bank' => array('Type' => 'TFinanceBank', 'Caption' => 'Banka', 'Default' => ''),
521 'TimeCreate' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => ''),
522 'TimeEnd' => array('Type' => 'Date', 'Caption' => 'Čas zrušení', 'Default' => ''),
523 'Currency' => array('Type' => 'TCurrency', 'Caption' => 'Měna', 'Default' => ''),
524 'LoginName' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno / token', 'Default' => ''),
525 'LoginPassword' => array('Type' => 'String', 'Caption' => 'Přihlašovací heslo', 'Default' => ''),
526 'Operations' => array('Type' => 'TFinanceOperationListAccount', 'Caption' => 'Operace', 'Default' => ''),
527 ),
528 'ItemActions' => array(
529 array('Caption' => 'Import plateb z banky', 'URL' => '/finance/import-api/?'),
530 array('Caption' => 'Import plateb ze souboru', 'URL' => '/finance/import-soubor/?'),
531 ),
532 ),
533 'Country' => array(
534 'Title' => 'Země',
535 'Table' => 'Country',
536 'DefaultSortColumn' => 'Name',
537 'Items' => array(
538 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
539 ),
540 ),
541 'User' => array(
542 'Title' => 'Uživatelé',
543 'Table' => 'User',
544 'DefaultSortColumn' => 'Name',
545 'Items' => array(
546 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
547 'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''),
548 'Salt' => array('Type' => 'RandomHash', 'Caption' => 'Sůl', 'Default' => ''),
549 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => '', 'Method' => 'DoubleSHA1'),
550 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
551 'LastIpAddress' => array('Type' => 'String', 'Caption' => 'Poslední IP adresa', 'Default' => '', 'ReadOnly' => true),
552 'LastLoginTime' => array('Type' => 'DateTime', 'Caption' => 'Poslední čas přihlášení', 'Default' => '', 'ReadOnly' => true),
553 'RegistrationTime' => array('Type' => 'DateTime', 'Caption' => 'Čas registrace', 'Default' => ''),
554 'Locked' => array('Type' => 'Boolean', 'Caption' => 'Uzamčen', 'Default' => ''),
555 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
556 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefon', 'Default' => ''),
557 'UserRel' => array('Type' => 'TUserCustomerRelListUser', 'Caption' => 'Přístup k zákazníkům', 'Default' => ''),
558 'Permission' => array('Type' => 'TPermissionUserAssignmentListUser', 'Caption' => 'Oprávnění', 'Default' => ''),
559 ),
560 ),
561 'Subject' => array(
562 'Title' => 'Subjekty',
563 'Table' => 'Subject',
564 'DefaultSortColumn' => 'Name',
565 'Items' => array(
566 'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''),
567 'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => ''),
568 'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => ''),
569 'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => ''),
570 'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''),
571 'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''),
572 'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''),
573 'MapPosition' => array('Type' => 'TMapPosition', 'Caption' => 'Pozice na mapě', 'Default' => '', 'Null' => true),
574 'WWW' => array('Type' => 'Hyperlink', 'Caption' => 'WWW', 'Default' => ''),
575 'Note' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''),
576 'Customer' => array('Type' => 'TMemberListSubject', 'Caption' => 'Členové', 'Default' => ''),
577 'Operations' => array('Type' => 'TFinanceOperationListSubject', 'Caption' => 'Platby', 'Default' => ''),
578 'Invoices' => array('Type' => 'TFinanceInvoiceListSubject', 'Caption' => 'Faktury', 'Default' => ''),
579 ),
580 ),
581 'NetworkDomainAlias' => array(
582 'Title' => 'Alias domény',
583 'Table' => 'NetworkDomainAlias',
584 'Items' => array(
585 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
586 'Target' => array('Type' => 'String', 'Caption' => 'Cíl', 'Default' => ''),
587 'Comment' => array('Type' => 'String', 'Caption' => 'Komentář', 'Default' => ''),
588 ),
589 ),
590 'NetworkDevice' => array(
591 'Title' => 'Síťové zařízení',
592 'Table' => 'NetworkDevice',
593 'Items' => array(
594 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
595 'Type' => array('Type' => 'TNetworkDeviceType', 'Caption' => 'Typ', 'Default' => '0'),
596 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '0'),
597 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '0'),
598 'Service' => array('Type' => 'TServiceCustomerRel', 'Caption' => 'Služba', 'Default' => '', 'Null' => true),
599 'Used' => array('Type' => 'Boolean', 'Caption' => 'Použito', 'Default' => '1'),
600 'Online' => array('Type' => 'Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true),
601 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true),
602 'PermanentOnline' => array('Type' => 'Boolean', 'Caption' => 'Běží stále', 'Default' => '0'),
603 'Interfaces' => array('Type' => 'TInterfaceList', 'Caption' => 'Rozhraní', 'Default' => ''),
604 'MapPosition' => array('Type' => 'TMapPosition', 'Caption' => 'Pozice na mapě', 'Default' => '0'),
605 ),
606 'Actions' => array(
607 array('Caption' => 'Dostupnost zařízení', 'URL' => '/network/dostupnost.php'),
608 ),
609 ),
610 'NetworkDeviceType' => array(
611 'Title' => 'Typ síťového zařízení',
612 'Table' => 'NetworkDeviceType',
613 'Items' => array(
614 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
615 'ShowOnline' => array('Type' => 'Boolean', 'Caption' => 'Ukázat online', 'Default' => '0'),
616 'IconName' => array('Type' => 'String', 'Caption' => 'Jméno ikony', 'Default' => '0'),
617 ),
618 ),
619 'NetworkInterface' => array(
620 'Title' => 'Síťové rozhraní',
621 'Table' => 'NetworkInterface',
622 'Items' => array(
623 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
624 'Type' => array('Type' => 'TNetworkInterfaceType', 'Caption' => 'Typ', 'Default' => '0'),
625 'MAC' => array('Type' => 'String', 'Caption' => 'Fyzická adresa (MAC)', 'Default' => ''),
626 'LocalIP' => array('Type' => 'String', 'Caption' => 'IPv4', 'Default' => ''),
627 'IPv6' => array('Type' => 'String', 'Caption' => 'IPv6', 'Default' => ''),
628 'ExternalIP' => array('Type' => 'String', 'Caption' => 'Veřejná IPv4', 'Default' => '0'),
629 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => ''),
630 'Online' => array('Type' => 'Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true),
631 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true),
632 'Links1' => array('Type' => 'TNetworkLinkListInterface1', 'Caption' => 'Propojení 1', 'Default' => ''),
633 'Links2' => array('Type' => 'TNetworkLinkListInterface2', 'Caption' => 'Propojení 2', 'Default' => ''),
634 ),
635 ),
636 'NetworkInterfaceType' => array(
637 'Title' => 'Typ síťového rozhraní',
638 'Table' => 'NetworkInterfaceType',
639 'Items' => array(
640 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
641 'MaxSpeed' => array('Type' => 'Integer', 'Caption' => 'Max. rychlost', 'Default' => '0', 'Suffix' => 'Mbit/s'),
642 'FullDuplex' => array('Type' => 'Boolean', 'Caption' => 'Plně duplexní', 'Default' => '0'),
643 'Color' => array('Type' => 'Color', 'Caption' => 'Barva', 'Default' => '0'),
644 ),
645 ),
646 'NetworkSubnet' => array(
647 'Title' => 'Podsítě',
648 'DefaultSortColumn' => 'Name',
649 'Table' => 'NetworkSubnet',
650 'Items' => array(
651 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
652 'AddressRange' => array('Type' => 'String', 'Caption' => 'Rozsah adres', 'Default' => ''),
653 'Mask' => array('Type' => 'Integer', 'Caption' => 'Prefix', 'Default' => ''),
654 'DHCP' => array('Type' => 'String', 'Caption' => 'DHCP', 'Default' => ''),
655 'Gateway' => array('Type' => 'String', 'Caption' => 'Brána', 'Default' => ''),
656 'WINS' => array('Type' => 'String', 'Caption' => 'WINS', 'Default' => ''),
657 'DNS' => array('Type' => 'String', 'Caption' => 'DNS', 'Default' => ''),
658 'Domain' => array('Type' => 'String', 'Caption' => 'Doména', 'Default' => ''),
659 'NTP' => array('Type' => 'String', 'Caption' => 'NTP', 'Default' => ''),
660 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '', 'Null' => true),
661 'ExtAddressRange' => array('Type' => 'String', 'Caption' => 'Vnější rozsah adres', 'Default' => ''),
662 'ExtMask' => array('Type' => 'String', 'Caption' => 'Vnější prefix', 'Default' => ''),
663 'AddressRangeIPv6' => array('Type' => 'String', 'Caption' => 'Rozsah adres IPv6', 'Default' => ''),
664 'Configure' => array('Type' => 'Boolean', 'Caption' => 'Nastavovat', 'Default' => ''),
665 ),
666 ),
667 'MapPosition' => array(
668 'Title' => 'Pozice na mapě',
669 'Table' => 'MapPosition',
670 'Items' => array(
671 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
672 'Latitude' => array('Type' => 'Float', 'Caption' => 'Zeměpisná šířka', 'Default' => '0'),
673 'Longitude' => array('Type' => 'Float', 'Caption' => 'Zeměpisná výška', 'Default' => '0'),
674 ),
675 ),
676 'NewPayment' => array(
677 'Title' => 'Nová platba',
678 'Items' => array(
679 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => 3),
680 'Time' => array('Type' => 'Date', 'Caption' => 'Čas', 'Default' => 'Now'),
681 'Subject' => array('Type' => 'TFinanceSubject', 'Caption' => 'Subjekt', 'Default' => 0),
682 'Value' => array('Type' => 'Float', 'Caption' => 'Částka [Kč]', 'Default' => '0', 'Suffix' => 'Kč'),
683 'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Vklad'),
684 'Cash' => array('Type' => 'Boolean', 'Caption' => 'Hotovost', 'Default' => '0'),
685 'Taxable' => array('Type' => 'Boolean', 'Caption' => 'Ovlivňující daňový základ', 'Default' => '1'),
686 //'BankAccount' => array('Type' => 'TBankAccount', 'Caption' => 'Bankovní účet', 'Default' => '1'),
687 ),
688 ),
689 'NewInvoice' => array(
690 'Title' => 'Nová faktura',
691 'Items' => array(
692 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => 5),
693 'TimeCreation' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => 'Now'),
694 'TimeDue' => array('Type' => 'Date', 'Caption' => 'Čas splatnosti', 'Default' => 'Now'),
695 'Subject' => array('Type' => 'TFinanceSubject', 'Caption' => 'Subjekt', 'Default' => 0),
696 'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Nákup zařízení'),
697 'Value' => array('Type' => 'Float', 'Caption' => 'Částka [Kč]', 'Default' => '0', 'Suffix' => 'Kč'),
698 //'Items' => array('Type' => 'Array', 'Caption' => 'Položky', 'ItemClass' => 'FinanceInvoiceItem'),
699 ),
700 ),
701 'FinanceOperation' => array(
702 'Title' => 'Finanční operace',
703 'Table' => 'FinanceOperation',
704 'DefaultSortColumn' => 'Time',
705 'Items' => array(
706 'Time' => array('Type' => 'Date', 'Caption' => 'Čas realizace', 'Default' => ''),
707 'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
708 'Cash' => array('Type' => 'Boolean', 'Caption' => 'Hotově', 'Default' => ''),
709 'Taxable' => array('Type' => 'Boolean', 'Caption' => 'Zdanitelné', 'Default' => ''),
710 'Value' => array('Type' => 'Integer', 'Caption' => 'Částka', 'Default' => '0', 'Suffix' => 'Kč'),
711 'BillCode' => array('Type' => 'String', 'Caption' => 'Označení', 'Default' => ''),
712 'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => ''),
713 'Network' => array('Type' => 'Boolean', 'Caption' => 'Týkající sítě', 'Default' => ''),
714 'BankAccount' => array('Type' => 'TFinanceBankAccount', 'Caption' => 'Účet', 'Default' => '', 'Null' => true),
715 'Treasury' => array('Type' => 'TFinanceTreasury', 'Caption' => 'Pokladna', 'Default' => '', 'Null' => true),
716 ),
717 ),
718 'FinanceInvoice' => array(
719 'Title' => 'Faktury',
720 'Table' => 'FinanceInvoice',
721 'DefaultSortColumn' => 'TimeCreation',
722 'Items' => array(
723 'BillCode' => array('Type' => 'String', 'Caption' => 'Označení', 'Default' => ''),
724 'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
725 'TimeCreation' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => ''),
726 'TimeDue' => array('Type' => 'Date', 'Caption' => 'Čas splatnosti', 'Default' => ''),
727 'TimePayment' => array('Type' => 'Date', 'Caption' => 'Čas zaplacení', 'Default' => ''),
728 'Value' => array('Type' => 'Integer', 'Caption' => 'Částka', 'Default' => '0', 'Suffix' => 'Kč'),
729 'File' => array('Type' => 'TFile', 'Caption' => 'Doklad', 'Default' => '', 'Null' => true),
730 'Items' => array('Type' => 'TFinanceInvoiceItemListInvoice', 'Caption' => 'Položky', 'Default' => ''),
731 ),
732 ),
733 'FinanceInvoiceItem' => array(
734 'Title' => 'Položka faktury',
735 'Table' => 'FinanceInvoiceItem',
736 'Items' => array(
737 'FinanceInvoice' => array('Type' => 'TFinanceInvoice', 'Caption' => 'Faktura', 'Default' => '0'),
738 'Description' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Položka'),
739 'Price' => array('Type' => 'Float', 'Caption' => 'Částka', 'Default' => '0', 'Suffix' => 'Kč'),
740 'Quantity' => array('Type' => 'Integer', 'Caption' => 'Množství', 'Default' => '1'),
741 'VAT' => array('Type' => 'Integer', 'Caption' => 'Daň', 'Default' => '19', 'Suffix' => '%'),
742 ),
743 ),
744 'Measure' => array(
745 'Title' => 'Měření',
746 'Table' => 'Measure',
747 'Items' => array(
748 'Name' => array('Type' => 'String', 'Caption' => 'Zkratka', 'Default' => 'measure'),
749 'Title' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => 'Měření'),
750 'Description' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Měření veličiny'),
751 'Unit' => array('Type' => 'String', 'Caption' => 'Jednotka', 'Default' => ''),
752 'Continuity' => array('Type' => 'Boolean', 'Caption' => 'Spojitost', 'Default' => '0'),
753 'Period' => array('Type' => 'Integer', 'Caption' => 'Perioda měření', 'Default' => '60'),
754 'PermissionAdd' => array('Type' => 'String', 'Caption' => 'Oprávnění k měření', 'Default' => 'localhost.localdomain'),
755 'PermissionView' => array('Type' => 'String', 'Caption' => 'Oprávnění k prohlížení', 'Default' => 'all'),
756 'Enabled' => array('Type' => 'Boolean', 'Caption' => 'Povolení', 'Default' => '1'),
757 'DataType' => array('Type' => 'String', 'Caption' => 'Typ datových položek', 'Default' => 'int'),
758 'DataTable' => array('Type' => 'String', 'Caption' => 'Tabulka měřených dat', 'Default' => 'data'),
759 ),
760 ),
761 'UserOptions' => array(
762 'Title' => 'Základní nastavení',
763 'Table' => 'User',
764 'SubmitText' => 'Uložit',
765 'Items' => array(
766 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
767 'Salt' => array('Type' => 'RandomHash', 'Caption' => 'Sůl', 'Default' => ''),
768 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
769 'Name' => array('Type' => 'String', 'Caption' => 'Zobrazované jméno', 'Default' => ''),
770 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
771 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''),
772 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
773 ),
774 ),
775 'UserRegister' => array(
776 'Title' => 'Registrace uživatele',
777 'SubmitText' => 'Registrovat',
778 'Table' => 'User',
779 'Items' => array(
780 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
781 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
782 'Password2' => array('Type' => 'Password', 'Caption' => 'Potvrzení hesla', 'Default' => ''),
783 'Name' => array('Type' => 'String', 'Caption' => 'Zobrazované jméno', 'Default' => ''),
784 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
785 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''),
786 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
787 ),
788 ),
789 'MemberOptions' => array(
790 'Title' => 'Nastavení domácnosti',
791 'Table' => '(SELECT Member.Id, Member.FamilyMemberCount, Subject.Name, Subject.AddressStreet, Subject.AddressTown, Subject.AddressPSC, Subject.IC, Subject.DIC FROM Member JOIN Subject ON Subject.Id = Member.Subject)',
792 'Items' => array(
793 'Name' => array('Type' => 'String', 'Caption' => 'Fakturační jméno', 'Default' => ''),
794 'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => 'Zděchov'),
795 'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => 'Zděchov'),
796 'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => '75607'),
797 'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => '1'),
798 'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''),
799 'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''),
800 'FamilyMemberCount' => array('Type' => 'Integer', 'Caption' => 'Počet osob v domácnosti', 'Default' => '', 'Suffix' => 'osob'),
801 'BillingPeriodNext' => array('Type' => 'TFinanceBillingPeriod', 'Caption' => 'Požadované fakturované období', 'Default' => ''),
802 ),
803 ),
804 'PasswordRecovery' => array(
805 'Title' => 'Obnova hesla',
806 'SubmitText' => 'Obnovit',
807 'Table' => '',
808 'Items' => array(
809 'Name' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
810 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
811 ),
812 ),
813 'UserLogin' => array(
814 'Title' => 'Přihlášení uživatele',
815 'SubmitText' => 'Přihlásit',
816 'Table' => '',
817 'Items' => array(
818 'Username' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
819 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
820 ),
821 ),
822 'NewNetworkDevice' => array(
823 'Title' => 'Vložit nové zařízení',
824 'Table' => 'Product',
825 'Items' => array(
826 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
827 'Price' => array('Type' => 'Float', 'Caption' => 'Cena', 'Default' => 0, 'Suffix' => 'Kč'),
828 'Count' => array('Type' => 'Integer', 'Caption' => 'Počet', 'Default' => 1),
829 'Date' => array('Type' => 'Time', 'Caption' => 'Datum zakoupení', 'Default' => 'Now'),
830 'Segment' => array('Type' => 'TNetworkSegment', 'Caption' => 'Segment sítě', 'Default' => 0, 'Null' => true),
831 'Date' => array('Type' => 'Time', 'Caption' => 'Datum zakoupení', 'Default' => 'Now'),
832 'Used' => array('Type' => 'TNetworkDeviceState', 'Caption' => 'Stav', 'Default' => 0),
833 'Consumption' => array('Type' => 'Integer', 'Caption' => 'Spotřeba', 'Default' => 0, 'Suffix' => 'Watt'),
834 'Member' => array('Type' => 'TMember', 'Caption' => 'Subjekt', 'Default' => 0),
835 'Info' => array('Type' => 'String', 'Caption' => 'Poznámky', 'Default' => ''),
836 'Shop' => array('Type' => 'String', 'Caption' => 'Obchod', 'Default' => ''),
837 'DeviceId' => array('Type' => 'String', 'Caption' => 'Sériové číslo', 'Default' => ''),
838 ),
839 ),
840 'NewNetworkDeviceHistory' => array(
841 'Title' => 'Vložit záznam historie zařízení',
842 'Table' => 'NetworkDeviceHistory',
843 'Items' => array(
844 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => 0),
845 'Time' => array('Type' => 'Time', 'Caption' => 'Čas', 'Default' => 'Now'),
846 'Action' => array('Type' => 'TNetworkDeviceAction', 'Caption' => 'Akce', 'Default' => 0),
847 'Notice' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''),
848 ),
849 ),
850 'News' => array(
851 'Title' => 'Nová aktualita',
852 'Table' => 'News',
853 'Items' => array(
854 'Category' => array('Type' => 'TNewsCategory', 'Caption' => 'Kategorie', 'Default' => 0),
855 'Title' => array('Type' => 'String', 'Caption' => 'Nadpis', 'Default' => ''),
856 'Content' => array('Type' => 'Text', 'Caption' => 'Obsah', 'Default' => ''),
857 'Date' => array('Type' => 'Date', 'Caption' => 'Datum', 'Default' => ''),
858 'Author' => array('Type' => 'String', 'Caption' => 'Autor', 'Default' => ''),
859 'Enclosure' => array('Type' => 'String', 'Caption' => 'Přílohy', 'Default' => ''),
860 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => ''),
861 'IP' => array('Type' => 'String', 'Caption' => 'IP adresa', 'Default' => '', 'ReadOnly' => true),
862 'Link' => array('Type' => 'Hyperlink', 'Caption' => 'Odkaz', 'Default' => ''),
863 ),
864 ),
865 'NewsCategory' => array(
866 'Title' => 'Kategorie aktualit',
867 'Table' => 'NewsCategory',
868 'Items' => array(
869 'Caption' => array('Type' => 'String', 'Caption' => 'Titulek', 'Default' => ''),
870 'RSS' => array('Type' => 'Hyperlink', 'Caption' => 'Zdroj RSS', 'Default' => ''),
871 'Permission' => array('Type' => 'Boolean', 'Caption' => 'Veřejné upravitelné', 'Default' => ''),
872 'Sequence' => array('Type' => 'Integer', 'Caption' => 'Pořadí', 'Default' => ''),
873 'Group' => array('Type' => 'Integer', 'Caption' => 'Skupina', 'Default' => ''),
874 ),
875 ),
876 'Email' => array(
877 'Title' => 'Nový email',
878 'Table' => 'EmailQueue',
879 'SubmitText' => 'Odeslat',
880 'Items' => array(
881 'Address' => array('Type' => 'String', 'Caption' => 'Adresa', 'Default' => ''),
882 'Subject' => array('Type' => 'String', 'Caption' => 'Předmět', 'Default' => ''),
883 'Content' => array('Type' => 'Text', 'Caption' => 'Obsah', 'Default' => ''),
884 ),
885 ),
886 'ServiceCategory' => array(
887 'Title' => 'Kategorie služeb',
888 'Table' => 'ServiceCategory',
889 'Items' => array(
890 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
891 'Items' => array('Type' => 'TServiceListServiceCategory', 'Caption' => 'Služby', 'Default' => ''),
892 ),
893 ),
894);
895
896$FormManager->FormTypes = array(
897 'TServiceCategory' => array(
898 'Type' => 'Reference',
899 'Table' => 'ServiceCategory',
900 'Id' => 'Id',
901 'Name' => 'Name',
902 'Filter' => '1',
903 ),
904 'TPriority' => array(
905 'Type' => 'Enumeration',
906 'States' => array('Nízká', 'Střední', 'Vysoká'),
907 ),
908 'TNetworkConfigurationState' => array(
909 'Type' => 'Enumeration',
910 'States' => array('Neplánováno', 'V plánu', 'Provádí se'),
911 ),
912 'TNetworkDeviceState' => array(
913 'Type' => 'Enumeration',
914 'States' => array('Vyřazeno', 'Použito', 'Na skladě'),
915 ),
916 'TNetworkDeviceAction' => array(
917 'Type' => 'Enumeration',
918 'States' => array('Zakoupeno', 'Prodáno', 'Zařazeno do použití', 'Vyřazeno z použití', 'Zasláno do reklamace', 'Přijato z reklamace'),
919 ),
920 'TActionEnum' => array(
921 'Type' => 'Enumeration',
922 'States' => array('add' => 'Přidat', 'modify' => 'Upravit', 'remove' => 'Odstranit'),
923 ),
924 'TService' => array(
925 'Type' => 'Reference',
926 'Table' => 'Service',
927 'Id' => 'Id',
928 'Name' => 'Name',
929 'Filter' => '1',
930 ),
931 'TFinanceBillingPeriod' => array(
932 'Type' => 'Reference',
933 'Table' => 'FinanceBillingPeriod',
934 'Id' => 'Id',
935 'Name' => 'Name',
936 'Filter' => '1',
937 ),
938 'TMember' => array(
939 'Type' => 'Reference',
940 'Table' => 'Member',
941 'Id' => 'Id',
942 'Name' => 'Name',
943 'Filter' => '1',
944 ),
945 'TMemberListSubject' => array(
946 'Type' => 'ManyToOne',
947 'Table' => 'Member',
948 'Id' => 'Id',
949 'Ref' => 'Subject',
950 'Filter' => '1',
951 ),
952 'TMapPosition' => array(
953 'Type' => 'Reference',
954 'Table' => 'MapPosition',
955 'Id' => 'Id',
956 'Name' => 'Name',
957 'Filter' => '1',
958 ),
959 'TUser' => array(
960 'Type' => 'Reference',
961 'Table' => 'User',
962 'Id' => 'Id',
963 'Name' => 'Name',
964 'Filter' => '1',
965 ),
966 'TFinanceSubject' => array(
967 'Type' => 'Reference',
968 'Table' => 'Subject',
969 'Id' => 'Id',
970 'Name' => 'Name',
971 'Filter' => '1',
972 ),
973 'TDocumentLine' => array(
974 'Type' => 'Reference',
975 'Table' => 'DocumentLine',
976 'Id' => 'Id',
977 'Name' => 'Name',
978 'Filter' => '1',
979 ),
980 'TBankAccount' => array(
981 'Type' => 'Reference',
982 'Table' => 'FinanceBankAccount',
983 'Id' => 'Id',
984 'Name' => 'CONCAT(`Comment`, " (", `Number`, "/", '.
985 '(SELECT `FinanceBank`.`Code` FROM `FinanceBank` WHERE `FinanceBank`.`Id`=`FinanceBankAccount`.`Bank`), ")")',
986 'Filter' => '1',
987 ),
988 'TNetworkDevice' => array(
989 'Type' => 'Reference',
990 'Table' => 'NetworkDevice',
991 'Id' => 'Id',
992 'Name' => 'Name',
993 'Filter' => '1',
994 ),
995 'TNetworkDeviceType' => array(
996 'Type' => 'Reference',
997 'Table' => 'NetworkDeviceType',
998 'Id' => 'Id',
999 'Name' => 'Name',
1000 'Filter' => '1',
1001 ),
1002 'TNetworkInterface' => array(
1003 'Type' => 'Reference',
1004 'Table' => 'NetworkInterface',
1005 'View' => '(SELECT NetworkInterface.*, CONCAT(NetworkDevice.Name, "-", NetworkInterface.Name) AS DeviceName FROM NetworkInterface '.
1006 'LEFT JOIN NetworkDevice ON NetworkDevice.Id = NetworkInterface.Device) AS T',
1007 'Id' => 'Id',
1008 'Name' => 'DeviceName',
1009 'Filter' => '1',
1010 ),
1011 'TNetworkInterfaceType' => array(
1012 'Type' => 'Reference',
1013 'Table' => 'NetworkInterfaceType',
1014 'Id' => 'Id',
1015 'Name' => 'Name',
1016 'Filter' => '1',
1017 ),
1018 'TServiceCustomerRel' => array(
1019 'Type' => 'Reference',
1020 'Table' => 'ServiceCustomerRel',
1021 'Id' => 'Id',
1022 'Name' => 'Id',
1023 'Filter' => '1',
1024 ),
1025 'TNetworkSegment' => array(
1026 'Type' => 'Reference',
1027 'Table' => 'NetworkSegment',
1028 'Id' => 'Id',
1029 'Name' => 'Name',
1030 'Filter' => '1',
1031 ),
1032 'TNewsCategory' => array(
1033 'Type' => 'Reference',
1034 'Table' => 'NewsCategory',
1035 'Id' => 'Id',
1036 'Name' => 'Caption',
1037 'Filter' => '1',
1038 ),
1039 'TCountry' => array(
1040 'Type' => 'Reference',
1041 'Table' => 'Country',
1042 'Id' => 'Id',
1043 'Name' => 'Name',
1044 'Filter' => '1',
1045 ),
1046 'TSubject' => array(
1047 'Type' => 'Reference',
1048 'Table' => 'Subject',
1049 'Id' => 'Id',
1050 'Name' => 'Name',
1051 'Filter' => '1',
1052 ),
1053 'TFinanceTreasury' => array(
1054 'Type' => 'Reference',
1055 'Table' => 'FinanceTreasury',
1056 'Id' => 'Id',
1057 'Name' => 'Name',
1058 'Filter' => '1',
1059 ),
1060 'TFinanceBankAccount' => array(
1061 'Type' => 'Reference',
1062 'Table' => 'FinanceBankAccount',
1063 'Id' => 'Id',
1064 'Name' => 'Comment',
1065 'Filter' => '1',
1066 ),
1067 'TFile' => array(
1068 'Type' => 'Reference',
1069 'Table' => 'File',
1070 'Id' => 'Id',
1071 'Name' => 'Name',
1072 'Filter' => '1',
1073 ),
1074 'TTaskList' => array(
1075 'Type' => 'ManyToOne',
1076 'Table' => 'Task',
1077 'Id' => 'Id',
1078 'Ref' => 'Group',
1079 'Filter' => '1',
1080 ),
1081 'TDeviceList' => array(
1082 'Type' => 'ManyToOne',
1083 'Table' => 'NetworkDevice',
1084 'Id' => 'Id',
1085 'Ref' => 'Member',
1086 'Filter' => '1',
1087 ),
1088 'TInterfaceList' => array(
1089 'Type' => 'ManyToOne',
1090 'Table' => 'NetworkInterface',
1091 'Id' => 'Id',
1092 'Ref' => 'Device',
1093 'Filter' => '1',
1094 ),
1095 'TProduct' => array(
1096 'Type' => 'Reference',
1097 'Table' => 'Product',
1098 'Id' => 'Id',
1099 'Name' => 'Name',
1100 'Filter' => '1',
1101 ),
1102 'TTaskGroup' => array(
1103 'Type' => 'Reference',
1104 'Table' => 'TaskGroup',
1105 'Id' => 'Id',
1106 'Name' => 'Name',
1107 'Filter' => '1',
1108 ),
1109 'TStock' => array(
1110 'Type' => 'Reference',
1111 'Table' => 'Stock',
1112 'Id' => 'Id',
1113 'Name' => 'Name',
1114 'Filter' => '1',
1115 ),
1116 'TFinanceBank' => array(
1117 'Type' => 'Reference',
1118 'Table' => 'FinanceBank',
1119 'Id' => 'Id',
1120 'Name' => 'CONCAT(Name, " (", Code, ")")',
1121 'Filter' => '1',
1122 ),
1123 'TUnitOfMeasure' => array(
1124 'Type' => 'Reference',
1125 'Table' => 'UnitOfMeasure',
1126 'Id' => 'Id',
1127 'Name' => 'Name',
1128 'Filter' => '1',
1129 ),
1130 'TLanguage' => array(
1131 'Type' => 'Reference',
1132 'Table' => 'Language',
1133 'Id' => 'Id',
1134 'Name' => 'Name',
1135 'Filter' => '1',
1136 ),
1137 'TActionIcon' => array(
1138 'Type' => 'Reference',
1139 'Table' => 'ActionIcon',
1140 'Id' => 'Id',
1141 'Name' => 'Name',
1142 'Filter' => '1',
1143 ),
1144 'TActionType' => array(
1145 'Type' => 'Reference',
1146 'Table' => 'ActionType',
1147 'Id' => 'Id',
1148 'Name' => 'Name',
1149 'Filter' => '1',
1150 ),
1151 'TActionGroup' => array(
1152 'Type' => 'Reference',
1153 'Table' => 'ActionGroup',
1154 'Id' => 'Id',
1155 'Name' => 'Name',
1156 'Filter' => '1',
1157 ),
1158 'TDirectory' => array(
1159 'Type' => 'Reference',
1160 'Table' => 'FileDirectory',
1161 'Id' => 'Id',
1162 'Name' => 'Name',
1163 'Filter' => '1',
1164 ),
1165 'TTVGroup' => array(
1166 'Type' => 'Reference',
1167 'Table' => 'TVGroup',
1168 'Id' => 'Id',
1169 'Name' => 'Name',
1170 'Filter' => '1',
1171 ),
1172 'TStockItemListStock' => array(
1173 'Type' => 'ManyToOne',
1174 'Table' => 'StockItem',
1175 'Id' => 'Id',
1176 'Ref' => 'Stock',
1177 'Filter' => '1',
1178 ),
1179 'TStockItemListProduct' => array(
1180 'Type' => 'ManyToOne',
1181 'Table' => 'StockItem',
1182 'Id' => 'Id',
1183 'Ref' => 'Product',
1184 'Filter' => '1',
1185 ),
1186 'TDocumentLine' => array(
1187 'Type' => 'Reference',
1188 'Table' => 'DocumentLine',
1189 'Id' => 'Id',
1190 'Name' => 'Name',
1191 'Filter' => '1',
1192 ),
1193 'TFinanceYear' => array(
1194 'Type' => 'Reference',
1195 'Table' => 'FinanceYear',
1196 'Id' => 'Id',
1197 'Name' => 'Year',
1198 'Filter' => '1',
1199 ),
1200 'TTask' => array(
1201 'Type' => 'Reference',
1202 'Table' => 'Task',
1203 'Id' => 'Id',
1204 'Name' => 'Name',
1205 'Filter' => '1',
1206 ),
1207 'TCurrency' => array(
1208 'Type' => 'Reference',
1209 'Table' => 'Currency',
1210 'Id' => 'Id',
1211 'Name' => 'Code',
1212 'Filter' => '1',
1213 ),
1214 'TFinanceInvoice' => array(
1215 'Type' => 'Reference',
1216 'Table' => 'FinanceInvoice',
1217 'Id' => 'Id',
1218 'Name' => 'BillCode',
1219 'Filter' => '1',
1220 ),
1221 'TFinanceOperation' => array(
1222 'Type' => 'Reference',
1223 'Table' => 'FinanceOperation',
1224 'Id' => 'Id',
1225 'Name' => 'BillCode',
1226 'Filter' => '1',
1227 ),
1228 'TPermissionGroup' => array(
1229 'Type' => 'Reference',
1230 'Table' => 'PermissionGroup',
1231 'Id' => 'Id',
1232 'Name' => 'Description',
1233 'Filter' => '1',
1234 ),
1235 'TPermissionGroupAssignment' => array(
1236 'Type' => 'Reference',
1237 'Table' => 'PermissionGroupAssignment',
1238 'Id' => 'Id',
1239 'Name' => 'Id',
1240 'Filter' => '1',
1241 ),
1242 'TPermissionOperation' => array(
1243 'Type' => 'Reference',
1244 'Table' => 'PermissionOperation',
1245 'Id' => 'Id',
1246 'Name' => 'Id',
1247 'Filter' => '1',
1248 ),
1249 'TFinanceCharge' => array(
1250 'Type' => 'Reference',
1251 'Table' => 'FinanceCharge',
1252 'Id' => 'Id',
1253 'Name' => 'Id',
1254 'Filter' => '1',
1255 ),
1256 'TDocumentLineSequenceListYear' => array(
1257 'Type' => 'ManyToOne',
1258 'Table' => 'DocumentLineSequence',
1259 'Id' => 'Id',
1260 'Ref' => 'FinanceYear',
1261 'Filter' => '1',
1262 ),
1263 'TDocumentLineSequenceListLine' => array(
1264 'Type' => 'ManyToOne',
1265 'Table' => 'DocumentLineSequence',
1266 'Id' => 'Id',
1267 'Ref' => 'DocumentLine',
1268 'Filter' => '1',
1269 ),
1270 'TWorkListTask' => array(
1271 'Type' => 'ManyToOne',
1272 'Table' => 'Work',
1273 'Id' => 'Id',
1274 'Ref' => 'Task',
1275 'Filter' => '1',
1276 ),
1277 'TUserCustomerRelListUser' => array(
1278 'Type' => 'ManyToOne',
1279 'Table' => 'UserCustomerRel',
1280 'Id' => 'Id',
1281 'Ref' => 'User',
1282 'Filter' => '1',
1283 ),
1284 'TUserCustomerRelListCustomer' => array(
1285 'Type' => 'ManyToOne',
1286 'Table' => 'UserCustomerRel',
1287 'Id' => 'Id',
1288 'Ref' => 'Customer',
1289 'Filter' => '1',
1290 ),
1291 'TServiceCustomerRelListCustomer' => array(
1292 'Type' => 'ManyToOne',
1293 'Table' => 'ServiceCustomerRel',
1294 'Id' => 'Id',
1295 'Ref' => 'Customer',
1296 'Filter' => '1',
1297 ),
1298 'TPermissionUserAssignmentListUser' => array(
1299 'Type' => 'ManyToOne',
1300 'Table' => 'PermissionUserAssignment',
1301 'Id' => 'Id',
1302 'Ref' => 'User',
1303 'Filter' => '1',
1304 ),
1305 'TPermissionGroupAssignmentListGroup' => array(
1306 'Type' => 'ManyToOne',
1307 'Table' => 'PermissionGroupAssignment',
1308 'Id' => 'Id',
1309 'Ref' => 'Group',
1310 'Filter' => '1',
1311 ),
1312 'TPermissionGroupAssignmentListOperation' => array(
1313 'Type' => 'ManyToOne',
1314 'Table' => 'PermissionGroupAssignment',
1315 'Id' => 'Id',
1316 'Ref' => 'AssignedOperation',
1317 'Filter' => '1',
1318 ),
1319 'TPermissionGroupAssignmentListAssignedGroup' => array(
1320 'Type' => 'ManyToOne',
1321 'Table' => 'PermissionGroupAssignment',
1322 'Id' => 'Id',
1323 'Ref' => 'AssignedGroup',
1324 'Filter' => '1',
1325 ),
1326 'TServiceListServiceCategory' => array(
1327 'Type' => 'ManyToOne',
1328 'Table' => 'Service',
1329 'Id' => 'Id',
1330 'Ref' => 'Category',
1331 'Filter' => '1',
1332 ),
1333 'TNetworkLinkListInterface1' => array(
1334 'Type' => 'ManyToOne',
1335 'Table' => 'NetworkLink',
1336 'Id' => 'Id',
1337 'Ref' => 'Interface1',
1338 'Filter' => '1',
1339 ),
1340 'TNetworkLinkListInterface2' => array(
1341 'Type' => 'ManyToOne',
1342 'Table' => 'NetworkLink',
1343 'Id' => 'Id',
1344 'Ref' => 'Interface2',
1345 'Filter' => '1',
1346 ),
1347 'TFinanceInvoiceItemListInvoice' => array(
1348 'Type' => 'ManyToOne',
1349 'Table' => 'FinanceInvoiceItem',
1350 'Id' => 'Id',
1351 'Ref' => 'FinanceInvoice',
1352 'Filter' => '1',
1353 ),
1354 'TFinanceOperationListAccount' => array(
1355 'Type' => 'ManyToOne',
1356 'Table' => 'FinanceOperation',
1357 'Id' => 'Id',
1358 'Ref' => 'BankAccount',
1359 'Filter' => '1',
1360 ),
1361 'TFinanceOperationListSubject' => array(
1362 'Type' => 'ManyToOne',
1363 'Table' => 'FinanceOperation',
1364 'Id' => 'Id',
1365 'Ref' => 'Subject',
1366 'Filter' => '1',
1367 ),
1368 'TFinanceInvoiceListSubject' => array(
1369 'Type' => 'ManyToOne',
1370 'Table' => 'FinanceInvoice',
1371 'Id' => 'Id',
1372 'Ref' => 'Subject',
1373 'Filter' => '1',
1374 ),
1375);
1376}
1377
1378?>
Note: See TracBrowser for help on using the repository browser.