Changeset 874 for trunk/Modules/Finance/Import.php
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Import.php
r873 r874 9 9 function Show() 10 10 { 11 if (!$this->System->User->CheckPermission('Finance', 'SubjectList')) return ('Nemáte oprávnění');11 if (!$this->System->User->CheckPermission('Finance', 'SubjectList')) return 'Nemáte oprávnění'; 12 12 if (array_key_exists('Operation', $_GET)) 13 13 { 14 if ($_GET['Operation'] == 'prepare') return ($this->Prepare());15 else if ($_GET['Operation'] == 'insert') return ($this->Insert());14 if ($_GET['Operation'] == 'prepare') return $this->Prepare(); 15 else if ($_GET['Operation'] == 'insert') return $this->Insert(); 16 16 else echo('Neplatná akce'); 17 17 } else … … 22 22 $Output .= '<input type="submit" value="Analyzovat"/>'; 23 23 $Output .= '</form>'; 24 return ($Output);24 return $Output; 25 25 } 26 26 } … … 121 121 $Output .= '<input type="submit" value="Zpracovat"/></form>'; 122 122 } 123 return ($Output);123 return $Output; 124 124 } 125 125 … … 156 156 $this->System->ModuleManager->Modules['Log']->NewRecord('Finance', 'NewPaymentInserted'); 157 157 } 158 return ($Output);158 return $Output; 159 159 } 160 160 }
Note:
See TracChangeset
for help on using the changeset viewer.