Reorganise right padding
authorJoey Schulze <joey@infodrom.org>
Mon, 13 Dec 2010 11:35:42 +0000 (12:35 +0100)
committerJoey Schulze <joey@infodrom.org>
Mon, 13 Dec 2010 11:35:42 +0000 (12:35 +0100)
masks/overview_geraete.php
masks/overview_gewaesser.php
masks/overview_kosten.php
masks/overview_kostenstellen.php
masks/overview_mitarbeiter.php
masks/overview_stunden.php
masks/personal.php

index 294f54c..0c23628 100644 (file)
@@ -55,13 +55,13 @@ $mask = array(
                              'geraetstunden' => array(
                                            'name' => 'Gerätstunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            ),
                              'anbaugeraetstunden' => array(
                                            'name' => 'Anbaugerätstunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            ),
                              ),
index b1b5fa7..b057886 100644 (file)
@@ -34,13 +34,13 @@ $mask = array(
                              'stunden' => array(
                                            'name' => 'Stunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            ),
                              'stunde' => array(
                                            'name' => 'Stunde',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            'sql' => 'stunden * personal.persstdsatz',
                                            ),
@@ -48,7 +48,7 @@ $mask = array(
                                            'name' => 'Lfdm',
                                            'visible' => false,
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 3, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 3, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            'sql' => '(stunden * personal.persstdsatz) / laenge',
                                            ),
@@ -62,13 +62,13 @@ $mask = array(
                              'geraetstunden' => array(
                                            'name' => 'Stunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            ),
                              'geraetstunde' => array(
                                            'name' => 'Stunde',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            'sql' => 'geraetstunden * gerate.gerstdsatz',
                                            ),
@@ -76,7 +76,7 @@ $mask = array(
                                            'name' => 'Lfdm',
                                            'visible' => false,
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 3, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 3, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            'sql' => '(geraetstunden * gerate.gerstdsatz) / laenge',
                                            ),
@@ -90,13 +90,13 @@ $mask = array(
                              'anbaugeraetstunden' => array(
                                            'name' => 'Stunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            ),
                              'anbaugeraetstunde' => array(
                                            'name' => 'Stunde',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            'sql' => 'anbaugeraetstunden * anbaugeraete.anbgerstdsatz',
                                            ),
@@ -104,7 +104,7 @@ $mask = array(
                                            'name' => 'Lfdm',
                                            'visible' => false,
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 3, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 3, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            'sql' => '(anbaugeraetstunden * anbaugeraete.anbgerstdsatz) / laenge',
                                            ),
index ffdb20a..b10b065 100644 (file)
@@ -76,13 +76,13 @@ $mask = array(
                              'laenge' => array(
                                            'name' => 'Länge',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 70,
                                            ),
                              'personalkosten' => array(
                                            'name' => 'Mitarbeiterkosten',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 90,
                                            'sql' => '
 (SELECT sum(stunden * personal.persstdsatz) FROM einsatzpersonal
@@ -93,7 +93,7 @@ WHERE einsatz = einsatz.id)
                              'geraetkosten' => array(
                                            'name' => 'Gerätkosten',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 90,
                                            'sql' => '
 (SELECT sum(stunden * gerate.geraetkst_intern + stunden * CASE WHEN anbaugeraete.anbkst_intern IS NULL THEN 0.0 ELSE anbaugeraete.anbkst_intern END)
@@ -106,7 +106,7 @@ WHERE einsatz = einsatz.id)
                              'gesamtkosten' => array(
                                            'name' => 'Gesamtkosten',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 90,
                                            'sql' => '
 (SELECT sum(stunden * personal.persstdsatz) FROM einsatzpersonal
@@ -129,7 +129,7 @@ WHERE einsatz = einsatz.id) END
                              'prolfdm' => array(
                                            'name' => 'pro lfdm',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'sql' => '
 ((SELECT sum(stunden * personal.persstdsatz) FROM einsatzpersonal
index 9bc7e6f..0428cbd 100644 (file)
@@ -52,14 +52,14 @@ $mask = array(
                              'laenge' => array(
                                            'name' => 'Länge',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'visible' => false,
                                            ),
                              'personalstunden' => array(
                                            'name' => 'Personalstunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'sql' => "(SELECT sum(stunden) FROM einsatzpersonal WHERE einsatz IN " .
                                                     "(SELECT id FROM einsatz WHERE kostenstelle = kostenstellen.id " .
@@ -68,7 +68,7 @@ $mask = array(
                              'geraetstunden' => array(
                                            'name' => 'Gerätestunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'sql' => "(SELECT sum(stunden) FROM einsatzgeraete WHERE einsatz IN " .
                                                     "(SELECT id FROM einsatz WHERE kostenstelle = kostenstellen.id " .
@@ -77,7 +77,7 @@ $mask = array(
                              'stdlfdm' => array(
                                            'name' => 'Stunden pro lfdm',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'sql' => "((SELECT sum(stunden) FROM einsatzpersonal WHERE einsatz IN " .
                                                     "(SELECT id FROM einsatz WHERE kostenstelle = kostenstellen.id " .
index 7f7833c..61b45ec 100644 (file)
@@ -48,7 +48,7 @@ $mask = array(
                              'stunden' => array(
                                            'name' => 'Stunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            ),
                              ),
index 440fae4..fd622d9 100644 (file)
@@ -87,7 +87,7 @@ $mask = array(
                              'stunden' => array(
                                            'name' => 'Mitarbeiterstunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'sql' => 'einsatzpersonal.stunden'
                                            ),
@@ -106,14 +106,14 @@ $mask = array(
                              'geraetstunden' => array(
                                            'name' => 'Gerätstunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'sql' => 'einsatzgeraete.stunden'
                                            ),
                              'gesamtstunden' => array(
                                            'name' => 'Gesamtstunden',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'sql' => 'einsatzpersonal.stunden + einsatzgeraete.stunden',
                                            ),
index 8f980e2..03182d0 100644 (file)
@@ -51,19 +51,19 @@ $mask = array(
                              'persstdsatz' => array(
                                            'name' => 'Satz',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 50,
                                            ),
                              'jahresakkord' => array(
                                            'name' => 'Akkord',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            ),
                              'akkord_vorjahr' => array(
                                            'name' => 'Akkord Vorjahr',
                                            'type' => 'number',
-                                           'specs' => "decPlaces: 2, ClassName: 'alignright', suffix: '&nbsp;', canSort: false",
+                                           'specs' => "decPlaces: 2, ClassName: 'alignrightpad', canSort: false",
                                            'width' => 60,
                                            'visible' => false,
                                            ),