Bug 22115: (QA follow-up) prevent wrap on price columns
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b190a293ff
commit
a4dc5250a2
1 changed files with 6 additions and 3 deletions
|
@ -438,19 +438,22 @@ $(document).ready(function() {
|
|||
"mDataProp": function ( oObj ) {
|
||||
if ( ! oObj.charge ) oObj.charge = 0;
|
||||
return '<span style="text-align: right; display: block;">' + parseFloat(oObj.charge).format_price() + '<span>';
|
||||
}
|
||||
},
|
||||
"sClass": "nowrap"
|
||||
},
|
||||
{
|
||||
"mDataProp": function ( oObj ) {
|
||||
if ( ! oObj.fine ) oObj.fine = 0;
|
||||
return '<span style="text-align: right; display: block;">' + parseFloat(oObj.fine).format_price() + '<span>';
|
||||
}
|
||||
},
|
||||
"sClass": "nowrap"
|
||||
},
|
||||
{
|
||||
"mDataProp": function ( oObj ) {
|
||||
if ( ! oObj.price ) oObj.price = 0;
|
||||
return '<span style="text-align: right; display: block;">' + parseFloat(oObj.price).format_price() + '<span>';
|
||||
}
|
||||
},
|
||||
"sClass": "nowrap"
|
||||
},
|
||||
{
|
||||
"bSortable": false,
|
||||
|
|
Loading…
Reference in a new issue