Exemple #1
0
	</td>
</tr>
<?php 
$tabControl->EndTab();
//-- TAB analysis
$tabControl->Buttons(array("back_url" => "/bitrix/admin/sale_order_edit.php?lang=" . LANGUAGE_ID . "&dontsave=Y&ID=" . $ID . GetFilterParams("filter_")));
$tabControl->End();
?>

</form>
<div style="display: none;">
	<?php 
echo $orderBasket->getSettingsDialogContent();
?>
</div>

<?php 
if (!$result->isSuccess() || $isNeedFieldsRestore) {
    ?>
	<script type="text/javascript">
		BX.ready( function(){
			BX.Sale.Admin.OrderEditPage.restoreFormData(
				<?php 
    echo CUtil::PhpToJSObject(OrderEdit::restoreFieldsNames(array_diff_key($_POST, array("USER_ID" => true))));
    ?>
			);
		});
	</script>
<?php 
}
require $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";