function order_delivered() {
	var xhttp = new XMLHttpRequest();
	xhttp.onreadystatechange = function () {
		if (this.readyState == 4 && this.status == 200) {
			var obj = JSON.parse(this.responseText);
			let status = obj[0]['NumberOforder'];
			if (status != undefined) {
				$('#show_status_Delevery').text(status);
			} else {
				$('#show_status_Delevery').text('0');
			}
		}
	};
	xhttp.open("GET", baseUrl + "seller/order/delivered", true);
	xhttp.send();

}
//showing total orders count of delievered in seller dashboard window
showing total orders count of delievered in seller dashboard window
showing total orders count of delievered in seller dashboard window
function order_delivered() {
	var xhttp = new XMLHttpRequest();
	xhttp.onreadystatechange = function () {
		if (this.readyState == 4 && this.status == 200) {
			var obj = JSON.parse(this.responseText);
			let status = obj[0]['NumberOforder'];
			if (status != undefined) {
				$('#show_status_Delevery').text(status);
			} else {
				$('#show_status_Delevery').text('0');
			}
		}
	};
	xhttp.open("GET", baseUrl + "seller/order/delivered", true);
	xhttp.send();
}
function order_delivered ( ) { var xhttp = new XMLHttpRequest ( ) ; xhttp . onreadystatechange = function ( ) { if ( this . readyState == 4 && this . status == 200 ) { var obj = JSON . parse ( this . responseText ) ; let status = obj [ 0 ] [ 'NumberOforder' ] ; if ( status != undefined ) { $ ( '#show_status_Delevery' ) . text ( status ) ; } else { $ ( '#show_status_Delevery' ) . text ( '0' ) ; } } } ; xhttp . open ( "GET" , baseUrl + "seller/order/delivered" , true ) ; xhttp . send ( ) ; }
showing total orders count of delievered in seller dashboard window
showing total orders count of delievered in seller dashboard window