Changeset 711 for trunk/Application/FormClasses.php
- Timestamp:
- Dec 29, 2014, 12:43:16 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/FormClasses.php
r710 r711 19 19 { 20 20 $FormManager->Classes = array( 21 'Module' => array(22 'Title' => 'Moduly',23 'Table' => 'Module',24 'Items' => array(25 'Name' => array('Type' => 'String', 'Caption' => 'Systémové jméno', 'Default' => ''),26 'Title' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),27 ),28 ),29 21 'UserCustomerRel' => array( 30 22 'Title' => 'Vztahy uživatel - zákazník', … … 128 120 //'AfterInsert' => array($this, 'AfterInsertFinanceYear'), 129 121 ), 130 'Language' => array(131 'Title' => 'Jazyky',132 'Table' => 'Language',133 'DefaultSortColumn' => 'Name',134 'Items' => array(135 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),136 ),137 ),138 'UnitOfMeasure' => array(139 'Title' => 'Měrné jednotky',140 'Table' => 'UnitOfMeasure',141 'DefaultSortColumn' => 'Name',142 'Items' => array(143 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),144 'Unit' => array('Type' => 'String', 'Caption' => 'Jednotka', 'Default' => ''),145 ),146 ),147 122 'FinanceBillingPeriod' => array( 148 123 'Title' => 'Platební období', … … 178 153 ), 179 154 ), 180 'Country' => array(181 'Title' => 'Země',182 'Table' => 'Country',183 'DefaultSortColumn' => 'Name',184 'Items' => array(185 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),186 ),187 ),188 155 'ServiceCategory' => array( 189 156 'Title' => 'Kategorie služeb', … … 251 218 'Filter' => '1', 252 219 ), 253 'TMember' => array( 254 'Type' => 'Reference', 220 'TContract' => array( 221 'Type' => 'Reference', 222 'Table' => 'Contract', 223 'Id' => 'Id', 224 'Name' => 'BillCode', 225 'Filter' => '1', 226 ), 227 'TMemberListSubject' => array( 228 'Type' => 'ManyToOne', 255 229 'Table' => 'Member', 256 230 'Id' => 'Id', 257 'Name' => 'Name',258 'Filter' => '1',259 ),260 'TContract' => array(261 'Type' => 'Reference',262 'Table' => 'Contract',263 'Id' => 'Id',264 'Name' => 'BillCode',265 'Filter' => '1',266 ),267 'TEmployee' => array(268 'Type' => 'Reference',269 'Table' => 'Employee',270 'Id' => 'Id',271 'Name' => 'CONCAT(FirstName, " ", SecondName)',272 'Filter' => '1',273 ),274 'TEmployeeSalaryList' => array(275 'Type' => 'ManyToOne',276 'Table' => 'EmployeeSalary',277 'Id' => 'Id',278 'Ref' => 'Employee',279 'Filter' => '1',280 ),281 'TMemberListSubject' => array(282 'Type' => 'ManyToOne',283 'Table' => 'Member',284 'Id' => 'Id',285 231 'Ref' => 'Subject', 286 232 'Filter' => '1', 287 233 ), 288 'TFinanceVAT' => array(289 'Type' => 'Reference',290 'Table' => 'FinanceVAT',291 'Id' => 'Id',292 'Name' => 'Name',293 'Filter' => '1',294 ),295 'TFinanceVATType' => array(296 'Type' => 'Reference',297 'Table' => 'FinanceVATType',298 'Id' => 'Id',299 'Name' => 'Name',300 'Filter' => '1',301 ),302 'TModule' => array(303 'Type' => 'Reference',304 'Table' => 'Module',305 'Id' => 'Id',306 'Name' => 'Name',307 'Filter' => '1',308 ),309 234 'TMapPosition' => array( 310 235 'Type' => 'Reference', 311 236 'Table' => 'MapPosition', 312 'Id' => 'Id',313 'Name' => 'Name',314 'Filter' => '1',315 ),316 'TUser' => array(317 'Type' => 'Reference',318 'Table' => 'User',319 237 'Id' => 'Id', 320 238 'Name' => 'Name', … … 343 261 'Filter' => '1', 344 262 ), 345 'TNetworkDevice' => array( 346 'Type' => 'Reference', 263 'TServiceCustomerRel' => array( 264 'Type' => 'Reference', 265 'Table' => 'ServiceCustomerRel', 266 'Id' => 'Id', 267 'Name' => 'Id', 268 'Filter' => '1', 269 ), 270 'TNetworkSegment' => array( 271 'Type' => 'Reference', 272 'Table' => 'NetworkSegment', 273 'Id' => 'Id', 274 'Name' => 'Name', 275 'Filter' => '1', 276 ), 277 'TCountry' => array( 278 'Type' => 'Reference', 279 'Table' => 'Country', 280 'Id' => 'Id', 281 'Name' => 'Name', 282 'Filter' => '1', 283 ), 284 'TFinanceTreasury' => array( 285 'Type' => 'Reference', 286 'Table' => 'FinanceTreasury', 287 'Id' => 'Id', 288 'Name' => 'Name', 289 'Filter' => '1', 290 ), 291 'TFinanceBankAccount' => array( 292 'Type' => 'Reference', 293 'Table' => 'FinanceBankAccount', 294 'Id' => 'Id', 295 'Name' => 'Comment', 296 'Filter' => '1', 297 ), 298 'TTaskList' => array( 299 'Type' => 'ManyToOne', 300 'Table' => 'Task', 301 'Id' => 'Id', 302 'Ref' => 'Group', 303 'Filter' => '1', 304 ), 305 'TTaskGroup' => array( 306 'Type' => 'Reference', 307 'Table' => 'TaskGroup', 308 'Id' => 'Id', 309 'Name' => 'Name', 310 'Filter' => '1', 311 ), 312 'TFinanceBank' => array( 313 'Type' => 'Reference', 314 'Table' => 'FinanceBank', 315 'Id' => 'Id', 316 'Name' => 'CONCAT(Name, " (", Code, ")")', 317 'Filter' => '1', 318 ), 319 'TTVGroup' => array( 320 'Type' => 'Reference', 321 'Table' => 'TVGroup', 322 'Id' => 'Id', 323 'Name' => 'Name', 324 'Filter' => '1', 325 ), 326 'TStockSerialNumberListStock' => array( 327 'Type' => 'ManyToOne', 328 'Table' => 'StockSerialNumber', 329 'Id' => 'Id', 330 'Ref' => 'Stock', 331 'Filter' => '1', 332 ), 333 'TStockSerialNumberListProduct' => array( 334 'Type' => 'ManyToOne', 335 'Table' => 'StockSerialNumber', 336 'Id' => 'Id', 337 'Ref' => 'Product', 338 'Filter' => '1', 339 ), 340 'TNetworkDeviceListProduct' => array( 341 'Type' => 'ManyToOne', 347 342 'Table' => 'NetworkDevice', 348 343 'Id' => 'Id', 349 'Name' => 'Name', 350 'Filter' => '1', 351 ), 352 'TNetworkDeviceType' => array( 353 'Type' => 'Reference', 354 'Table' => 'NetworkDeviceType', 355 'Id' => 'Id', 356 'Name' => 'Name', 357 'Filter' => '1', 358 ), 359 'TNetworkInterface' => array( 360 'Type' => 'Reference', 361 'Table' => 'NetworkInterface', 362 'View' => '(SELECT NetworkInterface.*, CONCAT(NetworkDevice.Name, "-", NetworkInterface.Name) AS DeviceName FROM NetworkInterface '. 363 'LEFT JOIN NetworkDevice ON NetworkDevice.Id = NetworkInterface.Device) AS T', 364 'Id' => 'Id', 365 'Name' => 'DeviceName', 366 'Filter' => '1', 367 ), 368 'TNetworkInterfaceType' => array( 369 'Type' => 'Reference', 370 'Table' => 'NetworkInterfaceType', 371 'Id' => 'Id', 372 'Name' => 'Name', 373 'Filter' => '1', 374 ), 375 'TServiceCustomerRel' => array( 376 'Type' => 'Reference', 344 'Ref' => 'Product', 345 'Filter' => '1', 346 ), 347 'TDocumentLine' => array( 348 'Type' => 'Reference', 349 'Table' => 'DocumentLine', 350 'Id' => 'Id', 351 'Name' => 'Name', 352 'Filter' => '1', 353 ), 354 'TFinanceYear' => array( 355 'Type' => 'Reference', 356 'Table' => 'FinanceYear', 357 'Id' => 'Id', 358 'Name' => 'Year', 359 'Filter' => '1', 360 ), 361 'TTask' => array( 362 'Type' => 'Reference', 363 'Table' => 'Task', 364 'Id' => 'Id', 365 'Name' => 'Name', 366 'Filter' => '1', 367 ), 368 'TCurrency' => array( 369 'Type' => 'Reference', 370 'Table' => 'Currency', 371 'Id' => 'Id', 372 'Name' => 'Code', 373 'Filter' => '1', 374 ), 375 'TFinanceInvoice' => array( 376 'Type' => 'Reference', 377 'Table' => 'FinanceInvoice', 378 'Id' => 'Id', 379 'Name' => 'BillCode', 380 'Filter' => '1', 381 ), 382 'TFinanceOperation' => array( 383 'Type' => 'Reference', 384 'Table' => 'FinanceOperation', 385 'Id' => 'Id', 386 'Name' => 'BillCode', 387 'Filter' => '1', 388 ), 389 'TFinanceCharge' => array( 390 'Type' => 'Reference', 391 'Table' => 'FinanceCharge', 392 'Id' => 'Id', 393 'Name' => 'Id', 394 'Filter' => '1', 395 ), 396 'TDocumentLineSequenceListYear' => array( 397 'Type' => 'ManyToOne', 398 'Table' => 'DocumentLineSequence', 399 'Id' => 'Id', 400 'Ref' => 'FinanceYear', 401 'Filter' => '1', 402 ), 403 'TDocumentLineSequenceListLine' => array( 404 'Type' => 'ManyToOne', 405 'Table' => 'DocumentLineSequence', 406 'Id' => 'Id', 407 'Ref' => 'DocumentLine', 408 'Filter' => '1', 409 ), 410 'TUserCustomerRelListUser' => array( 411 'Type' => 'ManyToOne', 412 'Table' => 'UserCustomerRel', 413 'Id' => 'Id', 414 'Ref' => 'User', 415 'Filter' => '1', 416 ), 417 'TUserCustomerRelListCustomer' => array( 418 'Type' => 'ManyToOne', 419 'Table' => 'UserCustomerRel', 420 'Id' => 'Id', 421 'Ref' => 'Customer', 422 'Filter' => '1', 423 ), 424 'TFinanceInvoiceOperationRelListInvoice' => array( 425 'Type' => 'ManyToOne', 426 'Table' => 'FinanceInvoiceOperationRel', 427 'Id' => 'Id', 428 'Ref' => 'Invoice', 429 'Filter' => '1', 430 ), 431 'TFinanceInvoiceOperationRelListOperation' => array( 432 'Type' => 'ManyToOne', 433 'Table' => 'FinanceInvoiceOperationRel', 434 'Id' => 'Id', 435 'Ref' => 'Operation', 436 'Filter' => '1', 437 ), 438 'TServiceCustomerRelListCustomer' => array( 439 'Type' => 'ManyToOne', 377 440 'Table' => 'ServiceCustomerRel', 378 441 'Id' => 'Id', 379 'Name' => 'Id', 380 'Filter' => '1', 381 ), 382 'TNetworkSegment' => array( 383 'Type' => 'Reference', 384 'Table' => 'NetworkSegment', 385 'Id' => 'Id', 386 'Name' => 'Name', 387 'Filter' => '1', 388 ), 389 'TNewsCategory' => array( 390 'Type' => 'Reference', 391 'Table' => 'NewsCategory', 392 'Id' => 'Id', 393 'Name' => 'Caption', 394 'Filter' => '1', 395 ), 396 'TCountry' => array( 397 'Type' => 'Reference', 398 'Table' => 'Country', 399 'Id' => 'Id', 400 'Name' => 'Name', 401 'Filter' => '1', 402 ), 403 'TSubject' => array( 404 'Type' => 'Reference', 405 'Table' => 'Subject', 406 'Id' => 'Id', 407 'Name' => 'Name', 408 'Filter' => '1', 409 ), 410 'TFinanceTreasury' => array( 411 'Type' => 'Reference', 412 'Table' => 'FinanceTreasury', 413 'Id' => 'Id', 414 'Name' => 'Name', 415 'Filter' => '1', 416 ), 417 'TFinanceBankAccount' => array( 418 'Type' => 'Reference', 419 'Table' => 'FinanceBankAccount', 420 'Id' => 'Id', 421 'Name' => 'Comment', 422 'Filter' => '1', 423 ), 424 'TNewsList' => array( 425 'Type' => 'ManyToOne', 426 'Table' => 'News', 427 'Id' => 'Id', 428 'Ref' => 'Category', 429 'Filter' => '1', 430 ), 431 'TTaskList' => array( 432 'Type' => 'ManyToOne', 433 'Table' => 'Task', 434 'Id' => 'Id', 435 'Ref' => 'Group', 436 'Filter' => '1', 437 ), 438 'TDeviceList' => array( 439 'Type' => 'ManyToOne', 440 'Table' => 'NetworkDevice', 441 'Id' => 'Id', 442 'Ref' => 'Member', 443 'Filter' => '1', 444 ), 445 'TDeviceListAPI' => array( 446 'Type' => 'ManyToOne', 447 'Table' => 'NetworkDevice', 448 'Id' => 'Id', 449 'Ref' => 'API', 450 'Filter' => '1', 451 ), 452 'TNetworkInterfaceWirelessListInterface' => array( 453 'Type' => 'ManyToOne', 454 'Table' => 'NetworkInterfaceWireless', 455 'Id' => 'Id', 456 'Ref' => 'NetworkInterface', 457 'Filter' => '1', 458 ), 459 'TInterfaceList' => array( 460 'Type' => 'ManyToOne', 461 'Table' => 'NetworkInterface', 462 'Id' => 'Id', 463 'Ref' => 'Device', 464 'Filter' => '1', 465 ), 466 'TProduct' => array( 467 'Type' => 'Reference', 468 'Table' => 'Product', 469 'Id' => 'Id', 470 'Name' => 'Name', 471 'Filter' => '1', 472 ), 473 'TTaskGroup' => array( 474 'Type' => 'Reference', 475 'Table' => 'TaskGroup', 476 'Id' => 'Id', 477 'Name' => 'Name', 478 'Filter' => '1', 479 ), 480 'TStock' => array( 481 'Type' => 'Reference', 482 'Table' => 'Stock', 483 'Id' => 'Id', 484 'Name' => 'Name', 485 'Filter' => '1', 486 ), 487 'TStockSerialNumber' => array( 488 'Type' => 'Reference', 442 'Ref' => 'Customer', 443 'Filter' => '1', 444 ), 445 'TServiceCustomerRelListService' => array( 446 'Type' => 'ManyToOne', 447 'Table' => 'ServiceCustomerRel', 448 'Id' => 'Id', 449 'Ref' => 'Service', 450 'Filter' => '1', 451 ), 452 'TCustomerStockSerialNumber' => array( 453 'Type' => 'ManyToOne', 489 454 'Table' => 'StockSerialNumber', 490 455 'Id' => 'Id', 491 'Name' => 'RegNumber',492 'Filter' => '1',493 ),494 'TFinanceBank' => array(495 'Type' => 'Reference',496 'Table' => 'FinanceBank',497 'Id' => 'Id',498 'Name' => 'CONCAT(Name, " (", Code, ")")',499 'Filter' => '1',500 ),501 'TUnitOfMeasure' => array(502 'Type' => 'Reference',503 'Table' => 'UnitOfMeasure',504 'Id' => 'Id',505 'Name' => 'Name',506 'Filter' => '1',507 ),508 'TLanguage' => array(509 'Type' => 'Reference',510 'Table' => 'Language',511 'Id' => 'Id',512 'Name' => 'Name',513 'Filter' => '1',514 ),515 'TAction' => array(516 'Type' => 'Reference',517 'Table' => 'Action',518 'Id' => 'Id',519 'Name' => 'Title',520 'Filter' => '1',521 ),522 'TActionIcon' => array(523 'Type' => 'Reference',524 'Table' => 'ActionIcon',525 'Id' => 'Id',526 'Name' => 'Name',527 'Filter' => '1',528 ),529 'TActionType' => array(530 'Type' => 'Reference',531 'Table' => 'ActionType',532 'Id' => 'Id',533 'Name' => 'Name',534 'Filter' => '1',535 ),536 'TActionGroup' => array(537 'Type' => 'Reference',538 'Table' => 'ActionGroup',539 'Id' => 'Id',540 'Name' => 'Name',541 'Filter' => '1',542 ),543 'TTVGroup' => array(544 'Type' => 'Reference',545 'Table' => 'TVGroup',546 'Id' => 'Id',547 'Name' => 'Name',548 'Filter' => '1',549 ),550 'TStockSerialNumberListStock' => array(551 'Type' => 'ManyToOne',552 'Table' => 'StockSerialNumber',553 'Id' => 'Id',554 'Ref' => 'Stock',555 'Filter' => '1',556 ),557 'TStockSerialNumberListProduct' => array(558 'Type' => 'ManyToOne',559 'Table' => 'StockSerialNumber',560 'Id' => 'Id',561 'Ref' => 'Product',562 'Filter' => '1',563 ),564 'TNetworkDeviceListProduct' => array(565 'Type' => 'ManyToOne',566 'Table' => 'NetworkDevice',567 'Id' => 'Id',568 'Ref' => 'Product',569 'Filter' => '1',570 ),571 'TDocumentLine' => array(572 'Type' => 'Reference',573 'Table' => 'DocumentLine',574 'Id' => 'Id',575 'Name' => 'Name',576 'Filter' => '1',577 ),578 'TFinanceYear' => array(579 'Type' => 'Reference',580 'Table' => 'FinanceYear',581 'Id' => 'Id',582 'Name' => 'Year',583 'Filter' => '1',584 ),585 'TTask' => array(586 'Type' => 'Reference',587 'Table' => 'Task',588 'Id' => 'Id',589 'Name' => 'Name',590 'Filter' => '1',591 ),592 'TCurrency' => array(593 'Type' => 'Reference',594 'Table' => 'Currency',595 'Id' => 'Id',596 'Name' => 'Code',597 'Filter' => '1',598 ),599 'TMenuItem' => array(600 'Type' => 'Reference',601 'Table' => 'MenuItem',602 'Id' => 'Id',603 'Name' => 'Name',604 'Filter' => '1',605 ),606 'TMenu' => array(607 'Type' => 'Reference',608 'Table' => 'Menu',609 'Id' => 'Id',610 'Name' => 'Name',611 'Filter' => '1',612 ),613 'TDeviceAPIType' => array(614 'Type' => 'Reference',615 'Table' => 'DeviceAPIType',616 'Id' => 'Id',617 'Name' => 'Name',618 'Filter' => '1',619 ),620 'TFinanceInvoice' => array(621 'Type' => 'Reference',622 'Table' => 'FinanceInvoice',623 'Id' => 'Id',624 'Name' => 'BillCode',625 'Filter' => '1',626 ),627 'TFinanceOperation' => array(628 'Type' => 'Reference',629 'Table' => 'FinanceOperation',630 'Id' => 'Id',631 'Name' => 'BillCode',632 'Filter' => '1',633 ),634 'TPermissionGroup' => array(635 'Type' => 'Reference',636 'Table' => 'PermissionGroup',637 'Id' => 'Id',638 'Name' => 'Description',639 'Filter' => '1',640 ),641 'TPermissionGroupAssignment' => array(642 'Type' => 'Reference',643 'Table' => 'PermissionGroupAssignment',644 'Id' => 'Id',645 'Name' => 'Id',646 'Filter' => '1',647 ),648 'TPermissionOperation' => array(649 'Type' => 'Reference',650 'Table' => 'PermissionOperation',651 'Id' => 'Id',652 'Name' => 'Id',653 'Filter' => '1',654 ),655 'TFinanceCharge' => array(656 'Type' => 'Reference',657 'Table' => 'FinanceCharge',658 'Id' => 'Id',659 'Name' => 'Id',660 'Filter' => '1',661 ),662 'TDocumentLineSequenceListYear' => array(663 'Type' => 'ManyToOne',664 'Table' => 'DocumentLineSequence',665 'Id' => 'Id',666 'Ref' => 'FinanceYear',667 'Filter' => '1',668 ),669 'TDocumentLineSequenceListLine' => array(670 'Type' => 'ManyToOne',671 'Table' => 'DocumentLineSequence',672 'Id' => 'Id',673 'Ref' => 'DocumentLine',674 'Filter' => '1',675 ),676 'TWorkListTask' => array(677 'Type' => 'ManyToOne',678 'Table' => 'Work',679 'Id' => 'Id',680 'Ref' => 'Task',681 'Filter' => '1',682 ),683 'TUserCustomerRelListUser' => array(684 'Type' => 'ManyToOne',685 'Table' => 'UserCustomerRel',686 'Id' => 'Id',687 'Ref' => 'User',688 'Filter' => '1',689 ),690 'TUserCustomerRelListCustomer' => array(691 'Type' => 'ManyToOne',692 'Table' => 'UserCustomerRel',693 'Id' => 'Id',694 'Ref' => 'Customer',695 'Filter' => '1',696 ),697 'TFinanceInvoiceOperationRelListInvoice' => array(698 'Type' => 'ManyToOne',699 'Table' => 'FinanceInvoiceOperationRel',700 'Id' => 'Id',701 'Ref' => 'Invoice',702 'Filter' => '1',703 ),704 'TFinanceInvoiceOperationRelListOperation' => array(705 'Type' => 'ManyToOne',706 'Table' => 'FinanceInvoiceOperationRel',707 'Id' => 'Id',708 'Ref' => 'Operation',709 'Filter' => '1',710 ),711 'TServiceCustomerRelListCustomer' => array(712 'Type' => 'ManyToOne',713 'Table' => 'ServiceCustomerRel',714 'Id' => 'Id',715 'Ref' => 'Customer',716 'Filter' => '1',717 ),718 'TServiceCustomerRelListService' => array(719 'Type' => 'ManyToOne',720 'Table' => 'ServiceCustomerRel',721 'Id' => 'Id',722 'Ref' => 'Service',723 'Filter' => '1',724 ),725 'TCustomerStockSerialNumber' => array(726 'Type' => 'ManyToOne',727 'Table' => 'StockSerialNumber',728 'Id' => 'Id',729 456 'Ref' => 'Location', 730 457 'Filter' => '1', 731 458 ), 732 459 'TPermissionUserAssignmentListUser' => array( 733 460 'Type' => 'ManyToOne', 734 461 'Table' => 'PermissionUserAssignment',
Note:
See TracChangeset
for help on using the changeset viewer.