Changeset 505 for trunk/Modules/FinanceBankAPI
- Timestamp:
- Apr 1, 2013, 12:29:37 AM (12 years ago)
- Location:
- trunk/Modules/FinanceBankAPI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/FinanceBankAPI/FioDemo.php
r500 r505 4 4 5 5 $Fio = new FioAPI(); 6 $Fio->Token = ' ';6 $Fio->Token = 'YEEd9LlZ5SJ5VcxFcdbAwCji6UTtxve2ns5sClfCbii8Taq63uP7JNsa7OeN1Oum'; 7 7 $Records = $Fio->Import(time() - 3600 * 24 * 31 * 2, time()); 8 8 //print_r($Records); -
trunk/Modules/FinanceBankAPI/ImportFio.php
r502 r505 27 27 if($Record['Type'] == GPC_TYPE_ITEM) 28 28 { 29 $this->Database->insert('FinanceBankImport', array('Time' => $Record['DueDate'],30 31 32 33 29 $this->Database->insert('FinanceBankImport', array('Time' => TimeToMysqlDate($Record['DueDate']), 30 'BankAccount' => $this->BankAccount, 'Value' => $Record['Value'], 31 'SpecificSymbol' => $Record['SpecificSymbol'], 'VariableSymbol' => $Record['VariableSymbol'], 32 'ConstantSymbol' => $Record['ConstantSymbol'], 'Currency' => $this->Currency, 33 )); 34 34 echo('<td>'.$Record['OffsetAccount'].'</td>'); 35 35 echo('<td>'.$Record['BankCode'].'</td>');
Note:
See TracChangeset
for help on using the changeset viewer.