$mask = array(
'table' => 'personal',
+ 'title' => 'Personalinformationen',
'sort' => 1,
'list' => array(
'id' => array(
'name' => 'ID',
'visible' => false,
),
- 'personal' => array(
+ 'name' => array(
'name' => 'Name',
- 'width' => 130,
+ 'width' => 100,
+ 'specs' => "filterUI: 't'",
),
'vorname' => array(
'name' => 'Vorname',
- 'width' => 130,
+ 'width' => 100,
+ 'specs' => "filterUI: 't'",
+ ),
+ 'anschrift' => array(
+ 'name' => 'Anschrift',
+ 'width' => 160,
+ ),
+ 'plz' => array(
+ 'name' => 'PLZ',
+ 'width' => 40,
+ ),
+ 'ort' => array(
+ 'name' => 'Wohnort',
+ 'width' => 100,
+ ),
+ 'telefon' => array(
+ 'name' => 'Telefon',
+ 'width' => 100,
+ 'visible' => false,
+ 'specs' => 'canSort: false',
+ ),
+ 'email' => array(
+ 'name' => 'E-Mail',
+ 'width' => 100,
+ 'visible' => false,
),
'persstdsatz' => array(
'name' => 'Satz',
'type' => 'number',
- 'specs' => "decPlaces: 2, ClassName: 'alignright'",
+ 'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' ', canSort: false",
'width' => 50,
),
'jahresakkord' => array(
'name' => 'Akkord',
'type' => 'number',
- 'specs' => "decPlaces: 2, ClassName: 'alignright'",
+ 'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' ', canSort: false",
'width' => 60,
),
+ 'akkord_vorjahr' => array(
+ 'name' => 'Akkord Vorjahr',
+ 'type' => 'number',
+ 'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: ' ', canSort: false",
+ 'width' => 60,
+ 'visible' => false,
+ ),
'akkordzuschlag' => array(
'name' => 'Zuschlag',
'visible' => false,
'type' => 'number',
- 'specs' => "decPlaces: 2, ClassName: 'alignright'",
+ 'specs' => "decPlaces: 2, ClassName: 'alignright', canSort: false",
'width' => 70,
),
),
+/*
'details' => array(
'title' => 'Details',
'subtitle' => 'Informationen zur Person',
),
),
),
+*/
+ 'edit' => array(
+ 'name' => array(
+ 'name' => 'Name',
+ 'type' => 'text',
+ 'size' => 24,
+ 'required' => true,
+ ),
+ 'vorname' => array(
+ 'name' => 'Vorname',
+ 'type' => 'text',
+ 'size' => 24,
+ 'required' => true,
+ ),
+ 'anschrift' => array(
+ 'name' => 'Anschrift',
+ 'type' => 'text',
+ 'size' => 24,
+ 'required' => true,
+ ),
+ 'plz' => array(
+ 'name' => 'PLZ',
+ 'type' => 'number',
+ 'size' => 6,
+ 'null' => true,
+ ),
+ 'ort' => array(
+ 'name' => 'Wohnort',
+ 'type' => 'text',
+ 'size' => 24,
+ 'null' => true,
+ ),
+ 'telefon' => array(
+ 'name' => 'Telefon',
+ 'type' => 'text',
+ 'size' => 24,
+ 'null' => true,
+ ),
+ 'email' => array(
+ 'name' => 'E-Mail',
+ 'type' => 'text',
+ 'size' => 24,
+ 'null' => true,
+ ),
+ 'persstdsatz' => array(
+ 'name' => 'Stundensatz',
+ 'type' => 'decimal',
+ 'size' => 10,
+ 'null' => true,
+ ),
+ 'jahresakkord' => array(
+ 'name' => 'Jahresakkord',
+ 'type' => 'decimal',
+ 'size' => 10,
+ 'required' => true,
+ ),
+ 'akkord_vorjahr' => array(
+ 'name' => 'Akkord Vorjahr',
+ 'type' => 'decimal',
+ 'size' => 10,
+ 'null' => true,
+ ),
+ ),
'rows' => 20,
);