|
|
='" . $_REQUEST['search_from_date'] . "' and tbl_order.order_date<='" . $_REQUEST['search_to_date'] . "' ";
}
$start = 0;
if (isset($_GET['start']))
$start = $_GET['start'];
$pagesize = 30;
if (isset($_GET['pagesize']))
$pagesize = $_GET['pagesize'];
$qry = "select tbl_order_itmes.storeid,tbl_order_itmes.section,tbl_order.id,tbl_order.ship_email,tbl_order.user_id,tbl_order.order_via,tbl_order.order_type,tbl_order.total_amount,tbl_order.order_date,tbl_order.tracking_no,tbl_order_status.order_status,tbl_order.payment_status,tbl_order.ship_full_address,tbl_order.usps_expected_delivery,tbl_order.delivery_note,tbl_order.delivery_day,tbl_order.deliverby,tbl_order.sub_id,ship_fname,ship_lname,ship_house_no,ship_street,ship_complex,ship_landmark,ship_pincode,ship_area,ship_state,ship_city_id,ship_mobile,tbl_order.is_send_to_vendor,tbl_order.vendor_sync_comments from tbl_order inner join tbl_order_itmes on tbl_order.id=tbl_order_itmes.order_id left join tbl_order_status on tbl_order_status.id=tbl_order.order_status where 1=1 $userlocationWhere $where group by tbl_order.id order by tbl_order.id desc limit $start,$pagesize";
$sql = $objmithaas->Query($qry);
$sql2 = $objmithaas->query("select tbl_order.id from tbl_order inner join tbl_order_itmes on tbl_order.id=tbl_order_itmes.order_id where 1=1 $userlocationWhere $where group by tbl_order_itmes.order_id");
$reccnt = $objmithaas->numRows($sql2);
?>
|
|
|
Admin: View Orders
Export Order
|
|
|