'eshop-individual', 2 => 'eshop-legal' ); } if(isset($arResult['DELIVERY_TYPES'])){ $defaultDelivTypes = $arResult['DELIVERY_TYPES']; } else{ $defaultDelivTypes = array ( 1 => 'courier', 2 => 'self-delivery' ); } if(isset($arResult['PAYMENT_TYPES'])){ $defaultPayTypes = $arResult['PAYMENT_TYPES']; } else{ $defaultPayTypes = array ( 1 => 'cash', 4 => 'e-money', 5 => 'bank-card', 9 => 'bank-transfer' ); } if(isset($arResult['PAYMENT_STATUSES'])){ $defaultPayStatuses = $arResult['PAYMENT_STATUSES']; } else{ $defaultPayStatuses = array ( 'N' => 'new', 'P' => 'prepayed', 'F' => 'complete', ); } if(isset($arResult['PAYMENT'])){ $defaultPayment = $arResult['PAYMENT']; } else{ $defaultPayment = array( 'Y' => 'paid', 'N' => 'not-paid' ); } ?>