Support tooltips for menu items
[misc/kostenrechnung] / masks / personal.php
1 <?php
2
3 $mask = array(
4               'table' => 'personal',
5               'title' => 'Personalinformationen',
6               'sort' => 1,
7               'list' => array(
8                               'id' => array(
9                                             'name' => 'ID',
10                                             'visible' => false,
11                                             ),
12                               'name' => array(
13                                             'name' => 'Name',
14                                             'width' => 100,
15                                             'specs' => "filterUI: 't'",
16                                             ),
17                               'vorname' => array(
18                                             'name' => 'Vorname',
19                                             'width' => 100,
20                                             'specs' => "filterUI: 't'",
21                                             ),
22                               'anschrift' => array(
23                                             'name' => 'Anschrift',
24                                             'width' => 160,
25                                             ),
26                               'plz' => array(
27                                             'name' => 'PLZ',
28                                             'width' => 40,
29                                             ),
30                               'ort' => array(
31                                             'name' => 'Wohnort',
32                                             'width' => 100,
33                                             ),
34                               'telefon' => array(
35                                             'name' => 'Telefon',
36                                             'width' => 100,
37                                             'visible' => false,
38                                             ),
39                               'email' => array(
40                                             'name' => 'E-Mail',
41                                             'width' => 100,
42                                             'visible' => false,
43                                             ),
44                               'persstdsatz' => array(
45                                             'name' => 'Satz',
46                                             'type' => 'number',
47                                             'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;'",
48                                             'width' => 50,
49                                             ),
50                               'jahresakkord' => array(
51                                             'name' => 'Akkord',
52                                             'type' => 'number',
53                                             'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;'",
54                                             'width' => 60,
55                                             ),
56 /*
57                               'akkordzuschlag' => array(
58                                             'name' => 'Zuschlag',
59                                             'visible' => false,
60                                             'type' => 'number',
61                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
62                                             'width' => 70,
63                                             ),
64 */
65                               ),
66 /*
67               'details' => array(
68                                  'title' => 'Details',
69                                  'subtitle' => 'Informationen zur Person',
70                                  'list' => array(
71                                       'personal' => array(
72                                                     'name' => 'Name',
73                                                     ),
74                                       'vorname' => array(
75                                                     'name' => 'Vorname',
76                                                     ),
77                                       'persstdsatz' => array(
78                                                     'name' => 'Stundensatz',
79                                                     'format' => '%.2f',
80                                                     ),
81                                       'jahresakkord' => array(
82                                                     'name' => 'Jahresakkord',
83                                                     'format' => '%.2f',
84                                                     ),
85                                       'akkordzuschlag' => array(
86                                                     'name' => 'Akkordzuschlag',
87                                                     'format' => '%.2f',
88                                                     ),
89                                                  ),
90                                     ),
91 */
92               'edit' => array(
93                               'name' => array(
94                                             'name' => 'Name',
95                                             'type' => 'text',
96                                             'size' => 24,
97                                             'required' => true,
98                                             ),
99                               'vorname' => array(
100                                             'name' => 'Vorname',
101                                             'type' => 'text',
102                                             'size' => 24,
103                                             'required' => true,
104                                             ),
105                               'anschrift' => array(
106                                             'name' => 'Anschrift',
107                                             'type' => 'text',
108                                             'size' => 24,
109                                             'required' => true,
110                                             ),
111                               'plz' => array(
112                                             'name' => 'PLZ',
113                                             'type' => 'number',
114                                             'size' => 6,
115                                             'null' => true,
116                                             ),
117                               'ort' => array(
118                                             'name' => 'Wohnort',
119                                             'type' => 'text',
120                                             'size' => 24,
121                                             'null' => true,
122                                             ),
123                               'telefon' => array(
124                                             'name' => 'Telefon',
125                                             'type' => 'text',
126                                             'size' => 24,
127                                             'null' => true,
128                                             ),
129                               'email' => array(
130                                             'name' => 'E-Mail',
131                                             'type' => 'text',
132                                             'size' => 24,
133                                             'null' => true,
134                                             ),
135                               'persstdsatz' => array(
136                                             'name' => 'Stundensatz',
137                                             'type' => 'decimal',
138                                             'size' => 10,
139                                             'null' => true,
140                                             ),
141                               'jahresakkord' => array(
142                                             'name' => 'Jahresakkord',
143                                             'type' => 'decimal',
144                                             'size' => 10,
145                                             'required' => true,
146                                             ),
147                               ),
148               'rows' => 20,
149               );
150
151 ?>