<?php

use Bitrix\Main\Localization\Loc;

Loc::loadMessages(__FILE__);

?>

<div class="mb-4" >
    <?php if ($params['ASSIST_TEST_MODE'] === 'Y'): ?>
        <p class="mt-3 alert-warning"><?= Loc::getMessage('TEST_MODE') ?></p>
    <?php endif ?>

    <p class="mt-2"><?=Loc::getMessage('PAYMENT_MESSAGE').": ".SaleFormatCurrency($params['SUM'], 'RUB');?></p>
    <?php if ($params['URL']): ?>
        <div class="d-flex align-items-center mb-3">
            <div class="col-auto pl-0">
                <a class="btn btn-primary btn-buy btn-lg" href="<?=$params['URL'];?>">Оплатить</a>
            </div>
        </div>
    <?php endif ?>
</div>
