Ignore:
Timestamp:
Apr 14, 2013, 9:04:17 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Finance přepracovány na aplikační modul. Upraveny URL adresy stránek.
  • Přidáno: Slučování registrovaných stránek do stromu stránek. Registgrovat lze nyní také pomocí cesty jako pole adresářů URL.
File:
1 edited

Legend:

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

    r505 r521  
    11<?php
     2
     3include_once(dirname(__FILE__).'/Overview.php');
     4include_once(dirname(__FILE__).'/Consumption.php');
     5include_once(dirname(__FILE__).'/Devices.php');
     6include_once(dirname(__FILE__).'/Bill.php');
     7include_once(dirname(__FILE__).'/Services.php');
     8include_once(dirname(__FILE__).'/Customers.php');
     9include_once(dirname(__FILE__).'/MonthlyOverall.php');
     10include_once(dirname(__FILE__).'/Manage.php');
     11include_once(dirname(__FILE__).'/UserState.php');
     12include_once(dirname(__FILE__).'/Import.php');
     13include_once(dirname(__FILE__).'/Zivnost.php');
     14include_once(dirname(__FILE__).'/finance.php');
    215
    316class ModuleFinance extends AppModule
     
    2538  {
    2639    parent::Start();
     40    $this->System->RegisterPage('finance', 'PageFinance');
     41    $this->System->RegisterPage(array('finance', 'spotreba'), 'PageFinanceConsumption');
     42    $this->System->RegisterPage(array('finance', 'zarizeni'), 'PageFinanceDeviceList');
     43    $this->System->RegisterPage(array('finance', 'sluzby'), 'PageFinanceServices');
     44    $this->System->RegisterPage(array('finance', 'mesicni-prehledy'), 'PageFinanceMonthlyOverall');
     45    $this->System->RegisterPage(array('finance', 'zakaznici'), 'PageFinanceCustomers');
     46    $this->System->RegisterPage(array('finance', 'sprava'), 'PageFinanceManage');
     47    $this->System->RegisterPage(array('finance', 'platby'), 'PageFinanceUserState');
     48    $this->System->RegisterPage(array('finance', 'import'), 'PageFinanceImportPayment');   
     49    $this->System->RegisterPage(array('finance', 'zivnost'), 'PageFinanceTaxFiling');   
    2750  } 
    2851 
Note: See TracChangeset for help on using the changeset viewer.