<div class="row">
        <div class="col-sm-12 col-md-12">
            <div class="panel">
               
                <div class="panel-body">
					
                    <?php echo  form_open('reservation/reservation/create') ?>

                    <?php echo form_hidden('reserveid', (!empty($intinfo->reserveid)?$intinfo->reserveid:null)) ?>
                    <div class="form-group row">
                        <label for="tableid" class="col-sm-4 col-form-label"><?php echo display('tabltno');?>*</label>
                        <div class="col-sm-8 customesl">
                        <?php echo $tableinfo->tablename;?>
                        <input name="tableid" type="hidden" value="<?php echo $tableinfo->tablename;?>" />
                        </div>
                    </div>
                       <div class="form-group row">
                        <label for="tablicapacity" class="col-sm-4 col-form-label"><?php echo display('no_of_people');?>**</label>
                        <div class="col-sm-8 customesl">
                        <?php echo $intinfo->person_capicity;?>
                        <input name="tablicapacity" class="form-control" type="hidden" id="tablicapacity" value="<?php echo $intinfo->person_capicity;?>">
                        </div>
                    </div> 
                        <div class="form-group row">
                            <label for="bookdate" class="col-sm-4 col-form-label"><?php echo display('date') ?> *</label>
                            <div class="col-sm-8">
                            	 <?php echo $intinfo->reserveday;?>
                                <input name="bookdate" class="form-control" type="hidden" id="bookdate" value="<?php echo (!empty($intinfo->reserveday)?$intinfo->reserveday:null) ?>">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label for="bookfromtime" class="col-sm-4 col-form-label"><?php echo display('s_time') ?> *</label>
                            <div class="col-sm-8">
                             <?php echo $intinfo->formtime;?>
                                <input name="bookfromtime" class="form-control" type="hidden" id="booktime" value="<?php echo (!empty($intinfo->formtime)?$intinfo->formtime:null) ?>">
                            </div>
                        </div>
                        
                        
                        <div class="form-group row">
                            <label for="bookendtime" class="col-sm-4 col-form-label"><?php echo display('e_time') ?> *</label>
                            <div class="col-sm-8">
                                <input name="bookendtime" class="form-control timepicker" type="text" placeholder="<?php echo display('e_time') ?>" id="booktime" value="<?php echo (!empty($intinfo->totime)?$intinfo->totime:null) ?>">
                            </div>
                        </div>
                        <div class="form-group row">
                        <label for="customer_name" class="col-sm-4 col-form-label"><?php echo display('name') ?>*</label>
                        <div class="col-sm-8">
                        <input name="customer_name" class="form-control" type="text" id="customer_name" value="<?php if(!empty($customerinfo)){ echo $customerinfo->customer_name;}?>" placeholder="<?php echo display('name') ?>">
                       
                        </div>
                    </div>
                        <div class="form-group row">
                        <label for="customer_name" class="col-sm-4 col-form-label"><?php echo display('mobile') ?>*</label>
                        <div class="col-sm-8">
                        <input name="mobile" class="form-control" type="text" id="mobile" value="<?php if(!empty($customerinfo)){ echo $customerinfo->customer_phone;}?>" placeholder="<?php echo display('mobile') ?>">
                        </div>
                    </div>
                        <div class="form-group row">
                        <label for="customer_name" class="col-sm-4 col-form-label"><?php echo display('email') ?>*</label>
                        <div class="col-sm-8">
                        <input name="email" class="form-control" type="text" id="email" value="<?php if(!empty($customerinfo)){ echo $customerinfo->customer_email;}?>" placeholder="<?php echo display('email') ?>">
                        </div>
                    </div>
                    	<div class="form-group row">
                        <label for="notes" class="col-sm-4 col-form-label"><?php echo display('customer_order') ?>*</label>
                        <div class="col-sm-8">
                        <input name="notes" class="form-control" type="text" id="notes" value="<?php echo (!empty($intinfo->customer_notes)?$intinfo->customer_notes:null) ?>" placeholder="Customer Notes">
                        </div>
                    </div>
						<div class="form-group row">
                        <label for="lastname" class="col-sm-4 col-form-label"><?php echo display('status');?></label>
                        <div class="col-sm-8">
                            <select name="status"  class="form-control">
                                <option value=""  selected="selected"><?php echo display('select_option');?></option>
                                <option value="2" <?php if(!empty($intinfo)){if($intinfo->status==2){echo "Selected";}} ?>><?php echo display('booked');?></option>
                                <option value="1" <?php if(!empty($intinfo)){if($intinfo->status==1){echo "Selected";}} ?>><?php echo display('free');?></option>
                              </select>
                        </div>
                        </div>
                        <div class="form-group text-right">
                            <button type="submit" class="btn btn-success w-md m-b-5"><?php echo display('update') ?></button>
                        </div>
                    <?php echo form_close() ?>

                </div>  
            </div>
        </div>
    </div>