Changeset 812 for trunk/Modules/Finance


Ignore:
Timestamp:
Mar 9, 2016, 8:36:25 AM (9 years ago)
Author:
chronos
Message:
  • Added: Setup also base DNS name.
Location:
trunk/Modules/Finance
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Finance/Finance.php

    r810 r812  
    567567      'Items' => array(
    568568        'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),
    569         'BillCode' => array('Type' => 'TDocumentLineCode', 'Caption' => 'Kód', 'Default' => ''),
     569        'BillCode' => array('Type' => 'TDocumentLineCode', 'Caption' => 'Kód', 'Default' => '', 'Null' => true),
    570570        'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
    571571        'ValidFrom' => array('Type' => 'Date', 'Caption' => 'Platnost od', 'Default' => ''),
  • trunk/Modules/Finance/Import.php

    r747 r812  
    6161    //print_r($Data);
    6262
    63     if($Header != $Data[0]) $Output = 'Nekompatibilní struktura CSV';
     63    if($Header != $Data[0]) {
     64      $Output = 'Nekompatibilní struktura CSV';
     65      print_r($Header);
     66      print_r($Data[0]);
     67    }
    6468    else
    6569    {
Note: See TracChangeset for help on using the changeset viewer.