Ignore:
Timestamp:
Dec 30, 2020, 11:52:07 PM (3 years ago)
Author:
chronos
Message:
  • Added: More modules models installation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/FormClasses.php

    r887 r891  
    2121      'Operation' => array('Type' => 'TFinanceOperation', 'Caption' => 'Platba', 'Default' => ''),
    2222    ),
    23   ),
    24   'DocumentLine' => array(
    25     'Title' => 'Dokladové řady',
    26     'Table' => 'DocumentLine',
    27     'DefaultSortColumn' => 'Name',
    28     'Items' => array(
    29       'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
    30       'Shortcut' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''),
    31       'Yearly' => array('Type' => 'Boolean', 'Caption' => 'Ročně', 'Default' => 0),
    32       'Sequence' => array('Type' => 'TDocumentLineSequenceListLine', 'Caption' => 'Čísleníky', 'Default' => ''),
    33       'Codes' => array('Type' => 'TDocumentLineCodeList', 'Caption' => 'Kódy', 'Default' => ''),
    34       'Operations' => array('Type' => 'TFinanceOperationGroupListDocumentLine', 'Caption' => 'Skupiny finančních operací', 'Default' => ''),
    35       'Invoices' => array('Type' => 'TFinanceInvoiceGroupListDocumentLine', 'Caption' => 'Skupiny faktur', 'Default' => ''),
    36     ),
    37   ),
    38   'DocumentLineSequence' => array(
    39     'Title' => 'Čísleníky dokladových řad',
    40     'Table' => 'DocumentLineSequence',
    41     'DefaultSortColumn' => 'Id',
    42     'Items' => array(
    43       'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),
    44       'FinanceYear' => array('Type' => 'TFinanceYear', 'Caption' => 'Účetní rok', 'Default' => ''),
    45       'NextNumber' => array('Type' => 'Integer', 'Caption' => 'Další číslo', 'Default' => '1'),
    46       'YearPrefix' => array('Type' => 'Boolean', 'Caption' => 'Rok jako přípona', 'Default' => '1'),
    47     ),
    48   ),
    49   'DocumentLineCode' => array(
    50     'Title' => 'Kód dokladových řad',
    51     'Table' => 'DocumentLineCode',
    52     'DefaultSortColumn' => 'Name',
    53     'Items' => array(
    54       'DocumentLine' => array('Type' => 'TDocumentLine', 'Caption' => 'Dokladová řada', 'Default' => ''),
    55       'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''),
    56     ),
    57   ),
    58   'FinanceYear' => array(
    59     'Title' => 'Účetní roky',
    60     'Table' => 'FinanceYear',
    61     'DefaultSortColumn' => 'Year',
    62     'DefaultSortOrder' => 1,
    63     'Items' => array(
    64       'Year' => array('Type' => 'Integer', 'Caption' => 'Rok', 'Default' => ''),
    65       'DateStart' => array('Type' => 'Date', 'Caption' => 'První den', 'Default' => ''),
    66       'DateEnd' => array('Type' => 'Date', 'Caption' => 'Poslední den', 'Default' => ''),
    67       'Closed' => array('Type' => 'Boolean', 'Caption' => 'Uzavřen', 'Default' => 0),
    68       'Sequence' => array('Type' => 'TDocumentLineSequenceListYear', 'Caption' => 'Čísleníky', 'Default' => ''),
    69     ),
    70     //'AfterInsert' => array($this, 'AfterInsertFinanceYear'),
    7123  ),
    7224  'FinanceYearReport' => array(
     
    178130    'Filter' => '1',
    179131  ),
    180   'TDocumentLine' => array(
    181     'Type' => 'Reference',
    182     'Table' => 'DocumentLine',
    183     'Id' => 'Id',
    184     'Name' => 'Name',
    185     'Filter' => '1',
    186   ),
    187   'TDocumentLineCode' => array(
    188     'Type' => 'Reference',
    189     'Table' => 'DocumentLineCode',
    190     'Id' => 'Id',
    191     'Name' => 'Name',
    192     'Filter' => '1',
    193   ),
    194132        'TStockSerialNumberListStock' => array(
    195133    'Type' => 'ManyToOne',
Note: See TracChangeset for help on using the changeset viewer.