public static function wrapAdjustment($adjustment, $currencyId) { $class = $adjustment <= 0 ? 'success' : 'default'; $adjustment = Utils::formatMoney($adjustment, $currencyId); return "<h4><div class=\"label label-{$class}\">{$adjustment}</div></h4>"; }