$title ='Change Package'; include('elements/header.php'); ?>
$current_menu = 'services.php'; include('elements/menu.php'); ?>
$customer_info = $freeside->customer_info_short( array(
'session_id' => $_COOKIE['session_id'],
) );
if ( preg_match( '/^(\d+)$/', $_GET['pkgnum'] ) ) {
$cust_pkg = $freeside->pkg_info( array(
'session_id' => $_COOKIE['session_id'],
'pkgnum' => $_GET['pkgnum'],
) );
}
else { $cust_pkg['error'] = 'Bad Package Number'; }
if ( isset($cust_pkg['error']) && $cust_pkg['error'] ) {
$error = $cust_pkg['error'];
header('Location:index.php?error='. urlencode($error));
die();
}
$pkgselect = $freeside->mason_comp( array(
'session_id' => $_COOKIE['session_id'],
'comp' => '/elements/select-part_pkg.html',
'args' => [ 'classnum', $cust_pkg['classnum'], 'curr_value', $cust_pkg['pkgpart'], ],
)
);
if ( isset($pkgselect['error']) && $pkgselect['error'] ) {
$error = $pkgselect['error'];
header('Location:index.php?error='. urlencode($error));
die();
}
?>
Purchase replacement package for " echo htmlspecialchars($cust_pkg['pkg_label']); ?>"
include('elements/error.php'); ?>