Ignore:
Timestamp:
Dec 29, 2023, 11:13:39 AM (5 months ago)
Author:
chronos
Message:
File:
1 edited

Legend:

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

    r959 r960  
    133133        'Direction' => array('Type' => 'TFinanceDirection', 'Caption' => 'Směr', 'Default' => '0'),
    134134        'Items' => array('Type' => 'TFinanceOperationListGroup', 'Caption' => 'Operace', 'Default' => ''),
     135      ),
     136    ));
     137    $this->System->FormManager->RegisterClass('FinanceBillingPeriod', array(
     138      'Title' => 'Platební období',
     139      'Table' => 'FinanceBillingPeriod',
     140      'Items' => array(
     141        'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => '0'),
     142        'MonthCount' => array('Type' => 'Integer', 'Caption' => 'Počet měsíců', 'Default' => '0'),
     143        'Customers' => array('Type' => 'TCustomerBillingPeriod', 'Caption' => 'Zákazníci')
    135144      ),
    136145    ));
     
    293302      ),
    294303    ));
     304    $this->System->FormManager->RegisterFormType('TCustomerBillingPeriod', array(
     305      'Type' => 'ManyToOne',
     306      'Table' => 'Member',
     307      'Id' => 'Id',
     308      'Ref' => 'BillingPeriod',
     309      'Filter' => '1',
     310    ));
    295311    $this->System->FormManager->RegisterFormType('TFinanceTreasuryCheckListTreasury', array(
    296312      'Type' => 'ManyToOne',
Note: See TracChangeset for help on using the changeset viewer.