source: trunk/form_classes.php@ 486

Last change on this file since 486 was 486, checked in by chronos, 12 years ago
  • Upraveno: Příprava na zrušení tabulek dokladů a jejich převedení na tabulky File a FinanceInvoice.
File size: 49.2 KB
Line 
1<?php
2
3/*
4Item definition:
5Type - identifikace typu z podporovaných
6Caption - popisek, titulek položky
7Default - výchozí hodnota
8Null - hodnota nemusí být zadána
9InList - sloupec viditelný v seznamu
10Suffix - text za hodnotou
11Description - popis významu položky
12ReadOnly - je položky pouze pro čtení
13Required - položka je vyžadována
14*/
15
16
17$FormClasses = array(
18 'File' => array(
19 'Title' => 'Soubor',
20 'Table' => 'File',
21 'Items' => array(
22 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
23 'Directory' => array('Type' => 'TDirectory', 'Caption' => 'Adresář', 'Default' => '', 'Null' => true),
24 'Size' => array('Type' => 'Integer', 'Caption' => 'Velikost', 'Default' => ''),
25 ),
26 ),
27 'FileDirectory' => array(
28 'Title' => 'Adresář souborů',
29 'Table' => 'FileDirectory',
30 'Items' => array(
31 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
32 'Parent' => array('Type' => 'TDirectory', 'Caption' => 'Nadřazený adresář', 'Default' => '', 'Null' => true),
33 ),
34 ),
35 'NetworkLink' => array(
36 'Title' => 'Síťové propojení',
37 'Table' => 'NetworkLink',
38 'Items' => array(
39 'Type' => array('Type' => 'Integer', 'Caption' => 'Typ', 'Default' => '1'),
40 'Interface1' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní 1', 'Default' => ''),
41 'Interface2' => array('Type' => 'TNetworkInterface', 'Caption' => 'Rozhraní 2', 'Default' => ''),
42 ),
43 ),
44 'PermissionUserAssignment' => array(
45 'Title' => 'Oprávnění uživatelů',
46 'Table' => 'PermissionUserAssignment',
47 'Items' => array(
48 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => ''),
49 'AssignedGroup' => array('Type' => 'TPermissionGroup', 'Caption' => 'Přiřazené skupiny', 'Default' => '', 'Null' => true),
50 'AssignedOperation' => array('Type' => 'TPermissionOperation', 'Caption' => 'Přiřazené operace', 'Default' => '', 'Null' => true),
51 ),
52 ),
53 'PermissionGroup' => array(
54 'Title' => 'Skupiny oprávnění',
55 'Table' => 'PermissionGroup',
56 'Items' => array(
57 'Description' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
58 'AssignedGroup' => array('Type' => 'TPermissionGroupAssignmentListGroup', 'Caption' => 'Přiřazené skupiny a operace', 'Default' => '', 'Null' => true),
59 'AssignedGroup2' => array('Type' => 'TPermissionGroupAssignmentListAssignedGroup', 'Caption' => 'Použito ve skupinách', 'Default' => '', 'Null' => true),
60 ),
61 ),
62 'PermissionGroupAssignment' => array(
63 'Title' => 'Přiřazení skupin oprávnění',
64 'Table' => 'PermissionGroupAssignment',
65 'Items' => array(
66 'Group' => array('Type' => 'TPermissionGroup', 'Caption' => 'Skupina', 'Default' => ''),
67 'AssignedGroup' => array('Type' => 'TPermissionGroup', 'Caption' => 'Přiřazené skupiny', 'Default' => '', 'Null' => true),
68 'AssignedOperation' => array('Type' => 'TPermissionOperation', 'Caption' => 'Přiřazené operace', 'Default' => '', 'Null' => true),
69 ),
70 ),
71 'PermissionOperation' => array(
72 'Title' => 'Operace oprávnění',
73 'Table' => 'PermissionOperation',
74 'Items' => array(
75 'Module' => array('Type' => 'String', 'Caption' => 'Modul', 'Default' => ''),
76 'Operation' => array('Type' => 'String', 'Caption' => 'Operace', 'Default' => ''),
77 'Item' => array('Type' => 'String', 'Caption' => 'Položka', 'Default' => ''),
78 'ItemId' => array('Type' => 'Integer', 'Caption' => 'Index položky', 'Default' => ''),
79 'AssignedGroup' => array('Type' => 'TPermissionGroupAssignmentListOperation', 'Caption' => 'Použito ve skupinách', 'Default' => '', 'Null' => true),
80 ),
81 ),
82 'UserCustomerRel' => array(
83 'Title' => 'Vztahy uživatel - zákazník',
84 'Table' => 'UserCustomerRel',
85 'Items' => array(
86 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => ''),
87 'Customer' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => ''),
88 ),
89 ),
90 'ServiceCustomerRel' => array(
91 'Title' => 'Vztahy služba - zákazník',
92 'Table' => 'ServiceCustomerRel',
93 'Items' => array(
94 'Service' => array('Type' => 'TService', 'Caption' => 'Služba', 'Default' => ''),
95 'Customer' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => ''),
96 'Period' => array('Type' => 'Integer', 'Caption' => 'Období', 'Default' => ''),
97 ),
98 ),
99 'Work' => array(
100 'Title' => 'Práce',
101 'Table' => 'Work',
102 'DefaultSortColumn' => 'TimeStart',
103 'Items' => array(
104 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
105 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''),
106 'TimeStart' => array('Type' => 'DateTime', 'Caption' => 'Čas začátku', 'Default' => ''),
107 'Duration' => array('Type' => 'Float', 'Caption' => 'Trvání', 'Default' => '1', 'Suffix' => 'hodin'),
108 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => '1', 'Null' => true),
109 'Task' => array('Type' => 'TTask', 'Caption' => 'Úkol', 'Default' => '', 'Null' => true),
110 ),
111 ),
112 'NetworkDeviceConfig' => array(
113 'Title' => 'Nastavení zařízení',
114 'Table' => 'NetworkDeviceConfig',
115 'DefaultSortColumn' => 'Time',
116 'Items' => array(
117 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => ''),
118 'Time' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => ''),
119 'ConfigFull' => array('Type' => 'Text', 'Caption' => 'Kompletní nastavení', 'Default' => ''),
120 'ConfigCompact' => array('Type' => 'Text', 'Caption' => 'Rozdílové nastavení', 'Default' => ''),
121 ),
122 ),
123 'DocumentLine' => array(
124 'Title' => 'Dokladové řady',
125 'Table' => 'DocumentLine',
126 'DefaultSortColumn' => 'Name',
127 'Items' => array(
128 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
129 'Shortcut' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''),
130 'Sequence' => array('Type' => 'TDocumentLineSequenceListLine', 'Caption' => 'Čísleníky', 'Default' => ''),
131 ),
132 ),
133 'DocumentLineSequence' => array(
134 'Title' => 'Čísleníky dokladových řad',
135 'Table' => 'DocumentLineSequence',
136 'DefaultSortColumn' => 'Id',
137 'Items' => array(
138 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),
139 'FinanceYear' => array('Type' => 'TFinanceYear', 'Caption' => 'Účetní rok', 'Default' => ''),
140 'NextNumber' => array('Type' => 'Integer', 'Caption' => 'Další číslo', 'Default' => ''),
141 'YearPrefix' => array('Type' => 'Boolean', 'Caption' => 'Rok jako předpona', 'Default' => ''),
142 ),
143 ),
144 'FinanceYear' => array(
145 'Title' => 'Účetní roky',
146 'Table' => 'FinanceYear',
147 'DefaultSortColumn' => 'Year',
148 'Items' => array(
149 'Year' => array('Type' => 'Integer', 'Caption' => 'Rok', 'Default' => ''),
150 'DateStart' => array('Type' => 'Date', 'Caption' => 'První den', 'Default' => ''),
151 'DateEnd' => array('Type' => 'Date', 'Caption' => 'Poslední den', 'Default' => ''),
152 'Sequence' => array('Type' => 'TDocumentLineSequenceListYear', 'Caption' => 'Čísleníky', 'Default' => ''),
153 ),
154 ),
155 'TV' => array(
156 'Title' => 'TV kanály',
157 'Table' => 'TV',
158 'DefaultSortColumn' => 'Name',
159 'Items' => array(
160 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
161 'Frequency' => array('Type' => 'Integer', 'Caption' => 'Frekvence', 'Default' => '', 'Suffix' => 'Hz'),
162 'Norm' => array('Type' => 'String', 'Caption' => 'Video norma', 'Default' => ''),
163 'Homepage' => array('Type' => 'Hyperlink', 'Caption' => 'Web', 'Default' => ''),
164 'Language' => array('Type' => 'TLanguage', 'Caption' => 'Jazyk', 'Default' => '', 'Null' => true),
165 'ShortName' => array('Type' => 'String', 'Caption' => 'Zkratka', 'Default' => ''),
166 'Stream' => array('Type' => 'Hyperlink', 'Caption' => 'Proud', 'Default' => ''),
167 'StreamWeb' => array('Type' => 'Hyperlink', 'Caption' => 'Proud web', 'Default' => ''),
168 'SourceType' => array('Type' => 'String', 'Caption' => 'Typ zdroje', 'Default' => ''),
169 'Category' => array('Type' => 'TTVGroup', 'Caption' => 'Kategorie', 'Default' => '', 'Null' => true),
170 ),
171 ),
172 'TVGroup' => array(
173 'Title' => 'Skupiny TV kanálů',
174 'Table' => 'TVGroup',
175 'DefaultSortColumn' => 'Name',
176 'Items' => array(
177 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
178 ),
179 ),
180 'Language' => array(
181 'Title' => 'Jazyky',
182 'Table' => 'Language',
183 'DefaultSortColumn' => 'Name',
184 'Items' => array(
185 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
186 ),
187 ),
188 'Task' => array(
189 'Title' => 'Úkoly',
190 'Table' => 'Task',
191 'DefaultSortColumn' => 'Name',
192 'Items' => array(
193 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => '', 'Required' => true),
194 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''),
195 'TimeCreate' => array('Type' => 'Date', 'Caption' => 'Datum zadání', 'Default' => '', 'Required' => true),
196 'TimeDue' => array('Type' => 'Date', 'Caption' => 'Termín', 'Default' => '', 'Null' => true),
197 'TimeClose' => array('Type' => 'Date', 'Caption' => 'Datum uzavření', 'Default' => '', 'Null' => true),
198 'Priority' => array('Type' => 'TPriority', 'Caption' => 'Důležitost', 'Default' => 1),
199 'Conclusion' => array('Type' => 'Text', 'Caption' => 'Vyhodnocení', 'Default' => ''),
200 'Public' => array('Type' => 'Boolean', 'Caption' => 'Veřejné', 'Default' => '0'),
201 'Progress' => array('Type' => 'Integer', 'Caption' => 'Průběh', 'Default' => '0', 'Suffix' => '%'),
202 'Group' => array('Type' => 'TTaskGroup', 'Caption' => 'Kategorie', 'Default' => '', 'Null' => true),
203 'AssignedTo' => array('Type' => 'TUser', 'Caption' => 'Přiřazeno', 'Default' => '', 'Null' => true),
204 'Work' => array('Type' => 'TWorkListTask', 'Caption' => 'Práce', 'Default' => ''),
205 ),
206 ),
207 'UnitOfMeasure' => array(
208 'Title' => 'Měrné jednotky',
209 'Table' => 'UnitOfMeasure',
210 'DefaultSortColumn' => 'Name',
211 'Items' => array(
212 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
213 'Unit' => array('Type' => 'String', 'Caption' => 'Jednotka', 'Default' => ''),
214 ),
215 ),
216 'TaskGroup' => array(
217 'Title' => 'Kategorie úkolu',
218 'Table' => 'TaskGroup',
219 'DefaultSortColumn' => 'Name',
220 'Items' => array(
221 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
222 'Description' => array('Type' => 'Text', 'Caption' => 'Popis', 'Default' => ''),
223 'Parent' => array('Type' => 'TTaskGroup', 'Caption' => 'Kategorie', 'Default' => '', 'Null' => true),
224 'Tasks' => array('Type' => 'TTaskList', 'Caption' => 'Úkoly', 'Default' => ''),
225 ),
226 ),
227 'Product' => array(
228 'Title' => 'Produkty',
229 'Table' => 'Product',
230 'DefaultSortColumn' => 'Name',
231 'Items' => array(
232 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
233 'SellPrice' => array('Type' => 'Integer', 'Caption' => 'Prodejní cena', 'Default' => '0', 'Suffix' => 'Kč'),
234 'BuyPrice' => array('Type' => 'Integer', 'Caption' => 'Kupní cena', 'Default' => '0', 'Suffix' => 'Kč'),
235 'VAT' => array('Type' => 'Integer', 'Caption' => 'DPH', 'Default' => '0', 'Suffix' => '%'),
236 'Consumption' => array('Type' => 'Integer', 'Caption' => 'Spotřeba', 'Default' => '', 'Suffix' => 'Watt'),
237 'Supplier' => array('Type' => 'TSubject', 'Caption' => 'Dodavatel', 'Default' => '', 'Null' => true),
238 'Manufacturer' => array('Type' => 'TSubject', 'Caption' => 'Výrobce', 'Default' => '', 'Null' => true),
239 'Code' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''),
240 'UnitOfMeasure' => array('Type' => 'TUnitOfMeasure', 'Caption' => 'Měrná jednotka', 'Default' => '', 'Null' => true),
241 'StockItems' => array('Type' => 'TStockItemListProduct', 'Caption' => 'Položky na skladě', 'Default' => '', 'Suffix' => 'ks'),
242 ),
243 ),
244 'StockItem' => array(
245 'Title' => 'Skladové položky',
246 'Table' => 'StockItem',
247 'DefaultSortColumn' => 'Id',
248 'Items' => array(
249 'Stock' => array('Type' => 'TStock', 'Caption' => 'Sklad', 'Default' => ''),
250 'Product' => array('Type' => 'TProduct', 'Caption' => 'Produkt', 'Default' => ''),
251 'TimeEnlistment' => array('Type' => 'Date', 'Caption' => 'Datum zařazení', 'Default' => ''),
252 'TimeElimination' => array('Type' => 'Date', 'Caption' => 'Datum vyřazení', 'Default' => ''),
253 'SellPrice' => array('Type' => 'Integer', 'Caption' => 'Prodejní cena', 'Default' => '0', 'Suffix' => 'Kč'),
254 'BuyPrice' => array('Type' => 'Integer', 'Caption' => 'Kupní cena', 'Default' => '0', 'Suffix' => 'Kč'),
255 'Amount' => array('Type' => 'Integer', 'Caption' => 'Množství', 'Default' => '1'),
256 'SerialNumber' => array('Type' => 'String', 'Caption' => 'Sériové číslo', 'Default' => '', 'Null' => true),
257 'RegNumber' => array('Type' => 'String', 'Caption' => 'Evidenční číslo', 'Default' => '', 'Null' => true),
258 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '', 'Null' => true),
259 'Segment' => array('Type' => 'TNetworkSegment', 'Caption' => 'Úsek sítě', 'Default' => '', 'Null' => true),
260 'Info' => array('Type' => 'Text', 'Caption' => 'Informace', 'Default' => ''),
261 ),
262 ),
263 'Stock' => array(
264 'Title' => 'Sklady',
265 'Table' => 'Stock',
266 'DefaultSortColumn' => 'Name',
267 'Items' => array(
268 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
269 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '', 'Null' => true),
270 'Items' => array('Type' => 'TStockItemListStock', 'Caption' => 'Položky', 'Default' => ''),
271 ),
272 ),
273 'Log' => array(
274 'Title' => 'Záznamy',
275 'Table' => 'Log',
276 'DefaultSortColumn' => 'Time',
277 'Items' => array(
278 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas', 'Default' => '', 'ReadOnly' => true),
279 'User' => array('Type' => 'TUser', 'Caption' => 'Uživatel', 'Default' => '', 'Null' => true, 'ReadOnly' => true),
280 'Module' => array('Type' => 'String', 'Caption' => 'Modul', 'Default' => '', 'ReadOnly' => true),
281 'Operation' => array('Type' => 'String', 'Caption' => 'Operace', 'Default' => '', 'ReadOnly' => true),
282 'Value' => array('Type' => 'Text', 'Caption' => 'Hodnota', 'Default' => '', 'ReadOnly' => true),
283 ),
284 ),
285 'FinanceBillingPeriod' => array(
286 'Title' => 'Platební období',
287 'Table' => 'FinanceBillingPeriod',
288 'DefaultSortColumn' => 'Name',
289 'Items' => array(
290 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
291 'MonthCount' => array('Type' => 'Integer', 'Caption' => 'Počet měsíců', 'Default' => '0', 'Suffix' => 'měsíců'),
292 ),
293 ),
294 'Service' => array(
295 'Title' => 'Služby',
296 'Table' => 'Service',
297 'DefaultSortColumn' => 'Name',
298 'Items' => array(
299 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
300 'Category' => array('Type' => 'TServiceCategory', 'Caption' => 'Skupina', 'Default' => '', 'Null' => true),
301 'Price' => array('Type' => 'Integer', 'Caption' => 'Cena', 'Default' => '0', 'Suffix' => 'Kč'),
302 'CustomerCount' => array('Type' => 'Integer', 'Caption' => 'Počet zákazníků', 'Default' => ''),
303 'Public' => array('Type' => 'Boolean', 'Caption' => 'Veřejné', 'Default' => ''),
304 'InternetSpeedMin' => array('Type' => 'Integer', 'Caption' => 'Min. rychlost internetu', 'Default' => '0', 'Suffix' => 'kbit/s'),
305 'InternetSpeedMax' => array('Type' => 'Integer', 'Caption' => 'Max. rychlost internetu', 'Default' => '0', 'Suffix' => 'kbit/s'),
306 'UploadAsymmetry' => array('Type' => 'Integer', 'Caption' => 'Asymetrie odesílání', 'Default' => '1'),
307 'Memory' => array('Type' => 'Integer', 'Caption' => 'Paměť', 'Default' => '0', 'Suffix' => 'GB'),
308 'MemorySwap' => array('Type' => 'Integer', 'Caption' => 'Odkládací oddíl', 'Default' => '0', 'Suffix' => 'GB'),
309 'Storage' => array('Type' => 'Integer', 'Caption' => 'Úložiště', 'Default' => '0', 'Suffix' => 'GB'),
310 'CPUCount' => array('Type' => 'Integer', 'Caption' => 'Počet jader', 'Default' => '0', 'Suffix' => ''),
311 'ReplaceId' => array('Type' => 'TService', 'Caption' => 'Nahradit', 'Default' => '', 'Null' => true),
312 ),
313 ),
314 'Member' => array(
315 'Title' => 'Zákazníci',
316 'Table' => 'Member',
317 'DefaultSortColumn' => 'Name',
318 'Items' => array(
319 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
320 'ResponsibleUser' => array('Type' => 'TUser', 'Caption' => 'Zodpovědný uživatel', 'Default' => ''),
321 'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
322 'FamilyMemberCount' => array('Type' => 'String', 'Caption' => 'Osob v domácnosti', 'Default' => '0', 'Suffix' => 'osob'),
323 'MembershipDate' => array('Type' => 'Date', 'Caption' => 'Datum členství', 'Default' => ''),
324 'BillingPeriod' => array('Type' => 'TFinanceBillingPeriod', 'Caption' => 'Fakturační období aktuální', 'Default' => ''),
325 'BillingPeriodNext' => array('Type' => 'TFinanceBillingPeriod', 'Caption' => 'Fakturační období příští', 'Default' => ''),
326 'BillingPeriodLastDate' => array('Type' => 'Date', 'Caption' => 'Datum poslední fakturace', 'Default' => ''),
327 'NetworkSegment' => array('Type' => 'TNetworkSegment', 'Caption' => 'Úsek sítě', 'Default' => '', 'Null' => true),
328 'Hire' => array('Type' => 'Integer', 'Caption' => 'Nájem', 'Default' => '0', 'Suffix' => 'Kč'),
329 'Blocked' => array('Type' => 'Boolean', 'Caption' => 'Blokování', 'Default' => '0'),
330 'PayDay' => array('Type' => 'Integer', 'Caption' => 'Den placení', 'Default' => '0', 'Suffix' => 'den'),
331 'Devices' => array('Type' => 'TDeviceList', 'Caption' => 'Registrovaná zařízení', 'Default' => ''),
332 'UserRel' => array('Type' => 'TUserCustomerRelListCustomer', 'Caption' => 'Přiřazení uživatelé', 'Default' => ''),
333 'ServiceRel' => array('Type' => 'TServiceCustomerRelListCustomer', 'Caption' => 'Placené služby', 'Default' => ''),
334 ),
335 ),
336 'FinanceTreasury' => array(
337 'Title' => 'Pokladny',
338 'Table' => 'FinanceTreasury',
339 'DefaultSortColumn' => 'Name',
340 'Items' => array(
341 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
342 'TimeCreate' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => ''),
343 ),
344 ),
345 'FinanceBankAccount' => array(
346 'Title' => 'Účty',
347 'Table' => 'FinanceBankAccount',
348 'DefaultSortColumn' => 'Comment',
349 'Items' => array(
350 'Subject' => array('Type' => 'TSubject', 'Caption' => 'Vlastník', 'Default' => ''),
351 'Comment' => array('Type' => 'String', 'Caption' => 'Komentář', 'Default' => ''),
352 'Number' => array('Type' => 'String', 'Caption' => 'Číslo', 'Default' => ''),
353 'TimeCreate' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => ''),
354 'TimeEnd' => array('Type' => 'Date', 'Caption' => 'Čas zrušení', 'Default' => ''),
355 'Operations' => array('Type' => 'TFinanceOperationListAccount', 'Caption' => 'Operace', 'Default' => ''),
356 ),
357 ),
358 'Country' => array(
359 'Title' => 'Země',
360 'Table' => 'Country',
361 'DefaultSortColumn' => 'Name',
362 'Items' => array(
363 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
364 ),
365 ),
366 'User' => array(
367 'Title' => 'Uživatelé',
368 'Table' => 'User',
369 'DefaultSortColumn' => 'Name',
370 'Items' => array(
371 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
372 'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''),
373 'Salt' => array('Type' => 'RandomHash', 'Caption' => 'Sůl', 'Default' => ''),
374 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => '', 'Method' => 'DoubleSHA1'),
375 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
376 'LastIpAddress' => array('Type' => 'String', 'Caption' => 'Poslední IP adresa', 'Default' => '', 'ReadOnly' => true),
377 'LastLoginTime' => array('Type' => 'DateTime', 'Caption' => 'Poslední čas přihlášení', 'Default' => '', 'ReadOnly' => true),
378 'RegistrationTime' => array('Type' => 'DateTime', 'Caption' => 'Čas registrace', 'Default' => ''),
379 'Locked' => array('Type' => 'Boolean', 'Caption' => 'Uzamčen', 'Default' => ''),
380 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
381 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefon', 'Default' => ''),
382 'UserRel' => array('Type' => 'TUserCustomerRelListUser', 'Caption' => 'Přístup k zákazníkům', 'Default' => ''),
383 'Permission' => array('Type' => 'TPermissionUserAssignmentListUser', 'Caption' => 'Oprávnění', 'Default' => ''),
384
385 ),
386 ),
387 'Subject' => array(
388 'Title' => 'Subjekty',
389 'Table' => 'Subject',
390 'DefaultSortColumn' => 'Name',
391 'Items' => array(
392 'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''),
393 'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => ''),
394 'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => ''),
395 'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => ''),
396 'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''),
397 'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''),
398 'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''),
399 'MapPositionX' => array('Type' => 'Float', 'Caption' => 'Pozice X', 'Default' => '0'),
400 'MapPositionY' => array('Type' => 'Float', 'Caption' => 'Pozice Y', 'Default' => ''),
401 'WWW' => array('Type' => 'Hyperlink', 'Caption' => 'WWW', 'Default' => ''),
402 'Note' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''),
403 'Customer' => array('Type' => 'TMemberListSubject', 'Caption' => 'Členové', 'Default' => ''),
404 ),
405 ),
406 'NetworkDomainAlias' => array(
407 'Title' => 'Alias domény',
408 'Table' => 'NetworkDomainAlias',
409 'Items' => array(
410 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
411 'Target' => array('Type' => 'String', 'Caption' => 'Cíl', 'Default' => ''),
412 'Comment' => array('Type' => 'String', 'Caption' => 'Komentář', 'Default' => ''),
413 ),
414 ),
415 'NetworkDevice' => array(
416 'Title' => 'Síťové zařízení',
417 'Table' => 'NetworkDevice',
418 'Items' => array(
419 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
420 'Type' => array('Type' => 'TNetworkDeviceType', 'Caption' => 'Typ', 'Default' => '0'),
421 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '0'),
422 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '0'),
423 'Used' => array('Type' => 'Boolean', 'Caption' => 'Použito', 'Default' => '1'),
424 'Online' => array('Type' => 'Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true),
425 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true),
426 'PermanentOnline' => array('Type' => 'Boolean', 'Caption' => 'Běží stále', 'Default' => '0'),
427 'Interfaces' => array('Type' => 'TInterfaceList', 'Caption' => 'Rozhraní', 'Default' => ''),
428 'MapPosition' => array('Type' => 'TMapPosition', 'Caption' => 'Pozice na mapě', 'Default' => '0'),
429 ),
430 ),
431 'NetworkDeviceType' => array(
432 'Title' => 'Typ síťového zařízení',
433 'Table' => 'NetworkDeviceType',
434 'Items' => array(
435 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
436 'ShowOnline' => array('Type' => 'Boolean', 'Caption' => 'Ukázat online', 'Default' => '0'),
437 'IconName' => array('Type' => 'String', 'Caption' => 'Jméno ikony', 'Default' => '0'),
438 ),
439 ),
440 'NetworkInterface' => array(
441 'Title' => 'Síťové rozhraní',
442 'Table' => 'NetworkInterface',
443 'Items' => array(
444 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
445 'Type' => array('Type' => 'TNetworkInterfaceType', 'Caption' => 'Typ', 'Default' => '0'),
446 'MAC' => array('Type' => 'String', 'Caption' => 'Fyzická adresa (MAC)', 'Default' => ''),
447 'LocalIP' => array('Type' => 'String', 'Caption' => 'IPv4', 'Default' => ''),
448 'IPv6' => array('Type' => 'String', 'Caption' => 'IPv6', 'Default' => ''),
449 'ExternalIP' => array('Type' => 'String', 'Caption' => 'Veřejná IPv4', 'Default' => '0'),
450 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => ''),
451 'Online' => array('Type' => 'Boolean', 'Caption' => 'Běží', 'Default' => '0', 'ReadOnly' => true),
452 'LastOnline' => array('Type' => 'DateTime', 'Caption' => 'Naposledy běželo', 'Default' => '', 'ReadOnly' => true),
453 'Links1' => array('Type' => 'TNetworkLinkListInterface1', 'Caption' => 'Propojení 1', 'Default' => ''),
454 'Links2' => array('Type' => 'TNetworkLinkListInterface2', 'Caption' => 'Propojení 2', 'Default' => ''),
455 ),
456 ),
457 'NetworkInterfaceType' => array(
458 'Title' => 'Typ síťového rozhraní',
459 'Table' => 'NetworkInterfaceType',
460 'Items' => array(
461 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
462 'MaxSpeed' => array('Type' => 'Integer', 'Caption' => 'Max. rychlost', 'Default' => '0', 'Suffix' => 'Mbit/s'),
463 'FullDuplex' => array('Type' => 'Boolean', 'Caption' => 'Plně duplexní', 'Default' => '0'),
464 'Color' => array('Type' => 'Color', 'Caption' => 'Barva', 'Default' => '0'),
465 ),
466 ),
467 'NetworkSubnet' => array(
468 'Title' => 'Podsítě',
469 'DefaultSortColumn' => 'Name',
470 'Table' => 'NetworkSubnet',
471 'Items' => array(
472 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
473 'AddressRange' => array('Type' => 'String', 'Caption' => 'Rozsah adres', 'Default' => ''),
474 'Mask' => array('Type' => 'Integer', 'Caption' => 'Prefix', 'Default' => ''),
475 'DHCP' => array('Type' => 'String', 'Caption' => 'DHCP', 'Default' => ''),
476 'Gateway' => array('Type' => 'String', 'Caption' => 'Brána', 'Default' => ''),
477 'WINS' => array('Type' => 'String', 'Caption' => 'WINS', 'Default' => ''),
478 'DNS' => array('Type' => 'String', 'Caption' => 'DNS', 'Default' => ''),
479 'Domain' => array('Type' => 'String', 'Caption' => 'Doména', 'Default' => ''),
480 'NTP' => array('Type' => 'String', 'Caption' => 'NTP', 'Default' => ''),
481 'Member' => array('Type' => 'TMember', 'Caption' => 'Zákazník', 'Default' => '', 'Null' => true),
482 'ExtAddressRange' => array('Type' => 'String', 'Caption' => 'Vnější rozsah adres', 'Default' => ''),
483 'ExtMask' => array('Type' => 'String', 'Caption' => 'Vnější prefix', 'Default' => ''),
484 'AddressRangeIPv6' => array('Type' => 'String', 'Caption' => 'Rozsah adres IPv6', 'Default' => ''),
485 'Configure' => array('Type' => 'Boolean', 'Caption' => 'Nastavovat', 'Default' => ''),
486 ),
487 ),
488 'MapPosition' => array(
489 'Title' => 'Pozice na mapě',
490 'Table' => 'MapPosition',
491 'Items' => array(
492 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
493 'Latitude' => array('Type' => 'Float', 'Caption' => 'Zeměpisná šířka', 'Default' => '0'),
494 'Longitude' => array('Type' => 'Float', 'Caption' => 'Zeměpisná výška', 'Default' => '0'),
495 ),
496 ),
497 'NewPayment' => array(
498 'Title' => 'Nová platba',
499 'Items' => array(
500 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => 3),
501 'Time' => array('Type' => 'Date', 'Caption' => 'Čas', 'Default' => 'Now'),
502 'Subject' => array('Type' => 'TFinanceSubject', 'Caption' => 'Subjekt', 'Default' => 0),
503 'Value' => array('Type' => 'Float', 'Caption' => 'Částka [Kč]', 'Default' => '0', 'Suffix' => 'Kč'),
504 'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Vklad'),
505 'Cash' => array('Type' => 'Boolean', 'Caption' => 'Hotovost', 'Default' => '0'),
506 'Taxable' => array('Type' => 'Boolean', 'Caption' => 'Ovlivňující daňový základ', 'Default' => '1'),
507 //'BankAccount' => array('Type' => 'TBankAccount', 'Caption' => 'Bankovní účet', 'Default' => '1'),
508 ),
509 ),
510 'NewInvoice' => array(
511 'Title' => 'Nová faktura',
512 'Items' => array(
513 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => 5),
514 'TimeCreation' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => 'Now'),
515 'TimeDue' => array('Type' => 'Date', 'Caption' => 'Čas splatnosti', 'Default' => 'Now'),
516 'Subject' => array('Type' => 'TFinanceSubject', 'Caption' => 'Subjekt', 'Default' => 0),
517 'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Nákup zařízení'),
518 'Value' => array('Type' => 'Float', 'Caption' => 'Částka [Kč]', 'Default' => '0', 'Suffix' => 'Kč'),
519 //'Items' => array('Type' => 'Array', 'Caption' => 'Položky', 'ItemClass' => 'FinanceInvoiceItem'),
520 ),
521 ),
522 'FinanceOperation' => array(
523 'Title' => 'Finanční operace',
524 'Table' => 'FinanceOperation',
525 'DefaultSortColumn' => 'Time',
526 'Items' => array(
527 'Time' => array('Type' => 'Date', 'Caption' => 'Čas realizace', 'Default' => ''),
528 'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
529 'Cash' => array('Type' => 'Boolean', 'Caption' => 'Hotově', 'Default' => ''),
530 'Taxable' => array('Type' => 'Boolean', 'Caption' => 'Zdanitelné', 'Default' => ''),
531 'Value' => array('Type' => 'Integer', 'Caption' => 'Částka', 'Default' => '0', 'Suffix' => 'Kč'),
532 'BillCode' => array('Type' => 'String', 'Caption' => 'Označení', 'Default' => ''),
533 'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => ''),
534 'Network' => array('Type' => 'Boolean', 'Caption' => 'Týkající sítě', 'Default' => ''),
535 'BankAccount' => array('Type' => 'TFinanceBankAccount', 'Caption' => 'Účet', 'Default' => '', 'Null' => true),
536 'Treasury' => array('Type' => 'TFinanceTreasury', 'Caption' => 'Pokladna', 'Default' => '', 'Null' => true),
537 ),
538 ),
539 'FinanceInvoice' => array(
540 'Title' => 'Závazky a pohledávky',
541 'Table' => 'FinanceInvoice',
542 'DefaultSortColumn' => 'TimeCreation',
543 'Items' => array(
544 'BillCode' => array('Type' => 'String', 'Caption' => 'Označení', 'Default' => ''),
545 'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
546 'TimeCreation' => array('Type' => 'Date', 'Caption' => 'Čas vytvoření', 'Default' => ''),
547 'TimeDue' => array('Type' => 'Date', 'Caption' => 'Čas splatnosti', 'Default' => ''),
548 'TimePayment' => array('Type' => 'Date', 'Caption' => 'Čas zaplacení', 'Default' => ''),
549 'Value' => array('Type' => 'Integer', 'Caption' => 'Částka', 'Default' => '0', 'Suffix' => 'Kč'),
550 'File' => array('Type' => 'TFile', 'Caption' => 'Doklad', 'Default' => '', 'Null' => true),
551 'Items' => array('Type' => 'TFinanceInvoiceItemListInvoice', 'Caption' => 'Položky', 'Default' => ''),
552 ),
553 ),
554 'FinanceInvoiceItem' => array(
555 'Title' => 'Položka faktury',
556 'Table' => 'FinanceInvoiceItem',
557 'Items' => array(
558 'FinanceInvoice' => array('Type' => 'TFinanceInvoice', 'Caption' => 'Faktura', 'Default' => '0'),
559 'Description' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Položka'),
560 'Price' => array('Type' => 'Float', 'Caption' => 'Částka [Kč]', 'Default' => '0', 'Suffix' => 'Kč'),
561 'Quantity' => array('Type' => 'Integer', 'Caption' => 'Množství', 'Default' => '1'),
562 'VAT' => array('Type' => 'Integer', 'Caption' => 'Daň [%]', 'Default' => '19', 'Suffix' => '%'),
563 ),
564 ),
565 'Measure' => array(
566 'Title' => 'Měření',
567 'Table' => 'Measure',
568 'Items' => array(
569 'Name' => array('Type' => 'String', 'Caption' => 'Zkratka', 'Default' => 'measure'),
570 'Title' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => 'Měření'),
571 'Description' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => 'Měření veličiny'),
572 'Unit' => array('Type' => 'String', 'Caption' => 'Jednotka', 'Default' => ''),
573 'Continuity' => array('Type' => 'Boolean', 'Caption' => 'Spojitost', 'Default' => '0'),
574 'Period' => array('Type' => 'Integer', 'Caption' => 'Perioda měření', 'Default' => '60'),
575 'PermissionAdd' => array('Type' => 'String', 'Caption' => 'Oprávnění k měření', 'Default' => 'localhost.localdomain'),
576 'PermissionView' => array('Type' => 'String', 'Caption' => 'Oprávnění k prohlížení', 'Default' => 'all'),
577 'Enabled' => array('Type' => 'Boolean', 'Caption' => 'Povolení', 'Default' => '1'),
578 'DataType' => array('Type' => 'String', 'Caption' => 'Typ datových položek', 'Default' => 'int'),
579 'DataTable' => array('Type' => 'String', 'Caption' => 'Tabulka měřených dat', 'Default' => 'data'),
580 ),
581 ),
582 'UserOptions' => array(
583 'Title' => 'Základní nastavení',
584 'Table' => 'User',
585 'SubmitText' => 'Uložit',
586 'Items' => array(
587 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
588 'Salt' => array('Type' => 'RandomHash', 'Caption' => 'Sůl', 'Default' => ''),
589 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
590 'Name' => array('Type' => 'String', 'Caption' => 'Zobrazované jméno', 'Default' => ''),
591 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
592 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''),
593 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
594 ),
595 ),
596 'UserRegister' => array(
597 'Title' => 'Registrace uživatele',
598 'SubmitText' => 'Registrovat',
599 'Table' => 'User',
600 'Items' => array(
601 'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
602 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
603 'Password2' => array('Type' => 'Password', 'Caption' => 'Potvrzení hesla', 'Default' => ''),
604 'Name' => array('Type' => 'String', 'Caption' => 'Zobrazované jméno', 'Default' => ''),
605 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
606 'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefón', 'Default' => ''),
607 'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
608 ),
609 ),
610 'MemberOptions' => array(
611 'Title' => 'Nastavení domácnosti',
612 '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)',
613 'Items' => array(
614 'Name' => array('Type' => 'String', 'Caption' => 'Fakturační jméno', 'Default' => ''),
615 'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => 'Zděchov'),
616 'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => 'Zděchov'),
617 'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => '75607'),
618 'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => '1'),
619 'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''),
620 'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''),
621 'FamilyMemberCount' => array('Type' => 'Integer', 'Caption' => 'Počet osob v domácnosti', 'Default' => '', 'Suffix' => 'osob'),
622 'BillingPeriodNext' => array('Type' => 'TFinanceBillingPeriod', 'Caption' => 'Požadované fakturované období', 'Default' => ''),
623 ),
624 ),
625 'PasswordRecovery' => array(
626 'Title' => 'Obnova hesla',
627 'SubmitText' => 'Obnovit',
628 'Table' => '',
629 'Items' => array(
630 'Name' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
631 'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
632 ),
633 ),
634 'UserLogin' => array(
635 'Title' => 'Přihlášení uživatele',
636 'SubmitText' => 'Přihlásit',
637 'Table' => '',
638 'Items' => array(
639 'Username' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
640 'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
641 ),
642 ),
643 'NewNetworkDevice' => array(
644 'Title' => 'Vložit nové zařízení',
645 'Table' => 'Product',
646 'Items' => array(
647 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
648 'Price' => array('Type' => 'Float', 'Caption' => 'Cena', 'Default' => 0, 'Suffix' => 'Kč'),
649 'Count' => array('Type' => 'Integer', 'Caption' => 'Počet', 'Default' => 1),
650 'Date' => array('Type' => 'Time', 'Caption' => 'Datum zakoupení', 'Default' => 'Now'),
651 'Segment' => array('Type' => 'TNetworkSegment', 'Caption' => 'Segment sítě', 'Default' => 0, 'Null' => true),
652 'Date' => array('Type' => 'Time', 'Caption' => 'Datum zakoupení', 'Default' => 'Now'),
653 'Used' => array('Type' => 'TNetworkDeviceState', 'Caption' => 'Stav', 'Default' => 0),
654 'Consumption' => array('Type' => 'Integer', 'Caption' => 'Spotřeba', 'Default' => 0, 'Suffix' => 'Watt'),
655 'Member' => array('Type' => 'TMember', 'Caption' => 'Subjekt', 'Default' => 0),
656 'Info' => array('Type' => 'String', 'Caption' => 'Poznámky', 'Default' => ''),
657 'Shop' => array('Type' => 'String', 'Caption' => 'Obchod', 'Default' => ''),
658 'DeviceId' => array('Type' => 'String', 'Caption' => 'Sériové číslo', 'Default' => ''),
659 ),
660 ),
661 'NewNetworkDeviceHistory' => array(
662 'Title' => 'Vložit záznam historie zařízení',
663 'Table' => 'NetworkDeviceHistory',
664 'Items' => array(
665 'Device' => array('Type' => 'TNetworkDevice', 'Caption' => 'Zařízení', 'Default' => 0),
666 'Time' => array('Type' => 'Time', 'Caption' => 'Čas', 'Default' => 'Now'),
667 'Action' => array('Type' => 'TNetworkDeviceAction', 'Caption' => 'Akce', 'Default' => 0),
668 'Notice' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''),
669 ),
670 ),
671 'News' => array(
672 'Title' => 'Nová aktualita',
673 'Table' => '',
674 'SubmitText' => 'Vložit',
675 'Items' => array(
676 'Category' => array('Type' => 'TNewsCategory', 'Caption' => 'Kategorie', 'Default' => 0),
677 'Title' => array('Type' => 'String', 'Caption' => 'Nadpis', 'Default' => ''),
678 'Content' => array('Type' => 'Text', 'Caption' => 'Obsah', 'Default' => ''),
679 'Enclosure1' => array('Type' => 'File', 'Caption' => 'Přílohy (Max. velikost souboru 1 MB)', 'Default' => ''),
680 'Enclosure2' => array('Type' => 'File', 'Caption' => '', 'Default' => ''),
681 'Enclosure3' => array('Type' => 'File', 'Caption' => '', 'Default' => ''),
682 ),
683 ),
684 'Email' => array(
685 'Title' => 'Nový email',
686 'Table' => 'EmailQueue',
687 'SubmitText' => 'Odeslat',
688 'Items' => array(
689 'Address' => array('Type' => 'String', 'Caption' => 'Adresa', 'Default' => ''),
690 'Subject' => array('Type' => 'String', 'Caption' => 'Předmět', 'Default' => ''),
691 'Content' => array('Type' => 'Text', 'Caption' => 'Obsah', 'Default' => ''),
692 ),
693 ),
694 'ServiceCategory' => array(
695 'Title' => 'Kategorie služeb',
696 'Table' => 'ServiceCategory',
697 'Items' => array(
698 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
699 'Items' => array('Type' => 'TServiceListServiceCategory', 'Caption' => 'Služby', 'Default' => ''),
700 ),
701 ),
702);
703
704$FormTypes = array(
705 'TServiceCategory' => array(
706 'Type' => 'Reference',
707 'Table' => 'ServiceCategory',
708 'Id' => 'Id',
709 'Name' => 'Name',
710 'Filter' => '1',
711 ),
712 'TPriority' => array(
713 'Type' => 'Enumeration',
714 'States' => array('Nízká', 'Střední', 'Vysoká'),
715 ),
716 'TNetworkDeviceState' => array(
717 'Type' => 'Enumeration',
718 'States' => array('Vyřazeno', 'Použito', 'Na skladě'),
719 ),
720 'TNetworkDeviceAction' => array(
721 'Type' => 'Enumeration',
722 'States' => array('Zakoupeno', 'Prodáno', 'Zařazeno do použití', 'Vyřazeno z použití', 'Zasláno do reklamace', 'Přijato z reklamace'),
723 ),
724 'TService' => array(
725 'Type' => 'Reference',
726 'Table' => 'Service',
727 'Id' => 'Id',
728 'Name' => 'Name',
729 'Filter' => '1',
730 ),
731 'TFinanceBillingPeriod' => array(
732 'Type' => 'Reference',
733 'Table' => 'FinanceBillingPeriod',
734 'Id' => 'Id',
735 'Name' => 'Name',
736 'Filter' => '1',
737 ),
738 'TMember' => array(
739 'Type' => 'Reference',
740 'Table' => 'Member',
741 'Id' => 'Id',
742 'Name' => 'Name',
743 'Filter' => '1',
744 ),
745 'TMemberListSubject' => array(
746 'Type' => 'ManyToOne',
747 'Table' => 'Member',
748 'Id' => 'Id',
749 'Ref' => 'Subject',
750 'Filter' => '1',
751 ),
752 'TMapPosition' => array(
753 'Type' => 'Reference',
754 'Table' => 'MapPosition',
755 'Id' => 'Id',
756 'Name' => 'Name',
757 'Filter' => '1',
758 ),
759 'TUser' => array(
760 'Type' => 'Reference',
761 'Table' => 'User',
762 'Id' => 'Id',
763 'Name' => 'Name',
764 'Filter' => '1',
765 ),
766 'TFinanceSubject' => array(
767 'Type' => 'Reference',
768 'Table' => 'Subject',
769 'Id' => 'Id',
770 'Name' => 'Name',
771 'Filter' => '1',
772 ),
773 'TDocumentLine' => array(
774 'Type' => 'Reference',
775 'Table' => 'DocumentLine',
776 'Id' => 'Id',
777 'Name' => 'Name',
778 'Filter' => '1',
779 ),
780 'TBankAccount' => array(
781 'Type' => 'Reference',
782 'Table' => 'FinanceBankAccount',
783 'Id' => 'Id',
784 'Name' => 'Comment',
785 'Filter' => '1',
786 ),
787 'TNetworkDevice' => array(
788 'Type' => 'Reference',
789 'Table' => 'NetworkDevice',
790 'Id' => 'Id',
791 'Name' => 'Name',
792 'Filter' => '1',
793 ),
794 'TNetworkDeviceType' => array(
795 'Type' => 'Reference',
796 'Table' => 'NetworkDeviceType',
797 'Id' => 'Id',
798 'Name' => 'Name',
799 'Filter' => '1',
800 ),
801 'TNetworkInterface' => array(
802 'Type' => 'Reference',
803 'Table' => 'NetworkInterface',
804 'View' => '(SELECT NetworkInterface.*, CONCAT(NetworkDevice.Name, "-", NetworkInterface.Name) AS DeviceName FROM NetworkInterface '.
805 'LEFT JOIN NetworkDevice ON NetworkDevice.Id = NetworkInterface.Device) AS T',
806 'Id' => 'Id',
807 'Name' => 'DeviceName',
808 'Filter' => '1',
809 ),
810 'TNetworkInterfaceType' => array(
811 'Type' => 'Reference',
812 'Table' => 'NetworkInterfaceType',
813 'Id' => 'Id',
814 'Name' => 'Name',
815 'Filter' => '1',
816 ),
817 'TNetworkSegment' => array(
818 'Type' => 'Reference',
819 'Table' => 'NetworkSegment',
820 'Id' => 'Id',
821 'Name' => 'Name',
822 'Filter' => '1',
823 ),
824 'TNewsCategory' => array(
825 'Type' => 'Reference',
826 'Table' => 'NewsCategory',
827 'Id' => 'Id',
828 'Name' => 'Caption',
829 'Filter' => '1',
830 ),
831 'TCountry' => array(
832 'Type' => 'Reference',
833 'Table' => 'Country',
834 'Id' => 'Id',
835 'Name' => 'Name',
836 'Filter' => '1',
837 ),
838 'TSubject' => array(
839 'Type' => 'Reference',
840 'Table' => 'Subject',
841 'Id' => 'Id',
842 'Name' => 'Name',
843 'Filter' => '1',
844 ),
845 'TFinanceTreasury' => array(
846 'Type' => 'Reference',
847 'Table' => 'FinanceTreasury',
848 'Id' => 'Id',
849 'Name' => 'Name',
850 'Filter' => '1',
851 ),
852 'TFinanceBankAccount' => array(
853 'Type' => 'Reference',
854 'Table' => 'FinanceBankAccount',
855 'Id' => 'Id',
856 'Name' => 'Comment',
857 'Filter' => '1',
858 ),
859 'TFile' => array(
860 'Type' => 'Reference',
861 'Table' => 'File',
862 'Id' => 'Id',
863 'Name' => 'Id',
864 'Filter' => '1',
865 ),
866 'TTaskList' => array(
867 'Type' => 'ManyToOne',
868 'Table' => 'Task',
869 'Id' => 'Id',
870 'Ref' => 'Group',
871 'Filter' => '1',
872 ),
873 'TDeviceList' => array(
874 'Type' => 'ManyToOne',
875 'Table' => 'NetworkDevice',
876 'Id' => 'Id',
877 'Ref' => 'Member',
878 'Filter' => '1',
879 ),
880 'TInterfaceList' => array(
881 'Type' => 'ManyToOne',
882 'Table' => 'NetworkInterface',
883 'Id' => 'Id',
884 'Ref' => 'Device',
885 'Filter' => '1',
886 ),
887 'TProduct' => array(
888 'Type' => 'Reference',
889 'Table' => 'Product',
890 'Id' => 'Id',
891 'Name' => 'Name',
892 'Filter' => '1',
893 ),
894 'TTaskGroup' => array(
895 'Type' => 'Reference',
896 'Table' => 'TaskGroup',
897 'Id' => 'Id',
898 'Name' => 'Name',
899 'Filter' => '1',
900 ),
901 'TStock' => array(
902 'Type' => 'Reference',
903 'Table' => 'Stock',
904 'Id' => 'Id',
905 'Name' => 'Name',
906 'Filter' => '1',
907 ),
908 'TUnitOfMeasure' => array(
909 'Type' => 'Reference',
910 'Table' => 'UnitOfMeasure',
911 'Id' => 'Id',
912 'Name' => 'Name',
913 'Filter' => '1',
914 ),
915 'TLanguage' => array(
916 'Type' => 'Reference',
917 'Table' => 'Language',
918 'Id' => 'Id',
919 'Name' => 'Name',
920 'Filter' => '1',
921 ),
922 'TDirectory' => array(
923 'Type' => 'Reference',
924 'Table' => 'FileDirectory',
925 'Id' => 'Id',
926 'Name' => 'Name',
927 'Filter' => '1',
928 ),
929 'TTVGroup' => array(
930 'Type' => 'Reference',
931 'Table' => 'TVGroup',
932 'Id' => 'Id',
933 'Name' => 'Name',
934 'Filter' => '1',
935 ),
936 'TStockItemListStock' => array(
937 'Type' => 'ManyToOne',
938 'Table' => 'StockItem',
939 'Id' => 'Id',
940 'Ref' => 'Stock',
941 'Filter' => '1',
942 ),
943 'TStockItemListProduct' => array(
944 'Type' => 'ManyToOne',
945 'Table' => 'StockItem',
946 'Id' => 'Id',
947 'Ref' => 'Product',
948 'Filter' => '1',
949 ),
950 'TDocumentLine' => array(
951 'Type' => 'Reference',
952 'Table' => 'DocumentLine',
953 'Id' => 'Id',
954 'Name' => 'Name',
955 'Filter' => '1',
956 ),
957 'TFinanceYear' => array(
958 'Type' => 'Reference',
959 'Table' => 'FinanceYear',
960 'Id' => 'Id',
961 'Name' => 'Year',
962 'Filter' => '1',
963 ),
964 'TTask' => array(
965 'Type' => 'Reference',
966 'Table' => 'Task',
967 'Id' => 'Id',
968 'Name' => 'Name',
969 'Filter' => '1',
970 ),
971 'TFinanceInvoice' => array(
972 'Type' => 'Reference',
973 'Table' => 'FinanceInvoice',
974 'Id' => 'Id',
975 'Name' => 'BillCode',
976 'Filter' => '1',
977 ),
978 'TPermissionGroup' => array(
979 'Type' => 'Reference',
980 'Table' => 'PermissionGroup',
981 'Id' => 'Id',
982 'Name' => 'Description',
983 'Filter' => '1',
984 ),
985 'TPermissionGroupAssignment' => array(
986 'Type' => 'Reference',
987 'Table' => 'PermissionGroupAssignment',
988 'Id' => 'Id',
989 'Name' => 'Id',
990 'Filter' => '1',
991 ),
992 'TPermissionOperation' => array(
993 'Type' => 'Reference',
994 'Table' => 'PermissionOperation',
995 'Id' => 'Id',
996 'Name' => 'Id',
997 'Filter' => '1',
998 ),
999 'TDocumentLineSequenceListYear' => array(
1000 'Type' => 'ManyToOne',
1001 'Table' => 'DocumentLineSequence',
1002 'Id' => 'Id',
1003 'Ref' => 'FinanceYear',
1004 'Filter' => '1',
1005 ),
1006 'TDocumentLineSequenceListLine' => array(
1007 'Type' => 'ManyToOne',
1008 'Table' => 'DocumentLineSequence',
1009 'Id' => 'Id',
1010 'Ref' => 'DocumentLine',
1011 'Filter' => '1',
1012 ),
1013 'TWorkListTask' => array(
1014 'Type' => 'ManyToOne',
1015 'Table' => 'Work',
1016 'Id' => 'Id',
1017 'Ref' => 'Task',
1018 'Filter' => '1',
1019 ),
1020 'TUserCustomerRelListUser' => array(
1021 'Type' => 'ManyToOne',
1022 'Table' => 'UserCustomerRel',
1023 'Id' => 'Id',
1024 'Ref' => 'User',
1025 'Filter' => '1',
1026 ),
1027 'TUserCustomerRelListCustomer' => array(
1028 'Type' => 'ManyToOne',
1029 'Table' => 'UserCustomerRel',
1030 'Id' => 'Id',
1031 'Ref' => 'Customer',
1032 'Filter' => '1',
1033 ),
1034 'TServiceCustomerRelListCustomer' => array(
1035 'Type' => 'ManyToOne',
1036 'Table' => 'ServiceCustomerRel',
1037 'Id' => 'Id',
1038 'Ref' => 'Customer',
1039 'Filter' => '1',
1040 ),
1041 'TPermissionUserAssignmentListUser' => array(
1042 'Type' => 'ManyToOne',
1043 'Table' => 'PermissionUserAssignment',
1044 'Id' => 'Id',
1045 'Ref' => 'User',
1046 'Filter' => '1',
1047 ),
1048 'TPermissionGroupAssignmentListGroup' => array(
1049 'Type' => 'ManyToOne',
1050 'Table' => 'PermissionGroupAssignment',
1051 'Id' => 'Id',
1052 'Ref' => 'Group',
1053 'Filter' => '1',
1054 ),
1055 'TPermissionGroupAssignmentListOperation' => array(
1056 'Type' => 'ManyToOne',
1057 'Table' => 'PermissionGroupAssignment',
1058 'Id' => 'Id',
1059 'Ref' => 'AssignedOperation',
1060 'Filter' => '1',
1061 ),
1062 'TPermissionGroupAssignmentListAssignedGroup' => array(
1063 'Type' => 'ManyToOne',
1064 'Table' => 'PermissionGroupAssignment',
1065 'Id' => 'Id',
1066 'Ref' => 'AssignedGroup',
1067 'Filter' => '1',
1068 ),
1069 'TServiceListServiceCategory' => array(
1070 'Type' => 'ManyToOne',
1071 'Table' => 'Service',
1072 'Id' => 'Id',
1073 'Ref' => 'Category',
1074 'Filter' => '1',
1075 ),
1076 'TNetworkLinkListInterface1' => array(
1077 'Type' => 'ManyToOne',
1078 'Table' => 'NetworkLink',
1079 'Id' => 'Id',
1080 'Ref' => 'Interface1',
1081 'Filter' => '1',
1082 ),
1083 'TNetworkLinkListInterface2' => array(
1084 'Type' => 'ManyToOne',
1085 'Table' => 'NetworkLink',
1086 'Id' => 'Id',
1087 'Ref' => 'Interface2',
1088 'Filter' => '1',
1089 ),
1090 'TFinanceInvoiceItemListInvoice' => array(
1091 'Type' => 'ManyToOne',
1092 'Table' => 'FinanceInvoiceItem',
1093 'Id' => 'Id',
1094 'Ref' => 'FinanceInvoice',
1095 'Filter' => '1',
1096 ),
1097 'TFinanceOperationListAccount' => array(
1098 'Type' => 'ManyToOne',
1099 'Table' => 'FinanceOperation',
1100 'Id' => 'Id',
1101 'Ref' => 'BankAccount',
1102 'Filter' => '1',
1103 ),
1104);
1105
1106
1107?>
Note: See TracBrowser for help on using the repository browser.