1
0
Fork 0
mirror of synced 2025-04-11 21:21:00 +00:00

Update intaro.retailcrm/install/step2.php

Co-authored-by: Smiley48 <43863676+Smiley48@users.noreply.github.com>
This commit is contained in:
Kocmonavtik 2022-12-13 14:09:58 +03:00 committed by GitHub
parent b3813dd33b
commit cc9e0fd2a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -348,7 +348,8 @@ if (isset($arResult['PAYMENT'])) {
<td width="50%" class="adm-detail-content-cell-r">
<select name="order-type-<?php echo $bitrixOrderType['ID']; ?>" class="typeselect">
<option value=""></option>
<?php foreach($arResult['orderTypesList'] as $orderType): if($orderType['active'] == 1): ?>
<?php foreach($arResult['orderTypesList'] as $orderType): ?>
<?php if($orderType['active'] == 1): ?>
<option value="<?php echo $orderType['code']; ?>"
<?php if($defaultOrderTypes[$bitrixOrderType['ID']] == $orderType['code']) echo 'selected'; ?>>
<?php echo $APPLICATION->ConvertCharset($orderType['name'], 'utf-8', SITE_CHARSET); ?>