//@todo change to customers.search.php if feature gets built
    return;
}
//ensure the user has verfied they want to delete the order
if (!isset($_REQUEST['verified']) || (int) $_REQUEST['verified'] != 1) {
    Util::getTemplate('order.detail.php');
    return;
}
if (isset($_REQUEST['entry'])) {
    $entry = ApiLinks::decodeHateoasLink($_REQUEST['entry']);
} else {
    $entry = LSM_API_ENDPOINT . "order/" . $_REQUEST['q'];
}
$lsm = new LsmCurl();
$lsm->setEndpoint($entry);
$lsm->useDelete();
$lsm->sendRequest();
$response = $lsm->getResponseContent();
if (!$response || (int) $lsm->getResponseStatus() != 200 || @(!$response->isSuccess)) {
    Util::getTemplate('500.php');
    return;
}
Util::getHeader();
if (DEBUG_API_CALLS) {
    echo "<pre class='debug'>";
    var_dump($response);
    echo "</pre>";
}
?>
<div class="row">
    <div class="col-lg-12">