Updates according to specification
[misc/kostenrechnung] / masks / geraete.php
1 <?php
2
3 $mask = array(
4               'table' => 'gerate',
5               'title' => 'Geräte',
6               'sort' => 1,
7               'list' => array(
8                               'id' => array(
9                                             'name' => 'ID',
10                                             'visible' => false,
11                                             ),
12                               'geraet' => array(
13                                             'name' => 'Gerät',
14                                             'width' => 200,
15                                             ),
16                               'gerstdsatz' => array(
17                                             'name' => 'Stundensatz',
18                                             'type' => 'number',
19                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
20                                             'width' => 50,
21                                             ),
22 /*
23                               'geraetkst_intern' => array(
24                                             'name' => 'intern',
25                                             'type' => 'number',
26                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
27                                             'width' => 60,
28                                             ),
29                               'geraetkst_extern' => array(
30                                             'name' => 'extern',
31                                             'type' => 'number',
32                                             'specs' => "decPlaces: 2, ClassName: 'alignright'",
33                                             'width' => 60,
34                                             ),
35 */
36                               ),
37               'rows' => 20,
38               'edit' => array(
39                               'geraet' => array(
40                                             'name' => 'Gerät',
41                                             'type' => 'text',
42                                             'size' => 25,
43                                             ),
44                               'gerstdsatz' => array(
45                                             'name' => 'Stundensatz',
46                                             'type' => 'number',
47                                             'size' => 15,
48                                             ),
49                               ),
50               );
51
52 ?>