App\Libraries\Utils::wrapAdjustment PHP Метод

wrapAdjustment() публичный статический Метод

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