예제 #1
0
echo htmlspecialcharsbx($sort);
?>
" size="5">
		</td>
	</tr>
	<tr>
		<td width="40%" valign="top"><?php 
echo Loc::getMessage("F_DESCRIPTION");
?>
:</td>
		<td width="60%" valign="top">
			<?php 
$description = $request->get('DESCRIPTION') ? $request->get('DESCRIPTION') : $paySystem['DESCRIPTION'];
?>
			<?php 
echo wrapDescrLHE("DESCRIPTION", $description, "hndl_dscr_" . $id);
?>
			<script language="JavaScript">setLHEClass('bxlhe_frame_hndl_dscr_<?php 
echo $id;
?>
'); </script>
		</td>
	</tr>
	<tr>
		<td width="40%" valign="top"><?php 
echo Loc::getMessage('SPS_LOGOTIP');
?>
:</td>
		<td width="60%" valign="top">
			<div><input type="file" name="LOGOTIP" id="LOGOTIP"></div>
			<?php 
예제 #2
0
		</tr>
	<?php 
}
?>

	<?php 
if (array_key_exists("DESCRIPTION", $showFieldsList)) {
    ?>
		<tr>
			<td width="40%"><?php 
    echo Loc::getMessage("SALE_DSE_FORM_DESCRIPTION");
    ?>
:</td>
			<td width="60%">
				<?php 
    echo wrapDescrLHE('DESCRIPTION', isset($fields["DESCRIPTION"]) ? htmlspecialcharsbx($fields["DESCRIPTION"]) : '', 'hndl_dscr');
    ?>
				<script language="JavaScript">BX.Sale.Delivery.setLHEClass('bxlhe_frame_hndl_dscr'); </script>
			</td>
		</tr>
	<?php 
}
?>

	<?php 
if (array_key_exists("PARENT_ID", $showFieldsList)) {
    ?>
		<?php 
    if ($parentService && get_class($parentService) != 'Bitrix\\Sale\\Delivery\\Services\\Group') {
        ?>
			<tr>
예제 #3
0
:</td>
		<td width="60%">
			<input type="text" name="SORT" value="<?php 
echo $str_SORT;
?>
" size="5">
		</td>
	</tr>
	<tr>
		<td width="40%" valign="top"><?php 
echo GetMessage("F_DESCRIPTION");
?>
:</td>
		<td width="60%" valign="top">
			<?php 
echo wrapDescrLHE("DESCRIPTION", htmlspecialcharsback($str_DESCRIPTION), "hndl_dscr_" . $ID);
?>
			<script language="JavaScript">setLHEClass('bxlhe_frame_hndl_dscr_<?php 
echo $ID;
?>
'); </script>
		</td>
	</tr>
<?php 
$tabControl->EndTab();
// Get arrays of PS actions
$arUserPSActions = array();
$arSystemPSActions = array();
function LocalGetPSActionParams($fileName)
{
    $arPSCorrespondence = array();
예제 #4
0
function printProfileInfo($SID, $profileId, $arProfile, $baseCurrency)
{
    $weight_unit = COption::GetOptionString('catalog', 'weight_unit', GetMessage('SALE_DH_WEIGHT_UNIT_DEFAULT'));
    $weight_koef = COption::GetOptionString('catalog', 'weight_koef', 1);
    ?>
		<tr>
			<td class="field-name"><?php 
    echo GetMessage('SALE_DH_PROFILE_ACTIVE');
    ?>
</td>
			<td valign="top" width="60%"><input type="checkbox" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][ACTIVE]" value="Y" <?php 
    if ($arProfile['ACTIVE'] == 'Y') {
        ?>
checked="checked"<?php 
    }
    ?>
 /></td>
		</tr>
		<tr>
			<td align="right"><?php 
    echo GetMessage('SALE_DH_PROFILE_TITLE');
    ?>
</td>
			<td valign="top" width="60%"><input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][TITLE]" value="<?php 
    echo htmlspecialcharsbx($arProfile["TITLE"]);
    ?>
" size="25" /></td>
		</tr>
		<tr>
			<td align="right" valign="top"><?php 
    echo GetMessage('SALE_DH_PROFILE_DESCRIPTION');
    ?>
</td>
			<td valign="top" width="60%">
			<?php 
    echo wrapDescrLHE('HANDLER[PROFILES][' . htmlspecialcharsbx($profileId) . '][DESCRIPTION]', isset($arProfile["DESCRIPTION"]) ? $arProfile["DESCRIPTION"] : '', 'hndl_dscr_' . $profileId);
    ?>
				<script language="JavaScript">setLHEClass('bxlhe_frame_hndl_dscr_<?php 
    echo $profileId;
    ?>
'); </script>
			</td>
		</tr>
		<tr>
			<td align="right"><?php 
    echo GetMessage('SALE_DH_HANDLER_TAX_RATE');
    ?>
 %:</td>
			<td valign="top" width="60%"><input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][TAX_RATE]" value="<?php 
    echo floatval($arProfile["TAX_RATE"]);
    ?>
" size="3" /></td>
		</tr>
		<tr>
			<td align="right"><?php 
    echo GetMessage('SDEN_PAY_NAME');
    ?>
:</td>
			<td valign="top" width="60%">
				<select multiple="multiple" size="5" name="PAY_SYSTEM[<?php 
    echo $profileId;
    ?>
][]">
				<?php 
    $arPaySystemIdSID = array();
    $arPaySystemIdProfile = array();
    $dbRes = CSaleDelivery2PaySystem::GetList(array("DELIVERY_ID" => $SID));
    while ($arRes = $dbRes->Fetch()) {
        if ($arRes["DELIVERY_PROFILE_ID"] == $profileId || is_null($arRes["DELIVERY_PROFILE_ID"])) {
            $arPaySystemIdProfile[] = $arRes["PAYSYSTEM_ID"];
        } else {
            $arPaySystemIdSID[] = $arRes["PAYSYSTEM_ID"];
        }
    }
    $dbResultList = CSalePaySystem::GetList(array("SORT" => "ASC", "NAME" => "ASC"), array("ACTIVE" => "Y"), false, false, array("ID", "NAME", "ACTIVE", "SORT", "LID"));
    while ($arPayType = $dbResultList->Fetch()) {
        ?>
					<option value="<?php 
        echo intval($arPayType["ID"]);
        ?>
" <?php 
        echo in_array($arPayType["ID"], $arPaySystemIdProfile) || empty($arPaySystemIdProfile) ? " selected" : "";
        ?>
>
						<?php 
        echo htmlspecialcharsbx($arPayType["NAME"] . (!is_null($arPayType["LID"]) ? " (" . $arPayType["LID"] . ")" : ""));
        ?>
					</option>
				<?php 
    }
    ?>
				</select>
			</td>
		</tr>

		<tr class="heading">
			<td colspan="2"><?php 
    echo GetMessage('SDEN_ORDER_RESTRICT');
    ?>
</td>
		</tr>
		<tr>
			<td class="field-name"><?php 
    echo GetMessage('SALE_DH_PROFILE_WEIGHT_RESTRICTIONS');
    ?>
 <?php 
    echo htmlspecialcharsbx($weight_unit);
    ?>
:</td>
			<td valign="top" width="60%">
				<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_WEIGHT][0]" value="<?php 
    echo number_format($arProfile['RESTRICTIONS_WEIGHT'][0] / $weight_koef, 2, '.', '');
    ?>
" size="8" />&nbsp;
				<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_WEIGHT][1]" value="<?php 
    echo number_format($arProfile['RESTRICTIONS_WEIGHT'][1] / $weight_koef, 2, '.', '');
    ?>
