Changeset 521 for trunk/Modules/Finance
- Timestamp:
- Apr 14, 2013, 9:04:17 PM (12 years ago)
- Location:
- trunk/Modules/Finance
- Files:
-
- 1 edited
- 12 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Consumption.php
r519 r521 1 1 <?php 2 2 3 include_once('../Common/Global.php'); 4 5 class FinanceConsumption extends Page 3 class PageFinanceConsumption extends Page 6 4 { 7 5 var $FullTitle = 'Spotřeba energie'; 8 6 var $ShortTitle = 'Spotřeba'; 7 var $ParentClass = 'PageFinance'; 9 8 10 9 function Show() … … 30 29 } 31 30 32 $System->AddModule(new FinanceConsumption());33 $System->Modules['FinanceConsumption']->GetOutput();34 35 31 ?> -
trunk/Modules/Finance/Customers.php
r519 r521 1 1 <?php 2 include_once('../Common/Global.php');3 2 4 class FinanceUserListextends Page3 class PageFinanceCustomers extends Page 5 4 { 6 var $FullTitle = 'Seznam účastníků sítě'; 7 var $ShortTitle = 'Seznam účastníků'; 5 var $FullTitle = 'Seznam zákazníků sítě'; 6 var $ShortTitle = 'Zákazníci'; 7 var $ParentClass = 'PageFinance'; 8 8 9 9 function Show() … … 79 79 } 80 80 81 $System->AddModule(new FinanceUserList());82 $System->Modules['FinanceUserList']->GetOutput();83 84 81 ?> -
trunk/Modules/Finance/Devices.php
r519 r521 1 1 <?php 2 2 3 include_once('../Common/Global.php'); 4 5 class FinanceDeviceListPage extends Page 3 class PageFinanceDeviceList extends Page 6 4 { 7 5 var $FullTitle = 'Zařízení sítě'; 8 6 var $ShortTitle = 'Zařízení'; 7 var $ParentClass = 'PageFinance'; 9 8 10 9 function Show() … … 35 34 } 36 35 37 $System->AddModule(new FinanceDeviceListPage());38 $System->Modules['FinanceDeviceListPage']->GetOutput()39 40 36 ?> -
trunk/Modules/Finance/Finance.php
r505 r521 1 1 <?php 2 3 include_once(dirname(__FILE__).'/Overview.php'); 4 include_once(dirname(__FILE__).'/Consumption.php'); 5 include_once(dirname(__FILE__).'/Devices.php'); 6 include_once(dirname(__FILE__).'/Bill.php'); 7 include_once(dirname(__FILE__).'/Services.php'); 8 include_once(dirname(__FILE__).'/Customers.php'); 9 include_once(dirname(__FILE__).'/MonthlyOverall.php'); 10 include_once(dirname(__FILE__).'/Manage.php'); 11 include_once(dirname(__FILE__).'/UserState.php'); 12 include_once(dirname(__FILE__).'/Import.php'); 13 include_once(dirname(__FILE__).'/Zivnost.php'); 14 include_once(dirname(__FILE__).'/finance.php'); 2 15 3 16 class ModuleFinance extends AppModule … … 25 38 { 26 39 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'); 27 50 } 28 51 -
trunk/Modules/Finance/Import.php
r519 r521 1 1 <?php 2 2 3 include_once('../Common/Global.php'); 4 5 class FinanceImportPayment extends Page 3 class PageFinanceImportPayment extends Page 6 4 { 7 5 var $FullTitle = 'Import plateb'; 8 6 var $ShortTitle = 'Import plateb'; 7 var $ParentClass = 'PageFinance'; 9 8 10 9 function Show() … … 146 145 } 147 146 148 $System->AddModule(new FinanceImportPayment());149 $System->Modules['FinanceImportPayment']->GetOutput();150 151 147 ?> -
trunk/Modules/Finance/Manage.php
r519 r521 1 1 <?php 2 2 3 include_once(dirname(__FILE__).'/../Common/Global.php'); 4 5 class FinanceManagePage extends Page 3 class PageFinanceManage extends Page 6 4 { 7 5 var $FullTitle = 'Správa financí'; 8 6 var $ShortTitle = 'Správa financí'; 9 7 var $ParentClass = 'PageFinance'; 8 10 9 function Show() 11 10 { … … 74 73 $Output .= '<a href="?Operation=ShowMonthlyPayment">Měsíční vyúčtování</a><br />'; 75 74 //$Output .= '<a href="clenove.php">Seznam členů</a><br />'; 76 $Output .= '<a href=" zivnost.php">Živnost</a><br />';75 $Output .= '<a href="'.$this->System->Link('/finance/zivnost/').'">Živnost</a><br />'; 77 76 $Output .= '<a href="?Operation=GenerateBills">Generovat chybějící doklady</a><br />'; 78 $Output .= '<a href=" import.php">Import plateb</a><br />';77 $Output .= '<a href="'.$this->System->Link('/finance/import/').'">Import plateb</a><br />'; 79 78 } 80 79 return($Output); … … 632 631 } 633 632 634 $System->AddModule(new FinanceManagePage());635 $System->Modules['FinanceManagePage']->GetOutput();636 637 633 ?> -
trunk/Modules/Finance/MonthlyOverall.php
r519 r521 1 1 <?php 2 2 3 include_once('../Common/Global.php'); 4 5 class FinanceMonthlyOverallPage extends Page 3 class PageFinanceMonthlyOverall extends Page 6 4 { 7 5 var $FullTitle = 'Měsíční přehledy'; 8 6 var $ShortTitle = 'Měsíční přehledy'; 7 var $ParentClass = 'PageFinance'; 9 8 10 9 function Show() … … 33 32 } 34 33 35 $System->AddModule(new FinanceMonthlyOverallPage());36 $System->Modules['FinanceMonthlyOverallPage']->GetOutput();37 38 34 ?> -
trunk/Modules/Finance/Overview.php
r519 r521 1 1 <?php 2 2 3 include_once('../Common/Global.php'); 4 5 class FinanceOverview extends Page 3 class PageFinance extends Page 6 4 { 7 5 var $FullTitle = 'Přehled financování sítě'; … … 14 12 $Output = '<table><tr><td valign="top">'; 15 13 16 $Output .= '<a href=" monthly_overall.php">Měsíční přehledy</a><br />';17 $Output .= '<a href=" tarify.php">Tarify</a><br />';18 $Output .= '<a href=" zarizeni.php">Výpis zařízení</a><br />';19 if($this->System->Modules['User']->CheckPermission('Finance', 'SubjectList')) $Output .= '<a href="clenove.php">Seznam členů</a><br />';20 $Output .= '<a href="spotreba.php">Spotřeba energie</a><br />';21 $Output .= '<a href="'.$this->System-> Config['Web']['RootFolder'].'/aktuality/index.php?category=9">Investice v síti</a><br />';22 //$Output .= '<a href=" faktury/">Faktury za internet</a><br />';14 $Output .= '<a href="'.$this->System->Link('/finance/mesicni-prehledy/').'">Měsíční přehledy</a><br />'; 15 $Output .= '<a href="'.$this->System->Link('/finance/sluzby/').'">Přehled nabízených služeb</a><br />'; 16 $Output .= '<a href="'.$this->System->Link('/finance/zarizeni/').'">Výpis zařízení</a><br />'; 17 if($this->System->Modules['User']->CheckPermission('Finance', 'SubjectList')) 18 $Output .= '<a href="'.$this->System->Link('/finance/zakaznici/').'">Seznam zákazníků</a><br />'; 19 $Output .= '<a href="'.$this->System->Link('/finance/spotreba/').'">Spotřeba energie</a><br />'; 20 //$Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/aktuality/index.php?category=9">Investice v síti</a><br />'; 23 21 24 22 $Output .= '<br /><strong>Souhrn:</strong><br />'; … … 95 93 } 96 94 97 $System->AddModule(new FinanceOverview());98 $System->Modules['FinanceOverview']->GetOutput();99 100 95 ?> -
trunk/Modules/Finance/Services.php
r519 r521 1 1 <?php 2 2 3 include_once('../Common/Global.php'); 4 5 class FinanceTarrifsPage extends Page 3 class PageFinanceServices extends Page 6 4 { 7 5 var $FullTitle = 'Přehled tarifů'; 8 6 var $ShortTitle = 'Tarify'; 7 var $ParentClass = 'PageFinance'; 9 8 10 9 function TariffTable() … … 69 68 } 70 69 71 $System->AddModule(new FinanceTarrifsPage());72 $System->Modules['FinanceTarrifsPage']->GetOutput();73 74 70 ?> -
trunk/Modules/Finance/UserState.php
r519 r521 1 1 <?php 2 2 3 include_once('../Common/Global.php'); 4 5 class FinanceUserState extends Page 3 class PageFinanceUserState extends Page 6 4 { 7 5 var $FullTitle = 'Stav financí účastníka'; 8 6 var $ShortTitle = 'Stav financí'; 7 var $ParentClass = 'PageFinance'; 9 8 10 9 function Show() … … 150 149 } 151 150 152 $System->AddModule(new FinanceUserState());153 $System->Modules['FinanceUserState']->GetOutput();154 155 151 ?> -
trunk/Modules/Finance/Zivnost.php
r519 r521 1 1 <?php 2 2 3 include_once('../Common/Global.php'); 4 5 class FinanceTaxFilingPage extends Page 3 class PageFinanceTaxFiling extends Page 6 4 { 7 5 var $FullTitle = 'Daňová evidence'; 8 6 var $ShortTitle = 'Daňová evidence'; 7 var $ParentClass = 'PageFinance'; 9 8 var $ExternalSubject = 96; 10 9 var $StartEvidence = 0; … … 376 375 } 377 376 378 $System->AddModule(new FinanceTaxFilingPage());379 $System->Modules['FinanceTaxFilingPage']->GetOutput();380 381 377 ?>
Note:
See TracChangeset
for help on using the changeset viewer.