520e93658241381e7dc4c6dc61bf38ad1d78cafe
[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                               'akkord_vorjahr' => array(
57                                             'name' => 'Akkord Vorjahr',
58                                             'type' => 'number',
59                                             'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;'",
60                                             'width' => 60,
61                                             'visible' => false,
62                                             ),
63 /*
64                               'akkordzuschlag' => array(
65                                             'name' => 'Zuschlag',
66                                             'visible' => false,
67                                             'type' => 'number',
68                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
69                                             'width' => 70,
70                                             ),
71 */
72                               ),
73 /*
74               'details' => array(
75                                  'title' => 'Details',
76                                  'subtitle' => 'Informationen zur Person',
77                                  'list' => array(
78                                       'personal' => array(
79                                                     'name' => 'Name',
80                                                     ),
81                                       'vorname' => array(
82                                                     'name' => 'Vorname',
83                                                     ),
84                                       'persstdsatz' => array(
85                                                     'name' => 'Stundensatz',
86                                                     'format' => '%.2f',
87                                                     ),
88                                       'jahresakkord' => array(
89                                                     'name' => 'Jahresakkord',
90                                                     'format' => '%.2f',
91                                                     ),
92                                       'akkordzuschlag' => array(
93                                                     'name' => 'Akkordzuschlag',
94                                                     'format' => '%.2f',
95                                                     ),
96                                                  ),
97                                     ),
98 */
99               'edit' => array(
100                               'name' => array(
101                                             'name' => 'Name',
102                                             'type' => 'text',
103                                             'size' => 24,
104                                             'required' => true,
105                                             ),
106                               'vorname' => array(
107                                             'name' => 'Vorname',
108                                             'type' => 'text',
109                                             'size' => 24,
110                                             'required' => true,
111                                             ),
112                               'anschrift' => array(
113                                             'name' => 'Anschrift',
114                                             'type' => 'text',
115                                             'size' => 24,
116                                             'required' => true,
117                                             ),
118                               'plz' => array(
119                                             'name' => 'PLZ',
120                                             'type' => 'number',
121                                             'size' => 6,
122                                             'null' => true,
123                                             ),
124                               'ort' => array(
125                                             'name' => 'Wohnort',
126                                             'type' => 'text',
127                                             'size' => 24,
128                                             'null' => true,
129                                             ),
130                               'telefon' => array(
131                                             'name' => 'Telefon',
132                                             'type' => 'text',
133                                             'size' => 24,
134                                             'null' => true,
135                                             ),
136                               'email' => array(
137                                             'name' => 'E-Mail',
138                                             'type' => 'text',
139                                             'size' => 24,
140                                             'null' => true,
141                                             ),
142                               'persstdsatz' => array(
143                                             'name' => 'Stundensatz',
144                                             'type' => 'decimal',
145                                             'size' => 10,
146                                             'null' => true,
147                                             ),
148                               'jahresakkord' => array(
149                                             'name' => 'Jahresakkord',
150                                             'type' => 'decimal',
151                                             'size' => 10,
152                                             'required' => true,
153                                             ),
154                               'akkord_vorjahr' => array(
155                                             'name' => 'Akkord Vorjahr',
156                                             'type' => 'decimal',
157                                             'size' => 10,
158                                             'null' => true,
159                                             ),
160                               ),
161               'rows' => 20,
162               );
163
164 ?>