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