row colors for the table

This commit is contained in:
2019-02-23 22:57:56 -06:00
parent bf3bea97e5
commit 055b09dd6f
2 changed files with 6 additions and 5 deletions

View File

@@ -52,6 +52,12 @@ class MoonsController extends Controller
$worth = $moonCalc->SpatialMoonsTotalWorth($moon->FirstOre, $moon->FirstQuantity, $moon->SecondOre, $moon->SecondQuantity,
$moon->ThirdOre, $moon->ThirdQuantity, $moon->FourthOre, $moon->FourthQuantity);
if($type == 'W4RP') {
$moonprice = $price['alliance'];
} else {
$moonprice = $price['outofalliance'];
}
if($today > $rentalTemp) {
$color = 'table-success';
} else {