Overview display
[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                               'personal' => array(
13                                             'name' => 'Name',
14                                             'width' => 130,
15                                             ),
16                               'vorname' => array(
17                                             'name' => 'Vorname',
18                                             'width' => 130,
19                                             ),
20                               'persstdsatz' => array(
21                                             'name' => 'Satz',
22                                             'type' => 'number',
23                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
24                                             'width' => 50,
25                                             ),
26                               'jahresakkord' => array(
27                                             'name' => 'Akkord',
28                                             'type' => 'number',
29                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
30                                             'width' => 60,
31                                             ),
32                               'akkordzuschlag' => array(
33                                             'name' => 'Zuschlag',
34                                             'visible' => false,
35                                             'type' => 'number',
36                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
37                                             'width' => 70,
38                                             ),
39                               ),
40               'details' => array(
41                                  'title' => 'Details',
42                                  'subtitle' => 'Informationen zur Person',
43                                  'list' => array(
44                                       'personal' => array(
45                                                     'name' => 'Name',
46                                                     ),
47                                       'vorname' => array(
48                                                     'name' => 'Vorname',
49                                                     ),
50                                       'persstdsatz' => array(
51                                                     'name' => 'Stundensatz',
52                                                     'format' => '%.2f',
53                                                     ),
54                                       'jahresakkord' => array(
55                                                     'name' => 'Jahresakkord',
56                                                     'format' => '%.2f',
57                                                     ),
58                                       'akkordzuschlag' => array(
59                                                     'name' => 'Akkordzuschlag',
60                                                     'format' => '%.2f',
61                                                     ),
62                                                  ),
63                                     ),
64               'rows' => 20,
65               );
66
67 ?>