<!-- Main content -->
<?php
session_start();
include_once './connection_sql.php';
 
?>
<!-- Main content -->
<section class="content">

    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">Price Control</h3>
        </div>
        <form role="form" name ="form1" class="form-horizontal">
            <div class="box-body">

                <div class="form-group">
                    <a onclick="new_inv();" class="btn btn-default">
                        <span class="fa fa-user-plus"></span> &nbsp; New
                    </a>
                    <a onclick="save_inv();" class="btn btn-primary">
                        <span class="fa fa-save"></span> &nbsp; Save
                    </a>
                    <a onclick="print_inv();" class="btn btn-default">
                        <span class="fa fa-print"></span> &nbsp; Print
                    </a>	
                </div>
                <div id="msg_box"  class="span12 text-center"  ></div>

                <input type="hidden" id="tmpno" class="form-control">
                <input type="hidden" id="item_count" class="form-control">

                 
                
                
                <div class="form-group">
                    <label for="firstname_hidden" class="col-sm-2 control-label">Brand</label>
                    <div class="col-sm-4">
                        <select id="brand" onclick="load_items();" onchange="load_items();" class="form-control input-sm" >
 <option value=""></option>
                            <?php
                            	$sql="select * from brand_mas where act='1'  group by barnd_name";
                                foreach ($conn->query($sql) as $row) {
                                echo "<option value='" . $row["barnd_name"] . "'>" . $row["barnd_name"] . "</option>";
                            }
                            ?>
                        </select>
                    </div>	
                     <label for="firstname_hidden" class="col-sm-1 control-label">List</label>
                    <div class="col-sm-2">
                        <select id="countlist"  onchange="load_items();"  onclick="load_items();" class="form-control input-sm" width='120' >
                            <option value='50'>1</option> 
                            <option value='100'>2</option> 
                            <option value='150'>3</option> 
                            <option value='200'>4</option>  
                            <option value='250'>5</option
                            <option value='300'>6</option>
                            <option value='350'>7</option>
                            <option value='400'>8</option>
                            <option value='450'>9</option>
                            <option value='500'>10</option>
                            <option value='550'>11</option>
                            <option value='600'>12</option>
                            <option value='650'>13</option>
                            <option value='700'>14</option>
                            <option value='750'>15</option>
                            <option value='800'>16</option>
                            <option value='850'>17</option>
                            <option value='900'>18</option>
                            <option value='950'>19</option>
                            <option value='1000'>20</option>
                            <option value='1050'>21</option>
                            <option value='1100'>22</option>
                            <option value='1150'>23</option>
                        </select>
                    </div>
                </div>


                <div class="col-sm-12">


                    <div id="itemdetails" class="col-sm-12" >

                    </div>
                </div>


            </div>

    </div>

    <div  class='space' >
        <br>&nbsp;
        <br>&nbsp;
        <br>&nbsp;

    </div>

</form>
</div>

</section>

<script src="js/price_control.js?v1"></script> 


