Changeset 887 for trunk/Modules/Finance/Trade.php
- Timestamp:
- Nov 20, 2020, 12:08:12 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Trade.php
r874 r887 3 3 class PageFinanceTaxFiling extends Page 4 4 { 5 var $FullTitle = 'Daňová evidence';6 var $ShortTitle = 'Daňová evidence';7 var $ParentClass = 'PageFinance';8 5 var $StartEvidence = 0; 6 7 function __construct(System $System) 8 { 9 parent::__construct($System); 10 $this->FullTitle = 'Daňová evidence'; 11 $this->ShortTitle = 'Daňová evidence'; 12 $this->ParentClass = 'PageFinance'; 13 } 9 14 10 15 function GetTimePeriodBalance($StartTime, $EndTime) … … 340 345 function ShowSubjectAccount() 341 346 { 347 $Finance = &ModuleFinance::Cast($this->System->GetModule('Finance'))->Finance; 348 342 349 $Output = '<table style="width: 100%"><tr><td style="vertical-align: top;">'; 343 350 $Output .= '<strong>Výpis příjmů/výdajů</strong>'; … … 424 431 } 425 432 426 function Show() 427 { 428 if (! $this->System->User->CheckPermission('Finance', 'TradingStatus'))433 function Show(): string 434 { 435 if (!ModuleUser::Cast($this->System->GetModule('User'))->User->CheckPermission('Finance', 'TradingStatus')) 429 436 return 'Nemáte oprávnění'; 430 431 $Finance = &$this->System->Modules['Finance'];432 437 433 438 $Output = '';
Note:
See TracChangeset
for help on using the changeset viewer.