mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
Sortieren von Beträgen mit Tausenderpunkt und Komma
This commit is contained in:
Vendored
+3
-2
@@ -474,6 +474,7 @@ if(options.matchSubset){for(var i=q.length-1;i>=options.minChars;i--){var c=data
|
||||
this.benchmark = benchmark;
|
||||
|
||||
function log(s) {
|
||||
alert(s);
|
||||
if (typeof console != "undefined" && typeof console.debug != "undefined") {
|
||||
console.log(s);
|
||||
} else {
|
||||
@@ -1084,7 +1085,7 @@ if(options.matchSubset){for(var i=q.length-1;i>=options.minChars;i--){var c=data
|
||||
ts.addParser({
|
||||
id: "dedate",
|
||||
is: function(s) {
|
||||
return /^\d{1,2}.\d{1,2}.\d{2,4}$/.test(s);
|
||||
return /^\d{1,2}[.]\d{1,2}[.]\d{2,4}$/.test(s);
|
||||
},
|
||||
format: function(s) {
|
||||
s = s.replace(/(\d{1,2}).(\d{1,2}).(\d{2,4})/, "$2/$1/$3");
|
||||
@@ -1096,7 +1097,7 @@ if(options.matchSubset){for(var i=q.length-1;i>=options.minChars;i--){var c=data
|
||||
ts.addParser({
|
||||
id: "digitmittausenderpunkt",
|
||||
is: function(s) {
|
||||
return /^[0-9]*[.][0-9]*[,]*[0-9]*$/.test(s);
|
||||
return /^[0-9]*[.]*[0-9]*[,]*[0-9]*$/.test(s);
|
||||
},
|
||||
format: function(s) {
|
||||
return $.tablesorter.formatFloat(s.replace('.',""));
|
||||
|
||||
+2
-2
@@ -37,7 +37,7 @@ A:visited
|
||||
color: blue;
|
||||
}
|
||||
|
||||
A:focu
|
||||
A:focus
|
||||
{
|
||||
cursor:hand;
|
||||
}
|
||||
@@ -121,7 +121,7 @@ table.dark td
|
||||
|
||||
option.rechnung_nichtfreigegeben
|
||||
{
|
||||
background-color: lightred;
|
||||
background-color: lightpink;
|
||||
}
|
||||
|
||||
option.rechnung_freigegebenvorhanden
|
||||
|
||||
+1
-1
@@ -704,7 +704,7 @@ if($aktion == 'suche')
|
||||
echo '<td>'.$date->formatDatum($row->insertamum, 'd.m.Y')."</td>\n";
|
||||
echo '<td>'.$freigegeben=($row->freigegeben=='t')?'ja':'nein'."</td>\n";
|
||||
echo '<td>'.$geliefert.'</td>';
|
||||
echo '<td>'.number_format($brutto, 2, ",",".")."</td>\n";
|
||||
echo '<td class="number">'.number_format($brutto, 2, ",",".")."</td>\n";
|
||||
echo '<td>'.$row->titel."</td>\n";
|
||||
echo '<td>'.$date->formatDatum($row->updateamum,'d.m.Y').' '.$row->updatevon ."</td>\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user