Changeset 715 for trunk/Modules/FinanceBankAPI
- Timestamp:
- Jan 1, 2015, 2:18:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/ImportFio.php
r628 r715 27 27 if($DbResult->num_rows == 0) 28 28 { 29 $Output .= '<tr>';29 $Output .= '<tr>'; 30 30 $this->Database->insert('FinanceBankImport', array('Time' => TimeToMysqlDate($Record['Date']), 31 31 'BankAccount' => $this->BankAccount['Id'], 'Value' => $Record['Value'], … … 34 34 'Identification' => $Record['ID'], 'AccountNumber' => $Record['OffsetAccount'], 35 35 'BankCode' => $Record['BankCode'], 'Description' => $Record['Type'], 'OffsetAccountName' => $Record['UserIdent'])); 36 $Output .= '<td>'.$Record['OffsetAccount'].'</td>'; 37 $Output .= '<td>'.$Record['BankCode'].'</td>'; 38 $Output .= '<td>'.$Record['UserIdent'].'</td>'; 39 $Output .= '</tr>'; 36 $Output .= '<td>'.$Record['OffsetAccount'].'</td>'; 37 $Output .= '<td>'.$Record['BankCode'].'</td>'; 38 $Output .= '<td>'.$Record['UserIdent'].'</td>'; 39 $Output .= '<td>'.$Record['Value'].'</td>'; 40 $Output .= '</tr>'; 40 41 } 41 42 } 42 43 $Output .= '</table>'; 43 $this->Database->update('FinanceBankAccount', 'Id='.$this->BankAccount['Id'], array('LastImportDate' => TimeToMysqlDate($PeriodEnd))); 44 $this->Database->update('FinanceBankAccount', 'Id='.$this->BankAccount['Id'], 45 array('LastImportDate' => TimeToMysqlDate($PeriodEnd))); 44 46 return($Output); 45 47 }
Note:
See TracChangeset
for help on using the changeset viewer.