Changeset 628
- Timestamp:
- Jan 2, 2014, 1:20:35 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/FormClasses.php
r627 r628 62 62 'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''), 63 63 'FinanceYear' => array('Type' => 'TFinanceYear', 'Caption' => 'Účetní rok', 'Default' => ''), 64 'NextNumber' => array('Type' => 'Integer', 'Caption' => 'Další číslo', 'Default' => ' '),65 'YearPrefix' => array('Type' => 'Boolean', 'Caption' => 'Rok jako př edpona', 'Default' => ''),64 'NextNumber' => array('Type' => 'Integer', 'Caption' => 'Další číslo', 'Default' => '1'), 65 'YearPrefix' => array('Type' => 'Boolean', 'Caption' => 'Rok jako přípona', 'Default' => '1'), 66 66 'Operations' => array('Type' => 'TFinanceOperationListDocumentLine', 'Caption' => 'Finanční operace', 'Default' => ''), 67 67 'Invoices' => array('Type' => 'TFinanceInvoiceListDocumentLine', 'Caption' => 'Faktury', 'Default' => ''), … … 79 79 'Sequence' => array('Type' => 'TDocumentLineSequenceListYear', 'Caption' => 'Čísleníky', 'Default' => ''), 80 80 ), 81 //'AfterInsert' => array($this, 'AfterInsertFinanceYear'), 81 82 ), 82 83 'Language' => array( -
trunk/Application/Version.php
r627 r628 1 1 <?php 2 2 3 $Revision = 62 7; // Subversion revision3 $Revision = 628; // Subversion revision 4 4 $DatabaseRevision = 627; // SQL structure revision 5 5 $ReleaseTime = mktime(0, 0, 0, 1, 2, 2014); -
trunk/Modules/Finance/Finance.php
r627 r628 165 165 $DbResult = $this->Database->select('FinanceYear', '*', '1 ORDER BY `Year` DESC LIMIT 1'); 166 166 } else $DbResult = $this->Database->select('FinanceYear', '*', '`Year`='.$FinanceYear); 167 echo('rok:'.$FinanceYear.' '.$DbResult->num_rows);168 167 if($DbResult->num_rows == 0) throw new Exception('Rok '.$FinanceYear.' nenalezen'); 169 168 $FinanceYear = $DbResult->fetch_assoc(); -
trunk/Modules/FinanceBankAPI/FileImport.php
r553 r628 28 28 while($DbRow = $DbResult->fetch_assoc()) 29 29 { 30 echo($DbRow['Id'].',');31 30 if(is_numeric($DbRow['VariableSymbol'])) 32 31 { -
trunk/Modules/FinanceBankAPI/FioAPI.php
r550 r628 31 31 $RequestURL = '/ib_api/rest/periods/'.$this->Token.'/'. 32 32 date('Y-m-d', $TimeFrom).'/'.date('Y-m-d', $TimeTo).'/transactions.'.$this->Format; 33 echo($RequestURL);34 33 $Response = file_get_contents('https://www.fio.cz'.$RequestURL); 35 34 if($Response == FALSE) … … 38 37 } else 39 38 { 40 echo($Response);41 39 if($this->Format == 'gpc') $Response = iconv('windows-1250', $this->Encoding, $Response); 42 40 $Response = explode("\n", $Response); -
trunk/Modules/FinanceBankAPI/ImportFio.php
r551 r628 13 13 $PeriodEnd = time(); 14 14 $Records = $Fio->Import($PeriodStart, $PeriodEnd); 15 print_r($Records);16 //die();17 15 $Output = '<table>'; 18 16 //$Output .= '<tr>'; -
trunk/Modules/IS/IS.php
r627 r628 167 167 $this->Values = $Class->$Method($Form); 168 168 } 169 $Form->Validate(); 169 170 $Form->SaveValuesToDatabase(0); 170 171 $Id = $this->Database->insert_id; … … 173 174 $Output .= $this->SystemMessage('Přidání položky', 'Nová položka vytvořena'); 174 175 $Output .= $this->ShowView($Table, $Id); 176 if(array_key_exists('AfterInsert', $Form->Definition)) 177 { 178 $Class = $Form->Definition['AfterInsert'][0]; 179 $Method = $Form->Definition['AfterInsert'][1]; 180 $this->Values = $Class->$Method($Form); 181 } 175 182 //$this->Database->update($Table, 'Id='.$Id, 176 183 // array('UserCreate' => $this->System->User->User['Id'],
Note:
See TracChangeset
for help on using the changeset viewer.