Ignore:
Timestamp:
Nov 5, 2020, 8:53:58 PM (4 years ago)
Author:
chronos
Message:
  • Fixed: Not able to add new subject due undefined PayVAR column.
  • Fixed: Subject PSČ should be numerical field.
File:
1 edited

Legend:

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

    r874 r886  
    2222      'Items' => array(
    2323        'Id' => array('Type' => 'Integer', 'Caption' => 'Identifikace', 'Default' => '', 'ReadOnly' => true),
    24         'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => ''),
     24        'Name' => array('Type' => 'String', 'Caption' => 'Celé jméno', 'Default' => '', 'Required' => true),
    2525        'AddressStreet' => array('Type' => 'String', 'Caption' => 'Ulice', 'Default' => ''),
    2626        'AddressTown' => array('Type' => 'String', 'Caption' => 'Město', 'Default' => ''),
    27         'AddressPSC' => array('Type' => 'String', 'Caption' => 'PSČ', 'Default' => ''),
     27        'AddressPSC' => array('Type' => 'Integer', 'Caption' => 'PSČ', 'Default' => '', 'Required' => true),
    2828        'AddressCountry' => array('Type' => 'TCountry', 'Caption' => 'Země', 'Default' => ''),
    2929        'IC' => array('Type' => 'String', 'Caption' => 'IČ', 'Default' => ''),
    3030        'DIC' => array('Type' => 'String', 'Caption' => 'DIČ', 'Default' => ''),
     31        'PayVAT' => array('Type' => 'Boolean', 'Caption' => 'Plátce DPH', 'Default' => 0),
    3132        'MapPosition' => array('Type' => 'TMapPosition', 'Caption' => 'Pozice na mapě', 'Default' => '', 'Null' => true),
    3233        'WWW' => array('Type' => 'Hyperlink', 'Caption' => 'WWW', 'Default' => ''),
Note: See TracChangeset for help on using the changeset viewer.