" size="8" />
			</td>
		</tr>
		<tr>
			<td class="field-name"><?php 
    echo GetMessage('SALE_DH_PROFILE_SUM_RESTRICTIONS');
    ?>
</td>
			<td valign="top" width="60%">
				<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_SUM][1]" value="<?php 
    echo number_format(floatval($arProfile['RESTRICTIONS_SUM'][1]), 2, '.', '');
    ?>
" size="8" />&nbsp;
				<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_SUM][2]" value="<?php 
    echo number_format(floatval($arProfile['RESTRICTIONS_SUM'][2]), 2, '.', '');
    ?>
" size="8" />&nbsp;
				<input type="hidden" name='HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_SUM][0]' value="<?php 
    echo $baseCurrency;
    ?>
">
			</td>
		</tr>
		<tr class="heading">
			<td colspan="2"><?php 
    echo GetMessage('SDEN_PACKAGE_RESTRICT');
    ?>
</td>
		</tr>
		<tr>
			<td class="field-name"><?php 
    echo GetMessage('SDEN_PACKAGE_MAX_DIM');
    ?>
:</td>
			<td valign="top" width="60%">
					<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_DIMENSIONS][0]" value="<?php 
    echo intval($arProfile['RESTRICTIONS_DIMENSIONS'][0]);
    ?>
" size="8" />&nbsp;
					<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_DIMENSIONS][1]" value="<?php 
    echo intval($arProfile['RESTRICTIONS_DIMENSIONS'][1]);
    ?>
" size="8" />&nbsp;
					<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_DIMENSIONS][2]" value="<?php 
    echo intval($arProfile['RESTRICTIONS_DIMENSIONS'][2]);
    ?>
" size="8" />
			</td>
		</tr>
		<tr>
			<td class="field-name"><?php 
    echo GetMessage('SDEN_PACKAGE_MAX_SIZE');
    ?>
:</td>
			<td valign="top" width="60%">
					<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_MAX_SIZE]" value="<?php 
    echo intval($arProfile['RESTRICTIONS_MAX_SIZE']);
    ?>
" size="8" />
			</td>
		</tr>
		<tr>
			<td class="field-name"><?php 
    echo GetMessage('SDEN_PACKAGE_MAX_DSUM');
    ?>
:</td>
			<td valign="top" width="60%">
					<input type="text" name="HANDLER[PROFILES][<?php 
    echo htmlspecialcharsbx($profileId);
    ?>
][RESTRICTIONS_DIMENSIONS_SUM]" value="<?php 
    echo intval($arProfile['RESTRICTIONS_DIMENSIONS_SUM']);
    ?>
" size="8" />
			</td>
		</tr>
	<?php 
}