Changeset 793 for trunk/Modules/Finance


Ignore:
Timestamp:
Feb 3, 2016, 10:57:54 AM (9 years ago)
Author:
chronos
Message:
  • Fixed: Error using $System global variable instead of class fields.
Location:
trunk/Modules/Finance
Files:
2 edited

Legend:

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

    r792 r793  
    508508        'TopTariffPrice' => array('Type' => 'Integer', 'Caption' => 'Nejvyšší cena tarifu', 'Default' => '0', 'Suffix' => 'Kč'),
    509509        'ChangeAction' => array('Type' => 'TActionEnum', 'Caption' => 'Změna - akce', 'Default' => '', 'Null' => true),
    510         'ChangeTime' => array('Type' => 'DateTime', 'Caption' => 'Změna - čas', 'Default' => '', 'Null' => true),
    511         'ChangeReplaceId' => array('Type' => 'TFinanceCharge', 'Caption' => 'Změna - položka', 'Default' => '0', 'Null' => true),
     510        'ChangeTime' => array('Type' => 'DateTime', 'Caption' => 'Změna - čas', 'Default' => '', 'Null' => true, 'NotInList' => true),
     511        'ChangeReplaceId' => array('Type' => 'TFinanceCharge', 'Caption' => 'Změna - položka', 'Default' => '0', 'Null' => true, 'NotInList' => true),
    512512      ),
    513513    ));
  • trunk/Modules/Finance/Manage.php

    r786 r793  
    199199        {
    200200          $TimePeriodText = date('j.n.Y', $Period['From']).' - '.date('j.n.Y', $Period['To']);
    201           $Output .= $TimePeriodText.': '.$MonthlyTotal.' * '.$Period['MonthCount'].' = '.$PayPerPeriod.'<br />';
     201          $Output .= $TimePeriodText.': '.$MonthlyTotal.' * '.$Period['MonthCount'].' = '.$PayPerPeriod;
    202202          $this->InsertInvoice($Member['Subject'], time(), time() + 3600 * 24 * INVOICE_DUE_DAYS,
    203             $InvoiceItems, $FinanceGroup, $Period['From'],
    204             $Period['To']);
     203            $InvoiceItems, $FinanceGroup, $Period['From'], $Period['To']);
    205204
    206205          $Output .= $this->SendPaymentEmail($Member['Id']);
Note: See TracChangeset for help on using the changeset viewer.