Ignore:
Timestamp:
Feb 17, 2021, 9:27:32 PM (3 years ago)
Author:
chronos
Message:
  • Added: Documents section accessible from users panel.
  • Added: Contract model moved to separate module Contract.
  • Added: New action to generate PDF from Contract.
  • Fixed: Allow users to download files only by hash instead of direct id.
  • Added: Support for SHA1 as allowed mysql function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Subject/Subject.php

    r899 r901  
    4343          'WHERE `FinanceInvoice`.`Subject`=#Id), 0))'),
    4444        'BankAccounts' => array('Type' => 'TFinanceBankAccountListSubject', 'Caption' => 'Bankovní účty', 'Default' => ''),
     45        'Contracts' => array('Type' => 'TContractListSubject', 'Caption' => 'Smlouvy', 'Default' => ''),
    4546      ),
    4647    ));
     
    4849      'Type' => 'ManyToOne',
    4950      'Table' => 'FinanceBankAccount',
     51      'Id' => 'Id',
     52      'Ref' => 'Subject',
     53      'Filter' => '1',
     54    ));
     55    $this->System->FormManager->RegisterFormType('TContractListSubject', array(
     56      'Type' => 'ManyToOne',
     57      'Table' => 'Contract',
    5058      'Id' => 'Id',
    5159      'Ref' => 'Subject',
Note: See TracChangeset for help on using the changeset viewer.