<div class="modal fade" id="ViewModel">
    <div class="modal-dialog modal-lg">
        <div class="modal-content panel-primary">
            
			<div class="panel-heading">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h4 class="modal-title" >Order Summary</h4>
			</div>
			<div id="OrderViewDiv" class="modal-body">
				
			</div>
			<div class="modal-footer" id="footerModalDiv">
			</div>	 
            
        </div>
    </div>
</div>


<div class="modal fade" id="setOrderStatus">
    <div class="modal-dialog modal-sm">
        <div class="modal-content panel-primary">            
			<div class="panel-heading">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">Order Status </h4>
            </div> 
			<div id="OrderStatusDiv" class="modal-body">
				<input type="hidden" id="OrderId" />
				<?php foreach($allstatus as $status){
					echo '<div class="radio-custom radio-primary">
							<input name="orderStatus[]" data-stext="'.$status['Status'].'" value="'.$status['Id'].'" required="" type="radio">
							<label for="awesome">'.$status['Status'].'</label>
						</div>';
					 
				}?>
				 
			</div>
			<div class="modal-footer" id="footerModalDiv">
				<img id="ShowLoaderImg"  class="pull-left" src="<?= HTTP_IMAGES_PATH .'loader.gif';?>"/>
				<input type="button" id="OrderStatusBtn" class="btn btn-primary pull-right" value="OK"/>
			</div>
        </div>
    </div>
</div>
