Changeset 712
- Timestamp:
- Dec 29, 2014, 12:56:55 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/FormClasses.php
r711 r712 218 218 'Filter' => '1', 219 219 ), 220 'TContract' => array( 221 'Type' => 'Reference', 222 'Table' => 'Contract', 220 'TMemberListSubject' => array( 221 'Type' => 'ManyToOne', 222 'Table' => 'Member', 223 'Id' => 'Id', 224 'Ref' => 'Subject', 225 'Filter' => '1', 226 ), 227 'TDocumentLine' => array( 228 'Type' => 'Reference', 229 'Table' => 'DocumentLine', 230 'Id' => 'Id', 231 'Name' => 'Name', 232 'Filter' => '1', 233 ), 234 'TServiceCustomerRel' => array( 235 'Type' => 'Reference', 236 'Table' => 'ServiceCustomerRel', 237 'Id' => 'Id', 238 'Name' => 'Id', 239 'Filter' => '1', 240 ), 241 'TStockSerialNumberListStock' => array( 242 'Type' => 'ManyToOne', 243 'Table' => 'StockSerialNumber', 244 'Id' => 'Id', 245 'Ref' => 'Stock', 246 'Filter' => '1', 247 ), 248 'TStockSerialNumberListProduct' => array( 249 'Type' => 'ManyToOne', 250 'Table' => 'StockSerialNumber', 251 'Id' => 'Id', 252 'Ref' => 'Product', 253 'Filter' => '1', 254 ), 255 'TNetworkDeviceListProduct' => array( 256 'Type' => 'ManyToOne', 257 'Table' => 'NetworkDevice', 258 'Id' => 'Id', 259 'Ref' => 'Product', 260 'Filter' => '1', 261 ), 262 'TDocumentLine' => array( 263 'Type' => 'Reference', 264 'Table' => 'DocumentLine', 265 'Id' => 'Id', 266 'Name' => 'Name', 267 'Filter' => '1', 268 ), 269 'TFinanceYear' => array( 270 'Type' => 'Reference', 271 'Table' => 'FinanceYear', 272 'Id' => 'Id', 273 'Name' => 'Year', 274 'Filter' => '1', 275 ), 276 'TCurrency' => array( 277 'Type' => 'Reference', 278 'Table' => 'Currency', 279 'Id' => 'Id', 280 'Name' => 'Code', 281 'Filter' => '1', 282 ), 283 'TFinanceInvoice' => array( 284 'Type' => 'Reference', 285 'Table' => 'FinanceInvoice', 223 286 'Id' => 'Id', 224 287 'Name' => 'BillCode', 225 288 'Filter' => '1', 226 289 ), 227 'TMemberListSubject' => array( 290 'TFinanceOperation' => array( 291 'Type' => 'Reference', 292 'Table' => 'FinanceOperation', 293 'Id' => 'Id', 294 'Name' => 'BillCode', 295 'Filter' => '1', 296 ), 297 'TFinanceCharge' => array( 298 'Type' => 'Reference', 299 'Table' => 'FinanceCharge', 300 'Id' => 'Id', 301 'Name' => 'Id', 302 'Filter' => '1', 303 ), 304 'TDocumentLineSequenceListYear' => array( 305 'Type' => 'ManyToOne', 306 'Table' => 'DocumentLineSequence', 307 'Id' => 'Id', 308 'Ref' => 'FinanceYear', 309 'Filter' => '1', 310 ), 311 'TDocumentLineSequenceListLine' => array( 312 'Type' => 'ManyToOne', 313 'Table' => 'DocumentLineSequence', 314 'Id' => 'Id', 315 'Ref' => 'DocumentLine', 316 'Filter' => '1', 317 ), 318 'TUserCustomerRelListUser' => array( 319 'Type' => 'ManyToOne', 320 'Table' => 'UserCustomerRel', 321 'Id' => 'Id', 322 'Ref' => 'User', 323 'Filter' => '1', 324 ), 325 'TUserCustomerRelListCustomer' => array( 326 'Type' => 'ManyToOne', 327 'Table' => 'UserCustomerRel', 328 'Id' => 'Id', 329 'Ref' => 'Customer', 330 'Filter' => '1', 331 ), 332 'TFinanceInvoiceOperationRelListInvoice' => array( 333 'Type' => 'ManyToOne', 334 'Table' => 'FinanceInvoiceOperationRel', 335 'Id' => 'Id', 336 'Ref' => 'Invoice', 337 'Filter' => '1', 338 ), 339 'TFinanceInvoiceOperationRelListOperation' => array( 340 'Type' => 'ManyToOne', 341 'Table' => 'FinanceInvoiceOperationRel', 342 'Id' => 'Id', 343 'Ref' => 'Operation', 344 'Filter' => '1', 345 ), 346 'TServiceCustomerRelListCustomer' => array( 347 'Type' => 'ManyToOne', 348 'Table' => 'ServiceCustomerRel', 349 'Id' => 'Id', 350 'Ref' => 'Customer', 351 'Filter' => '1', 352 ), 353 'TServiceCustomerRelListService' => array( 354 'Type' => 'ManyToOne', 355 'Table' => 'ServiceCustomerRel', 356 'Id' => 'Id', 357 'Ref' => 'Service', 358 'Filter' => '1', 359 ), 360 'TCustomerStockSerialNumber' => array( 361 'Type' => 'ManyToOne', 362 'Table' => 'StockSerialNumber', 363 'Id' => 'Id', 364 'Ref' => 'Location', 365 'Filter' => '1', 366 ), 367 'TPermissionUserAssignmentListUser' => array( 368 'Type' => 'ManyToOne', 369 'Table' => 'PermissionUserAssignment', 370 'Id' => 'Id', 371 'Ref' => 'User', 372 'Filter' => '1', 373 ), 374 'TPermissionGroupAssignmentListGroup' => array( 375 'Type' => 'ManyToOne', 376 'Table' => 'PermissionGroupAssignment', 377 'Id' => 'Id', 378 'Ref' => 'Group', 379 'Filter' => '1', 380 ), 381 'TPermissionGroupAssignmentListOperation' => array( 382 'Type' => 'ManyToOne', 383 'Table' => 'PermissionGroupAssignment', 384 'Id' => 'Id', 385 'Ref' => 'AssignedOperation', 386 'Filter' => '1', 387 ), 388 'TPermissionGroupAssignmentListAssignedGroup' => array( 389 'Type' => 'ManyToOne', 390 'Table' => 'PermissionGroupAssignment', 391 'Id' => 'Id', 392 'Ref' => 'AssignedGroup', 393 'Filter' => '1', 394 ), 395 'TServiceListServiceCategory' => array( 396 'Type' => 'ManyToOne', 397 'Table' => 'Service', 398 'Id' => 'Id', 399 'Ref' => 'Category', 400 'Filter' => '1', 401 ), 402 'TNetworkLinkListInterface1' => array( 403 'Type' => 'ManyToOne', 404 'Table' => 'NetworkLink', 405 'Id' => 'Id', 406 'Ref' => 'Interface1', 407 'Filter' => '1', 408 ), 409 'TNetworkLinkListInterface2' => array( 410 'Type' => 'ManyToOne', 411 'Table' => 'NetworkLink', 412 'Id' => 'Id', 413 'Ref' => 'Interface2', 414 'Filter' => '1', 415 ), 416 'TNetworkInterfaceUpDown' => array( 417 'Type' => 'ManyToOne', 418 'Table' => 'NetworkInterfaceUpDown', 419 'Id' => 'Id', 420 'Ref' => 'Interface', 421 'Filter' => '1', 422 ), 423 'TNetworkSignalListInterface' => array( 424 'Type' => 'ManyToOne', 425 'Table' => 'NetworkSignal', 426 'Id' => 'Id', 427 'Ref' => 'Interface', 428 'Filter' => '1', 429 ), 430 'TFinanceInvoiceItemListInvoice' => array( 431 'Type' => 'ManyToOne', 432 'Table' => 'FinanceInvoiceItem', 433 'Id' => 'Id', 434 'Ref' => 'FinanceInvoice', 435 'Filter' => '1', 436 ), 437 'TFinanceOperationListAccount' => array( 438 'Type' => 'ManyToOne', 439 'Table' => 'FinanceOperation', 440 'Id' => 'Id', 441 'Ref' => 'BankAccount', 442 'Filter' => '1', 443 ), 444 'TFinanceOperationListSubject' => array( 445 'Type' => 'ManyToOne', 446 'Table' => 'FinanceOperation', 447 'Id' => 'Id', 448 'Ref' => 'Subject', 449 'Filter' => '1', 450 ), 451 'TFinanceInvoiceListSubject' => array( 452 'Type' => 'ManyToOne', 453 'Table' => 'FinanceInvoice', 454 'Id' => 'Id', 455 'Ref' => 'Subject', 456 'Filter' => '1', 457 ), 458 'TMenuItemListMenu' => array( 459 'Type' => 'ManyToOne', 460 'Table' => 'MenuItem', 461 'Id' => 'Id', 462 'Ref' => 'Menu', 463 'Filter' => '1', 464 ), 465 'TMenuItemListParent' => array( 466 'Type' => 'ManyToOne', 467 'Table' => 'MenuItem', 468 'Id' => 'Id', 469 'Ref' => 'Parent', 470 'Filter' => '1', 471 ), 472 'TActionListGroup' => array( 473 'Type' => 'ManyToOne', 474 'Table' => 'Action', 475 'Id' => 'Id', 476 'Ref' => 'Group', 477 'Filter' => '1', 478 ), 479 'TFinanceOperationListTreasury' => array( 480 'Type' => 'ManyToOne', 481 'Table' => 'FinanceOperation', 482 'Id' => 'Id', 483 'Ref' => 'Treasury', 484 'Filter' => '1', 485 ), 486 'TActionListIcon' => array( 487 'Type' => 'ManyToOne', 488 'Table' => 'Action', 489 'Id' => 'Id', 490 'Ref' => 'Icon', 491 'Filter' => '1', 492 ), 493 'TActionListType' => array( 494 'Type' => 'ManyToOne', 495 'Table' => 'Action', 496 'Id' => 'Id', 497 'Ref' => 'Type', 498 'Filter' => '1', 499 ), 500 'TStockSerialNumberListStockSerialNumber' => array( 501 'Type' => 'ManyToOne', 502 'Table' => 'StockSerialNumber', 503 'Id' => 'Id', 504 'Ref' => 'Esemble', 505 'Filter' => '1', 506 ), 507 'TCustomerListBillingPeriod' => array( 228 508 'Type' => 'ManyToOne', 229 509 'Table' => 'Member', 230 510 'Id' => 'Id', 231 'Ref' => 'Subject',232 'Filter' => '1',233 ),234 'TMapPosition' => array(235 'Type' => 'Reference',236 'Table' => 'MapPosition',237 'Id' => 'Id',238 'Name' => 'Name',239 'Filter' => '1',240 ),241 'TFinanceSubject' => array(242 'Type' => 'Reference',243 'Table' => 'Subject',244 'Id' => 'Id',245 'Name' => 'Name',246 'Filter' => '1',247 ),248 'TDocumentLine' => array(249 'Type' => 'Reference',250 'Table' => 'DocumentLine',251 'Id' => 'Id',252 'Name' => 'Name',253 'Filter' => '1',254 ),255 'TBankAccount' => array(256 'Type' => 'Reference',257 'Table' => 'FinanceBankAccount',258 'Id' => 'Id',259 'Name' => 'CONCAT(`Comment`, " (", `Number`, "/", '.260 '(SELECT `FinanceBank`.`Code` FROM `FinanceBank` WHERE `FinanceBank`.`Id`=`FinanceBankAccount`.`Bank`), ")")',261 'Filter' => '1',262 ),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',342 'Table' => 'NetworkDevice',343 'Id' => 'Id',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',440 'Table' => 'ServiceCustomerRel',441 'Id' => 'Id',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',454 'Table' => 'StockSerialNumber',455 'Id' => 'Id',456 'Ref' => 'Location',457 'Filter' => '1',458 ),459 'TPermissionUserAssignmentListUser' => array(460 'Type' => 'ManyToOne',461 'Table' => 'PermissionUserAssignment',462 'Id' => 'Id',463 'Ref' => 'User',464 'Filter' => '1',465 ),466 'TPermissionGroupAssignmentListGroup' => array(467 'Type' => 'ManyToOne',468 'Table' => 'PermissionGroupAssignment',469 'Id' => 'Id',470 'Ref' => 'Group',471 'Filter' => '1',472 ),473 'TPermissionGroupAssignmentListOperation' => array(474 'Type' => 'ManyToOne',475 'Table' => 'PermissionGroupAssignment',476 'Id' => 'Id',477 'Ref' => 'AssignedOperation',478 'Filter' => '1',479 ),480 'TPermissionGroupAssignmentListAssignedGroup' => array(481 'Type' => 'ManyToOne',482 'Table' => 'PermissionGroupAssignment',483 'Id' => 'Id',484 'Ref' => 'AssignedGroup',485 'Filter' => '1',486 ),487 'TServiceListServiceCategory' => array(488 'Type' => 'ManyToOne',489 'Table' => 'Service',490 'Id' => 'Id',491 'Ref' => 'Category',492 'Filter' => '1',493 ),494 'TNetworkLinkListInterface1' => array(495 'Type' => 'ManyToOne',496 'Table' => 'NetworkLink',497 'Id' => 'Id',498 'Ref' => 'Interface1',499 'Filter' => '1',500 ),501 'TNetworkLinkListInterface2' => array(502 'Type' => 'ManyToOne',503 'Table' => 'NetworkLink',504 'Id' => 'Id',505 'Ref' => 'Interface2',506 'Filter' => '1',507 ),508 'TNetworkInterfaceUpDown' => array(509 'Type' => 'ManyToOne',510 'Table' => 'NetworkInterfaceUpDown',511 'Id' => 'Id',512 'Ref' => 'Interface',513 'Filter' => '1',514 ),515 'TNetworkSignalListInterface' => array(516 'Type' => 'ManyToOne',517 'Table' => 'NetworkSignal',518 'Id' => 'Id',519 'Ref' => 'Interface',520 'Filter' => '1',521 ),522 'TFinanceInvoiceItemListInvoice' => array(523 'Type' => 'ManyToOne',524 'Table' => 'FinanceInvoiceItem',525 'Id' => 'Id',526 'Ref' => 'FinanceInvoice',527 'Filter' => '1',528 ),529 'TFinanceOperationListAccount' => array(530 'Type' => 'ManyToOne',531 'Table' => 'FinanceOperation',532 'Id' => 'Id',533 'Ref' => 'BankAccount',534 'Filter' => '1',535 ),536 'TFinanceOperationListSubject' => array(537 'Type' => 'ManyToOne',538 'Table' => 'FinanceOperation',539 'Id' => 'Id',540 'Ref' => 'Subject',541 'Filter' => '1',542 ),543 'TFinanceInvoiceListSubject' => array(544 'Type' => 'ManyToOne',545 'Table' => 'FinanceInvoice',546 'Id' => 'Id',547 'Ref' => 'Subject',548 'Filter' => '1',549 ),550 'TMenuItemListMenu' => array(551 'Type' => 'ManyToOne',552 'Table' => 'MenuItem',553 'Id' => 'Id',554 'Ref' => 'Menu',555 'Filter' => '1',556 ),557 'TMenuItemListParent' => array(558 'Type' => 'ManyToOne',559 'Table' => 'MenuItem',560 'Id' => 'Id',561 'Ref' => 'Parent',562 'Filter' => '1',563 ),564 'TActionListGroup' => array(565 'Type' => 'ManyToOne',566 'Table' => 'Action',567 'Id' => 'Id',568 'Ref' => 'Group',569 'Filter' => '1',570 ),571 'TFinanceOperationListTreasury' => array(572 'Type' => 'ManyToOne',573 'Table' => 'FinanceOperation',574 'Id' => 'Id',575 'Ref' => 'Treasury',576 'Filter' => '1',577 ),578 'TActionListIcon' => array(579 'Type' => 'ManyToOne',580 'Table' => 'Action',581 'Id' => 'Id',582 'Ref' => 'Icon',583 'Filter' => '1',584 ),585 'TActionListType' => array(586 'Type' => 'ManyToOne',587 'Table' => 'Action',588 'Id' => 'Id',589 'Ref' => 'Type',590 'Filter' => '1',591 ),592 'TStockSerialNumberListStockSerialNumber' => array(593 'Type' => 'ManyToOne',594 'Table' => 'StockSerialNumber',595 'Id' => 'Id',596 'Ref' => 'Esemble',597 'Filter' => '1',598 ),599 'TCustomerListBillingPeriod' => array(600 'Type' => 'ManyToOne',601 'Table' => 'Member',602 'Id' => 'Id',603 511 'Ref' => 'BillingPeriod', 604 'Filter' => '1',605 ),606 'TTVListCategory' => array(607 'Type' => 'ManyToOne',608 'Table' => 'TV',609 'Id' => 'Id',610 'Ref' => 'Category',611 512 'Filter' => '1', 612 513 ), -
trunk/Modules/Finance/Finance.php
r711 r712 416 416 ), 417 417 )); 418 $this->System->FormManager->RegisterFormType('TFinanceTreasury', array( 419 'Type' => 'Reference', 420 'Table' => 'FinanceTreasury', 421 'Id' => 'Id', 422 'Name' => 'Name', 423 'Filter' => '1', 424 )); 418 425 $this->System->FormManager->RegisterClass('FinanceBankAccount', array( 419 426 'Title' => 'Účty', … … 442 449 ), 443 450 )); 451 $this->System->FormManager->RegisterFormType('TFinanceBankAccount'. array( 452 'Type' => 'Reference', 453 'Table' => 'FinanceBankAccount', 454 'Id' => 'Id', 455 'Name' => 'Comment', 456 'Filter' => '1', 457 )); 444 458 $this->System->FormManager->RegisterClass('FinanceBank', array( 445 459 'Title' => 'Banky', … … 451 465 'Country' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''), 452 466 ), 467 )); 468 $this->System->FormManager->RegisterFormType('TFinanceBank', array( 469 'Type' => 'Reference', 470 'Table' => 'FinanceBank', 471 'Id' => 'Id', 472 'Name' => 'CONCAT(Name, " (", Code, ")")', 473 'Filter' => '1', 453 474 )); 454 475 $this->System->FormManager->RegisterClass('Currency', array( … … 507 528 'BeforeInsert' => array($this, 'BeforeInsertFinanceOperation'), 508 529 )); 530 $this->System->FormManager->RegisterFormType('TContract', array( 531 'Type' => 'Reference', 532 'Table' => 'Contract', 533 'Id' => 'Id', 534 'Name' => 'BillCode', 535 'Filter' => '1', 536 )); 509 537 $this->System->FormManager->RegisterFormType('TFinanceVAT', array( 510 538 'Type' => 'Reference', … … 521 549 'Filter' => '1', 522 550 )); 523 551 $this->System->FormManager->RegisterFormType('TBankAccount', array( 552 'Type' => 'Reference', 553 'Table' => 'FinanceBankAccount', 554 'Id' => 'Id', 555 'Name' => 'CONCAT(`Comment`, " (", `Number`, "/", '. 556 '(SELECT `FinanceBank`.`Code` FROM `FinanceBank` WHERE `FinanceBank`.`Id`=`FinanceBankAccount`.`Bank`), ")")', 557 'Filter' => '1', 558 )); 524 559 525 560 $this->System->AddModule(new Bill($this->System)); -
trunk/Modules/Map/Map.php
r586 r712 224 224 ), 225 225 )); 226 $this->System->FormManager->RegisterFormType('TMapPosition', array( 227 'Type' => 'Reference', 228 'Table' => 'MapPosition', 229 'Id' => 'Id', 230 'Name' => 'Name', 231 'Filter' => '1', 232 )); 226 233 227 234 } -
trunk/Modules/Network/Network.php
r711 r712 406 406 'Filter' => '1', 407 407 )); 408 $this->System->FormManager->RegisterFormType('TNetworkSegment', array( 409 'Type' => 'Reference', 410 'Table' => 'NetworkSegment', 411 'Id' => 'Id', 412 'Name' => 'Name', 413 'Filter' => '1', 414 )); 415 408 416 } 409 417 -
trunk/Modules/System/System.php
r711 r712 252 252 ), 253 253 )); 254 $this->System->FormManager->RegisterFormType('TCountry', array( 255 'Type' => 'Reference', 256 'Table' => 'Country', 257 'Id' => 'Id', 258 'Name' => 'Name', 259 'Filter' => '1', 260 )); 254 261 $this->System->FormManager->RegisterFormType('TUnitOfMeasure', array( 255 262 'Type' => 'Reference', -
trunk/Modules/TV/TV.php
r604 r712 154 154 ), 155 155 )); 156 156 $this->System->FormManager->RegisterFormType('TTVGroup', array( 157 'Type' => 'Reference', 158 'Table' => 'TVGroup', 159 'Id' => 'Id', 160 'Name' => 'Name', 161 'Filter' => '1', 162 )); 163 $this->System->FormManager->RegisterFormType('TTVListCategory', array( 164 'Type' => 'ManyToOne', 165 'Table' => 'TV', 166 'Id' => 'Id', 167 'Ref' => 'Category', 168 'Filter' => '1', 169 )); 157 170 } 158 171 -
trunk/Modules/Task/Task.php
r711 r712 60 60 ), 61 61 )); 62 $this->System->FormManager->RegisterFormType('TTask', array( 63 'Type' => 'Reference', 64 'Table' => 'Task', 65 'Id' => 'Id', 66 'Name' => 'Name', 67 'Filter' => '1', 68 )); 62 69 $this->System->FormManager->RegisterFormType('TWorkListTask', array( 63 70 'Type' => 'ManyToOne', … … 67 74 'Filter' => '1', 68 75 )); 76 $this->System->FormManager->RegisterFormType('TTaskList', array( 77 'Type' => 'ManyToOne', 78 'Table' => 'Task', 79 'Id' => 'Id', 80 'Ref' => 'Group', 81 'Filter' => '1', 82 )); 83 $this->System->FormManager->RegisterFormType('TTaskGroup', array( 84 'Type' => 'Reference', 85 'Table' => 'TaskGroup', 86 'Id' => 'Id', 87 'Name' => 'Name', 88 'Filter' => '1', 89 )); 69 90 70 91 }
Note:
See TracChangeset
for help on using the changeset viewer.