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