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