| | 546 | }}} |
| | 547 | |
| | 548 | == Lookup klientów == |
| | 549 | {{{ |
| | 550 | #!php |
| | 551 | require_once('./classes/LookupWidget/LookupWidget2.inc'); |
| | 552 | require_once('./classes/LookupWidget/Contact/ContactLookupManager.inc'); |
| | 553 | |
| | 554 | $this->lcontid = new Label($this->name.'lcontid'); |
| | 555 | $this->lcontid->top = '10px'; |
| | 556 | $this->lcontid->left = '370px'; |
| | 557 | $this->lcontid->width = '113px'; |
| | 558 | $this->lcontid->height = '20px'; |
| | 559 | $this->lcontid->text = CLIENT_NAME.':'; |
| | 560 | |
| | 561 | $this->contid = new LookupWidget2($this->name.'contid', new ContactSearchEngine(), FALSE, TRUE); |
| | 562 | $this->contid->top = '10px'; |
| | 563 | $this->contid->left = '490px'; |
| | 564 | $this->contid->width = '280px'; |
| | 565 | |
| | 566 | // z opcją dodawania nowego plus dodtkowe komponenty |
| | 567 | ContactLookupManager::manage($this->contid); |