Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
panel
/
ajax
:
saveDelivery.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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); } ?>