function seller_uploaded_order_data(json) {
	if (json != '') {
		let rows = json.map((ob, index) => {
			let date = format_Date(ob.jc_created_date);
			let actionHtml = `<i class="fa fa-eye " title="View Job Card" aria-hidden="true" style="color:#4e73df ;right:16px" data-toggle="modal"data-target="#viewModal" onclick="viewJobCard('${ob.internal_order_id}')"></i>
                              <i class="fa fa-check-circle" style="color:green;right:16px; aria-hidden="true" title="Send to production" onclick="sent('${ob.internal_order_id}','${"#remark_input" + (index + 1)}')"></i>`;
			let input = `<input class='form-control' type='text' id='remark_input${index + 1}'>`
			let row = [(index + 1), date, ob.order_id, ob.title, ob.quantity, ob.remark, input, actionHtml];
			return row;
		})
		table = $('#seller_order').DataTable();
		table.destroy();
		$('#seller_order').DataTable({
			data: rows,
		});

	}
}
// display data in seller order window
display data in seller order window
display data in seller order window
function seller_uploaded_order_data(json) {
	if (json != '') {
		let rows = json.map((ob, index) => {
			let date = format_Date(ob.jc_created_date);
			let actionHtml = `<i class="fa fa-eye " title="View Job Card" aria-hidden="true" style="color:#4e73df ;right:16px" data-toggle="modal"data-target="#viewModal" onclick="viewJobCard('${ob.internal_order_id}')"></i>
                              <i class="fa fa-check-circle" style="color:green;right:16px; aria-hidden="true" title="Send to production" onclick="sent('${ob.internal_order_id}','${"#remark_input" + (index + 1)}')"></i>`;
			let input = `<input class='form-control' type='text' id='remark_input${index + 1}'>`
			let row = [(index + 1), date, ob.order_id, ob.title, ob.quantity, ob.remark, input, actionHtml];
			return row;
		})
		table = $('#seller_order').DataTable();
		table.destroy();
		$('#seller_order').DataTable({
			data: rows,
		});
	}
}
function seller_uploaded_order_data ( json ) { if ( json != '' ) { let rows = json . map ( ( ob , index ) => { let date = format_Date ( ob . jc_created_date ) ; let actionHtml = ` ${ ob . internal_order_id } ${ ob . internal_order_id } ${ "#remark_input" + ( index + 1 ) } ` ; let input = ` ${ index + 1 } ` let row = [ ( index + 1 ) , date , ob . order_id , ob . title , ob . quantity , ob . remark , input , actionHtml ] ; return row ; } ) table = $ ( '#seller_order' ) . DataTable ( ) ; table . destroy ( ) ; $ ( '#seller_order' ) . DataTable ( { data : rows , } ) ; } }
display data in seller order window
display data in seller order window