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:
Nick Clemens 2022-10-03 11:38:13 +00:00 committed by Tomas Cohen Arazi
parent b190a293ff
commit a4dc5250a2
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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,