Changeset 874 for trunk/Modules/FinanceBankAPI
- Timestamp:
- Apr 6, 2020, 11:56:19 PM (5 years ago)
- Location:
- trunk/Modules/FinanceBankAPI
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/FileImport.php
r873 r874 89 89 $Import->PairOperations(); 90 90 } 91 return ($Output);91 return $Output; 92 92 } 93 93 … … 95 95 { 96 96 if (!$this->System->User->CheckPermission('Finance', 'SubjectList')) 97 return ('Nemáte oprávnění');97 return 'Nemáte oprávnění'; 98 98 99 99 $Output = $this->Import($_GET['i']); 100 return ($Output);100 return $Output; 101 101 } 102 102 } … … 111 111 { 112 112 $Output = ''; 113 if (!$this->System->User->CheckPermission('Finance', 'SubjectList')) return ('Nemáte oprávnění');113 if (!$this->System->User->CheckPermission('Finance', 'SubjectList')) return 'Nemáte oprávnění'; 114 114 if (array_key_exists('Operation', $_GET)) 115 115 { … … 118 118 else $Output .= 'Neplatná akce'; 119 119 } else $Output .= $this->ShowForm(); 120 return ($Output);120 return $Output; 121 121 } 122 122 … … 128 128 $Form->Values['BankAccount'] = $_GET['id']; 129 129 $Output = $Form->ShowEditForm(); 130 return ($Output);130 return $Output; 131 131 } 132 132 … … 153 153 $Output .= $Import->ImportFile($File->GetContent(), $File->GetExt()); 154 154 155 return ($Output);155 return $Output; 156 156 } 157 157 … … 187 187 $this->System->ModuleManager->Modules['Log']->NewRecord('Finance', 'NewPaymentInserted'); 188 188 } 189 return ($Output);189 return $Output; 190 190 } 191 191 } -
trunk/Modules/FinanceBankAPI/FinanceBankAPI.php
r873 r874 76 76 $DbRow = $DbResult->fetch_row(); 77 77 $Output = 'Nezpárovaných plateb: '.$DbRow['0'].'<br/>'; 78 return ($Output);78 return $Output; 79 79 } 80 80 … … 94 94 'presetBankAccount' => $Item['BankAccount'], 95 95 'presetGroup' => $FinanceGroup['Id']); 96 return ($Preset);96 return $Preset; 97 97 } 98 98 } … … 112 112 $Output .= $Page->Import($DbRow['Id']); 113 113 } 114 return ($Output);114 return $Output; 115 115 } 116 116 } -
trunk/Modules/FinanceBankAPI/Fio.php
r873 r874 55 55 if ($GPCLine != NULL) $Result[] = $GPCLine; 56 56 } 57 return ($Result);57 return $Result; 58 58 } 59 59 } -
trunk/Modules/FinanceBankAPI/FioAPI.php
r873 r874 7 7 function RemoveComma($Text) 8 8 { 9 if ((mb_strlen($Text) >= 2) and ($Text[0] == '"') and (mb_substr($Text, -1, 1) == '"')) return (mb_substr($Text, 1, -1));10 else return ($Text);9 if ((mb_strlen($Text) >= 2) and ($Text[0] == '"') and (mb_substr($Text, -1, 1) == '"')) return mb_substr($Text, 1, -1); 10 else return $Text; 11 11 } 12 12 … … 97 97 } 98 98 } 99 return ($Result);99 return $Result; 100 100 } 101 101 } -
trunk/Modules/FinanceBankAPI/GPC.php
r873 r874 53 53 $GPCLine = NULL; 54 54 55 return ($GPCLine);55 return $GPCLine; 56 56 } 57 57 } -
trunk/Modules/FinanceBankAPI/ImportFio.php
r873 r874 44 44 $this->Database->update('FinanceBankAccount', 'Id='.$this->BankAccount['Id'], 45 45 array('LastImportDate' => TimeToMysqlDate($PeriodEnd))); 46 return ($Output);46 return $Output; 47 47 } 48 48 }
Note:
See TracChangeset
for help on using the changeset viewer.