File "orderDelivered.php"
Full Path: /home/krishnamexports/public_html/panel/action/orderDelivered.php
File size: 397 bytes
MIME-type: text/x-php; charset=us-ascii
Charset: utf-8
<?php
session_start();
include('../../config/database.php');
$orderInvoice = array();
$order_id = $_POST['order_id'];
if(!empty($order_id))
{
mysqli_query($cn,"update `tbl_order` SET `status`=5, `delivered_date`=Now() where `order_id` IN($order_id)");
}
$arr = array("status"=>1, 'SuccessMsg'=>"Order Status Update SuccessFully");
echo json_encode($arr);
?>