Changeset 449


Ignore:
Timestamp:
Oct 17, 2012, 8:58:15 PM (12 years ago)
Author:
chronos
Message:
  • Přidáno: Definice tabulek Dokladové řady a Finanční roky.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/form_classes.php

    r447 r449  
    22
    33$FormClasses = array(
     4  'DocumentLine' => array(
     5    'Title' => 'Dokladové řady',
     6    'Table' => 'DocumentLine',
     7    'DefaultSortColumn' => 'Name',
     8    'Items' => array(
     9      'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),       
     10      'Shortcut' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''),       
     11      'Sequence' => array('Type' => 'TDocumentLineSequenceListLine', 'Caption' => 'Čísleníky', 'Default' => ''),       
     12    ),
     13  ),
     14  'DocumentLineSequence' => array(
     15    'Title' => 'Čísleníky dokladových řad',
     16    'Table' => 'DocumentLineSequence',
     17    'DefaultSortColumn' => 'Id',
     18    'Items' => array(
     19      'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),       
     20      'FinanceYear' => array('Type' => 'TFinanceYear', 'Caption' => 'Účetní rok', 'Default' => ''),       
     21      'NextNumber' => array('Type' => 'Integer', 'Caption' => 'Další číslo', 'Default' => ''),       
     22      'YearPrefix' => array('Type' => 'Boolean', 'Caption' => 'Rok jako předpona', 'Default' => ''),       
     23    ),
     24  ),
     25  'FinanceYear' => array(
     26    'Title' => 'Účetní roky',
     27    'Table' => 'FinanceYear',
     28    'DefaultSortColumn' => 'Year',
     29    'Items' => array(
     30      'Year' => array('Type' => 'Integer', 'Caption' => 'Rok', 'Default' => ''),       
     31      'DateStart' => array('Type' => 'Date', 'Caption' => 'První den', 'Default' => ''),       
     32      'DateEnd' => array('Type' => 'Date', 'Caption' => 'Poslední den', 'Default' => ''),       
     33      'Sequence' => array('Type' => 'TDocumentLineSequenceListYear', 'Caption' => 'Čísleníky', 'Default' => ''),       
     34    ),
     35  ),
    436  'TV' => array(
    537    'Title' => 'TV kanály',
     
    730762    'Filter' => '1',
    731763  ),   
     764  'TDocumentLine' => array(
     765    'Type' => 'Reference',
     766    'Table' => 'DocumentLine',
     767    'Id' => 'Id',
     768    'Name' => 'Name',
     769    'Filter' => '1',
     770  ),   
     771  'TFinanceYear' => array(
     772    'Type' => 'Reference',
     773    'Table' => 'FinanceYear',
     774    'Id' => 'Id',
     775    'Name' => 'Year',
     776    'Filter' => '1',
     777  ),
     778  'TDocumentLineSequenceListYear' => array(
     779    'Type' => 'ManyToOne',
     780    'Table' => 'DocumentLineSequence',
     781    'Id' => 'Id',
     782    'Ref' => 'FinanceYear',
     783    'Filter' => '1',
     784  ),
     785  'TDocumentLineSequenceListLine' => array(
     786    'Type' => 'ManyToOne',
     787    'Table' => 'DocumentLineSequence',
     788    'Id' => 'Id',
     789    'Ref' => 'DocumentLine',
     790    'Filter' => '1',
     791  ),
     792   
    732793);
    733794
Note: See TracChangeset for help on using the changeset viewer.