File "saveDelivery.php"
Full Path: /home/krishnamexports/public_html/panel/vendors/tinymce/plugins/nonbreaking/saveDelivery.php
File size: 694 bytes
MIME-type: text/x-php; charset=us-ascii
Charset: utf-8
<?php
session_start();
include('../../config/database.php');
$orderArray = array();
$processOrderId = $_POST['processOrderId'];
$deliveryDate = date('Y-m-d',strtotime($_POST['deliveryDate']));
$remark = $_POST['remark'];
if(!empty($processOrderId))
{
mysqli_query($cn,"update `tbl_order` SET `status`=1, `expected_delivered_date`='".$deliveryDate."', `remark`='".$remark."' where `order_id` IN($processOrderId)");
$arr = array("status"=>1, 'SuccessMsg'=>"Order Status Update SuccessFully");
echo json_encode($arr);
}
else
{
$arr = array("status"=>2, 'SuccessMsg'=>"Select Atleast One Order.");
echo json_encode($arr);
}
?>