Changeset 432


Ignore:
Timestamp:
Oct 11, 2012, 9:52:08 PM (12 years ago)
Author:
chronos
Message:
  • Přidáno: Definice dalších tabulek pro Správu dat.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/form_classes.php

    r431 r432  
    22
    33$FormClasses = array(
     4  'Country' => array(
     5    'Title' => 'Země',
     6    'Table' => 'Country',
     7    'DefaultSortColumn' => 'Name',
     8    'Items' => array(
     9      'Name' => array('Type' => 'String', 'Caption' => 'Jméno', 'Default' => ''),
     10    ),
     11  ),
     12  'User' => array(
     13    'Title' => 'Uživatelé',
     14    'Table' => 'User',
     15    'DefaultSortColumn' => 'Name',
     16    'Items' => array(
     17      'Login' => array('Type' => 'String', 'Caption' => 'Přihlašovací jméno', 'Default' => ''),
     18      'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''),
     19      'Password' => array('Type' => 'Password', 'Caption' => 'Heslo', 'Default' => ''),
     20      'Email' => array('Type' => 'String', 'Caption' => 'E-mail', 'Default' => ''),
     21      'LastIP' => array('Type' => 'String', 'Caption' => 'Poslední IP adresy', 'Default' => ''),
     22      'LastLoginTime' => array('Type' => 'DateTime', 'Caption' => 'Poslední čas přihlášení', 'Default' => ''),
     23      'RegistrationTime' => array('Type' => 'DateTime', 'Caption' => 'Čas registrace', 'Default' => ''),
     24      'Locked' => array('Type' => 'Boolean', 'Caption' => 'Uzamčen', 'Default' => ''),
     25      'ICQ' => array('Type' => 'String', 'Caption' => 'ICQ', 'Default' => ''),
     26      'PhoneNumber' => array('Type' => 'String', 'Caption' => 'Telefon', 'Default' => ''),
     27    ),
     28  ),
     29  'Subject' => array(
     30    'Title' => 'Subjekty',
     31    'Table' => 'Subject',
     32    'DefaultSortColumn' => 'Name',
     33    'Items' => array(
     34      'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''),
     35      'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => ''),
     36      'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => ''),
     37      'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => ''),
     38      'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''),
     39      'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''),
     40      'MapPositionX' => array('Type' => 'Float', 'Caption' => 'Pozice X', 'Default' => '0'),
     41      'MapPositionY' => array('Type' => 'Float', 'Caption' => 'Pozice Y', 'Default' => ''),
     42      'WWW' => array('Type' => 'Hyperlink', 'Caption' => 'WWW', 'Default' => ''),
     43      'Note' => array('Type' => 'String', 'Caption' => 'Poznámka', 'Default' => ''),
     44    ),
     45  ),
    446  'NetworkDomainAlias' => array(
    547    'Title' => 'Alias domény',
     
    99141    'Items' => array(
    100142      'Time' => array('Type' => 'DateTime', 'Caption' => 'Čas realizace', 'Default' => ''),
    101       'Subject' => array('Type' => 'TSubject', 'Caption' => 'Zákazník', 'Default' => ''),
     143      'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
    102144      'Cash' => array('Type' => 'Boolean', 'Caption' => 'Hotově', 'Default' => ''),
    103145      'Taxable' => array('Type' => 'Boolean', 'Caption' => 'Zdanitelné', 'Default' => ''),
     
    108150      'BankAccount' => array('Type' => 'TFinanceBankAccount', 'Caption' => 'Účet', 'Default' => ''),
    109151      'Treasury' => array('Type' => 'TFinanceTreasury', 'Caption' => 'Pokladna', 'Default' => ''),
     152    ),
     153  ),
     154  'FinanceClaimsLiabilities' => array(
     155    'Title' => 'Závazky a pohledávky',
     156    'Table' => 'FinanceClaimsLiabilities',
     157    'DefaultSortColumn' => 'TimeCreation',
     158    'Items' => array(
     159      'TimeCreation' => array('Type' => 'DateTime', 'Caption' => 'Čas vytvoření', 'Default' => ''),
     160      'TimeDue' => array('Type' => 'DateTime', 'Caption' => 'Čas splatnosti', 'Default' => ''),
     161      'TimePayment' => array('Type' => 'DateTime', 'Caption' => 'Čas zaplacení', 'Default' => ''),
     162      'Subject' => array('Type' => 'TSubject', 'Caption' => 'Subjekt', 'Default' => ''),
     163      'BillCode' => array('Type' => 'String', 'Caption' => 'Označení', 'Default' => ''),
     164      'Value' => array('Type' => 'Integer', 'Caption' => 'Částka', 'Default' => '0', 'Unit' => 'Kč'),
     165      'Text' => array('Type' => 'String', 'Caption' => 'Popis', 'Default' => ''),
     166      'Bill' => array('Type' => 'TFinanceBill', 'Caption' => 'Doklad', 'Default' => ''),
    110167    ),
    111168  ),
     
    356413    'Filter' => '1',
    357414  ),
     415  'TFinanceBill' => array(
     416    'Type' => 'Reference',
     417    'Table' => 'FinanceBills',
     418    'Id' => 'Id',
     419    'Name' => 'Id',
     420    'Filter' => '1',
     421  ),
    358422);
    359423
  • trunk/sql/updates/430.sql

    r430 r432  
    3636(6, 'Závazky a pohledávky', 2, 'FinanceClaimsLiabilities'),
    3737(7, 'Typ zařízení', 1, 'NetworkDeviceType'),
    38 (8, 'Typ rozhraní', 1, 'NetworkInterfaceType');
     38(8, 'Typ rozhraní', 1, 'NetworkInterfaceType'),
     39(9, 'Doménové aliasy', 1, 'NetworkDomainAlias'),
     40(10, 'Bankovní účty', 2, 'FinanceBankAccount'),
     41(11, 'Pokladny', 2, 'FinanceTreasury'),
     42(12, 'Obecné', NULL, ''),
     43(13, 'Uživatelé', 12, 'User'),
     44(14, 'Subjekty', 12, 'Subject'),
     45(15, 'Země', 12, 'Country');
    3946
    4047ALTER TABLE `ISMenuItem`
Note: See TracChangeset for help on using the changeset viewer.