Ignore:
Timestamp:
Aug 2, 2022, 9:26:10 AM (22 months ago)
Author:
chronos
Message:
  • Fixed: Incorrectly used member date BillingPeriodLastDate for determining new payments log for payment notification email.
File:
1 edited

Legend:

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

    r914 r939  
    3939        'Consumption' => array('Type' => 'TCustomerStockSerialNumber', 'Caption' => 'Spotřeba zařízení', 'Default' => ''),
    4040        'Contract' => array('Type' => 'TContract', 'Caption' => 'Smlouva', 'Default' => '', 'Null' => true),
     41        'PaymentEmailTime' => array('Type' => 'DateTime', 'Caption' => 'Čas platebního emailu', 'Default' => 'NOW()', 'Null' => true, 'NotInList' => true),
    4142        'ChangeAction' => array('Type' => 'TActionEnum', 'Caption' => 'Změna - akce', 'Default' => '', 'Null' => true),
    4243        'ChangeTime' => array('Type' => 'DateTime', 'Caption' => 'Změna - čas', 'Default' => '', 'Null' => true, 'NotInList' => true),
     
    9293        'ChangeReplaceId' => array('Type' => 'TService', 'Caption' => 'Změna - položka', 'Default' => '', 'Null' => true),
    9394        'CustomerRel' => array('Type' => 'TServiceCustomerRelListService', 'Caption' => 'Placení zákazníky', 'Default' => ''),
     95        'TvRel' => array('Type' => 'TServiceTvRelListService', 'Caption' => 'TV kanály', 'Default' => ''),
    9496      ),
    9597    ));
     
    194196      'Type' => 'ManyToOne',
    195197      'Table' => 'ServiceCustomerRel',
     198      'Id' => 'Id',
     199      'Ref' => 'Service',
     200      'Filter' => '1',
     201    ));
     202    $this->System->FormManager->RegisterFormType('TServiceTvRelListService', array(
     203      'Type' => 'ManyToOne',
     204      'Table' => 'ServiceTvRel',
    196205      'Id' => 'Id',
    197206      'Ref' => 'Service',
     
    338347    $Desc->AddBoolean('Blocked');
    339348    $Desc->AddInteger('PayDay');
     349    $Desc->AddDateTime('PaymentEmailTime');
    340350    $Desc->AddChangeAction();
    341351    return $Desc;
Note: See TracChangeset for help on using the changeset viewer.