Changeset 960


Ignore:
Timestamp:
Dec 29, 2023, 11:13:39 AM (10 months ago)
Author:
chronos
Message:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r959 r960  
    11<?php
    22
    3 $Revision = 959; // Subversion revision
     3$Revision = 960; // Subversion revision
    44$DatabaseRevision = 957; // SQL structure revision
    55$ReleaseTime = strtotime('2023-12-29');
  • 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',
  • trunk/Modules/Finance/FinanceModels.php

    r923 r960  
    3434  public string $DirectoryId;
    3535  public string $Rounding;
     36  public int $PayingUsers;
    3637
    3738  function LoadMonthParameters(int $Period = 1) // 0 - now, 1 - next month
  • trunk/Packages/Common/ModelDesc.php

    r949 r960  
    147147{
    148148  public ?string $Default;
     149  public int $MaxLength;
    149150
    150151  function __construct(string $Name)
Note: See TracChangeset for help on using the changeset viewer.