- Timestamp:
- Apr 9, 2020, 1:28:09 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r875 r876 1 1 <?php 2 2 3 $Revision = 87 4; // Subversion revision3 $Revision = 875; // Subversion revision 4 4 $DatabaseRevision = 870; // SQL structure revision 5 $ReleaseTime = strtotime('2020-04-0 8');5 $ReleaseTime = strtotime('2020-04-09'); -
trunk/Modules/File/File.php
r875 r876 148 148 $FileName = $this->GetAbsolutePath($this->System->Modules['File']->GetFullPath($Id)); 149 149 if (!file_exists($FileName)) 150 $Output .= $FileName.'<br>';150 $Output .= '<a href="'.$this->System->Link('/is/?a=view&t=File&i='.$Id).'">'.$FileName.'</a><br>'; 151 151 } 152 152 return $Output; … … 191 191 'Size' => array('Type' => 'Integer', 'Caption' => 'Velikost', 'Default' => ''), 192 192 'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas vytvoření', 'Default' => ''), 193 'Invoices' => array('Type' => 'TFinanceInvoiceListFile', 'Caption' => 'Faktury', 'Default' => ''), 194 'Operations' => array('Type' => 'TFinanceOperationListFile', 'Caption' => 'Operace', 'Default' => ''), 195 'Contracts' => array('Type' => 'TContractListFile', 'Caption' => 'Smlouvy', 'Default' => ''), 196 'StockMoves' => array('Type' => 'TStockMoveListFile', 'Caption' => 'Skladové pohyby', 'Default' => ''), 193 197 ), 194 198 'ItemActions' => array( … … 204 208 'Items' => array( 205 209 'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''), 206 'Parent' => array('Type' => 'TDirectory', 'Caption' => 'Nadřazený adresář', 'Default' => '', 'Null' => true), 210 'Parent' => array('Type' => 'TDirectory', 'Caption' => 'Nadřazený adresář', 'Default' => '', 'Null' => true), 211 'Files' => array('Type' => 'TFileList', 'Caption' => 'Soubory', 'Default' => ''), 207 212 'Subdirectories' => array('Type' => 'TDirectoryList', 'Caption' => 'Podadresáře', 'Default' => ''), 208 'Files' => array('Type' => 'TFileList', 'Caption' => 'Soubory', 'Default' => ''),209 213 ), 210 214 )); … … 237 241 'Filter' => '1', 238 242 )); 243 $this->System->FormManager->RegisterFormType('TFinanceInvoiceListFile', array( 244 'Type' => 'ManyToOne', 245 'Table' => 'FinanceInvoice', 246 'Id' => 'Id', 247 'Ref' => 'File', 248 'Filter' => '1', 249 )); 250 $this->System->FormManager->RegisterFormType('TFinanceOperationListFile', array( 251 'Type' => 'ManyToOne', 252 'Table' => 'FinanceOperation', 253 'Id' => 'Id', 254 'Ref' => 'File', 255 'Filter' => '1', 256 )); 257 $this->System->FormManager->RegisterFormType('TContractListFile', array( 258 'Type' => 'ManyToOne', 259 'Table' => 'Contract', 260 'Id' => 'Id', 261 'Ref' => 'File', 262 'Filter' => '1', 263 )); 264 $this->System->FormManager->RegisterFormType('TStockMoveListFile', array( 265 'Type' => 'ManyToOne', 266 'Table' => 'StockMove', 267 'Id' => 'Id', 268 'Ref' => 'File', 269 'Filter' => '1', 270 )); 239 271 } 240 272
Note:
See TracChangeset
for help on using the changeset viewer.