Ignore:
Timestamp:
Mar 12, 2013, 10:58:10 PM (11 years ago)
Author:
chronos
Message:
  • Přidáno: Akce pro import plateb přes API nebo ze souboru z tabulky "Bankovní účty" ze správy dat.
  • Přidáno: Prozatím zkoušení importu z Fio a Poštovní spořitelny.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Form/Types/OneToMany.php

    r501 r502  
    77  function OnView($Item)
    88  {
    9     $Type = $this->System->Type->TypeDefinitionList[$Item['Type']];
     9    $Type = $this->FormManager->Type->TypeDefinitionList[$Item['Type']];
    1010    if($Item['Value'] != '')
    1111    {
    1212      if(array_key_exists('View', $Type['Parameters'])) $Table = $Type['Parameters']['View'];
    1313        else $Table = $Type['Parameters']['Table'];
    14       $DbResult = $this->System->Database->query('SELECT '.$Type['Parameters']['Name'].
     14      $DbResult = $this->Database->query('SELECT '.$Type['Parameters']['Name'].
    1515        ' AS `Name` FROM '.$Table.' WHERE `'.
    1616        $Type['Parameters']['Id'].'`='.$Item['Value']);
Note: See TracChangeset for help on using the changeset viewer.