File: /home/rtbrisc/www/admin/main/helpdesk/completion.php
<?php
include("../general/header.php");
require_once("../worker/workers/server/issues.php");
//$msg = @$_GET['msg'];
$techid = $_GET['tid'];
$ticket = $_GET['tick'];
?>
<body class="">
<?php include("../general/navbar.php"); ?>
<!-- BEGIN CONTENT -->
<div class="page-container row-fluid">
<?php include("../general/sidebar.php"); ?>
<!-- BEGIN PAGE CONTAINER-->
<div class="page-content">
<div class="content">
<!-- BEGIN PAGE TITLE -->
<?php include("../general/customer_name.php"); ?>
<!-- END PAGE TITLE -->
<ul class="breadcrumb">
<li>
<p>SUCCESS</p>
</li>
<li><a href="new.php" class="active">LOG IN ISSUE / PURCHASE DEVICE</a> </li>
<li><a href="index.php" class="active">HELPDESK</a> </li>
<li><a href="../dashboard" class="active">DASHBOARD</a> </li>
</ul>
<!-- BEGIN PlACE PAGE CONTENT HERE -->
<div class="row">
<?php
$update = mysqli_query($iss, "UPDATE tblsupporttrip SET Confirmation = 1 WHERE TicketID = '$ticket' && TechnicianID = '$techid'");
if ($update) {
?>
<div class="col-md-12 col-vlg-12 col-sm-12">
<div class="tiles green m-b-10">
<div class="tiles-body">
<h2 class="text-white text-justify">
<!-- <?php //echo @$_SESSION['req_suc']; echo $msg; ?> -->
This task has been completed successfully!<br>
<a href="../rating/rate.php?tid=<?php echo $techid; ?>&tick=<?php echo $ticket; ?>" class="btn btn-primary" style="background-color: #C7100E; margin-bottom: 5px;">Service Rating</a>
<a href="javascript:history.go(-1)" class="btn btn-primary" style="margin-bottom: 5px;">Back To Request Details</a>
</h2>
</div>
</div>
</div>
<?php
}else{
?>
<div class="col-md-12 col-vlg-12 col-sm-12">
<div class="tiles red m-b-10">
<div class="tiles-body">
<h2 class="text-white text-justify">
There was a problem confirming task completion by technician. Please contact QIS Customer Care.<br>
<a href="javascript:history.go(-1)" class="btn btn-primary" style="margin-bottom: 5px;">Back To Request Details</a>
</h2>
</div>
</div>
</div>
<?php
}
?>
</div>
<!-- END DASHBOARD TILES -->
<!-- END PLACE PAGE CONTENT HERE -->
</div>
</div>
<!-- END PAGE CONTAINER -->
<?php include("../general/chat_bar.php"); ?>
</div>
<!-- END CONTENT -->
<?php include("../general/footer.php"); ?>
</body>
</html>