Changeset 893 for trunk/Modules/Document
- Timestamp:
- Jan 4, 2021, 9:55:40 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Document/Document.php
r891 r893 63 63 ), 64 64 //'AfterInsert' => array($this, 'AfterInsertFinanceYear'), 65 )); 65 )); 66 66 $this->System->FormManager->RegisterFormType('TDocumentLine', array( 67 67 'Type' => 'Reference', … … 77 77 'Name' => 'Name', 78 78 'Filter' => '1', 79 )); 79 )); 80 80 } 81 81 82 function DoInstall(): void82 function GetModels(): array 83 83 { 84 $this->InstallModel(FinanceYear::GetDesc()); 85 $this->InstallModel(DocumentLineCode::GetDesc()); 86 $this->InstallModel(DocumentLine::GetDesc()); 87 $this->InstallModel(DocumentLineSequence::GetDesc()); 88 } 89 90 function DoUninstall(): void 91 { 92 $this->UninstallModel(DocumentLineSequence::GetDesc()); 93 $this->UninstallModel(DocumentLine::GetDesc()); 94 $this->UninstallModel(DocumentLineCode::GetDesc()); 95 $this->UninstallModel(FinanceYear::GetDesc()); 84 return array('FinanceYear', 'DocumentLineCode', 'DocumentLine', 'DocumentLineSequence'); 96 85 } 97 86 }
Note:
See TracChangeset
for help on using the changeset viewer.