<link href="../css/jquery-ui/jquery-ui.css" rel="stylesheet" type="text/css"/> <page format="A4" backleft="30px" footer="page"> <?php $_GET["title"] = 'All lists report'; include 'header.php'; ?> <br/> <table align="center" border="1" cellpadding="2" cellspacing="0" class="ui-corner-all"> <?php $itemPrices = array(); include_once "../model/PriceList.php"; $priceListObj = new PriceList(); $lists = $priceListObj->getStandarPriceLists(); include_once "../model/Item.php"; $itemObj = new Item(); $items = $itemObj->getItemsList(); ?> <tr align="center"> <th style="width: 200px">Item</th> <?php foreach ($lists as $id => $value) { $itemPrices[] = $priceListObj->getAllItems($id); ?> <th style="width: 70px"><?php echo $value; ?> </th> <?php } ?> </tr>
echo "<option id= vendor-{$id} value='" . $vendor->shop_id . "'>" . $vendor->shop_name . "</option>"; //echo "<option id= vendor-{$id} value='".$vendor->entity_id."'>".$vendor->firstname." ".$vendor->lastname."</option>"; } ?> </select> </div> </div> </div> <div id="item-list"> <div class="col-xs-12 col-sm-6 col-lg-8"> <h4 style="color:#009ACD;"><strong>Item's List</strong></h4> <form id="vendors_items_form" name="vendors_items_form"> <?php //print_r($_SESSION); $itemlist = $itemObj->getItemsList(); foreach ($itemlist as $key => $item) { ?> <div class="form-group" id="item-list-<?php echo $item->entity_id; ?> "> <span for="item-price-<?php echo $item->entity_id; ?> " class="control-label col-sm-6"> <?php echo $item->item_name; ?> </span> <div class="col-sm-3">