function recent_order() {
	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_order').text(status);

			} else {
				$('#show_status_order').text('0');
			}
		}
	};
	xhttp.open("GET", baseUrl + "seller/order/recent/uploaded", true);
	xhttp.send();

}
//showing total orders count of uploaded order in seller dashboard window
showing total orders count of uploaded order in seller dashboard window
showing total orders count of uploaded order in seller dashboard window
function recent_order() {
	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_order').text(status);
			} else {
				$('#show_status_order').text('0');
			}
		}
	};
	xhttp.open("GET", baseUrl + "seller/order/recent/uploaded", true);
	xhttp.send();
}
function recent_order ( ) { 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_order' ) . text ( status ) ; } else { $ ( '#show_status_order' ) . text ( '0' ) ; } } } ; xhttp . open ( "GET" , baseUrl + "seller/order/recent/uploaded" , true ) ; xhttp . send ( ) ; }
showing total orders count of uploaded order in seller dashboard window
showing total orders count of uploaded order in seller dashboard window