<!-- model to show stock of inventory for admin--> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog modal-lg"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h4 class="modal-title">STOCK</h4> </div> <!-- contents of model here --> <div class="modal-body"> <?php $db = database::getInstance(); // $number,$brand_id,$branch_identifier=null $InvObj = new inventory(); $values_central = $InvObj->show_inventory(); $BranchInvObj = new branch_inventory(); $values_branch = $BranchInvObj->show_inventory(); ?> <!-- shows central inventory stock --> <h4>Central Inventory</h4> <table class="table table-bordered"> <tr> <th>SN</th> <th>Bike</th> <th>Quantity in numbers</th> </tr> <?php $i = 1; if ($values_central) {