<div class="page-content" >   
<div class="row">
    <div class="col-sm-12">
        <div class="widget-box">
            <div class="widget-header" style="height:70px;">
                <h4  style="text-align:center; color:green;"><b> Customer Call Entry</b> </h4>
            </div>

            <div class="widget-body">
            

<?php 
if (isset($_GET['custidget'])) {
    $scustid= $_GET['custidget'];
    $scustname= $_GET['custname'];
    $scustmobile= $_GET['custmobile'];
    $scustnmobile= $_GET['custnmobile'];
} ?>


                    <div class="widget-main no-padding">
                    <form action="<?php echo admin_url()?>/customerCalls/insert_call " method="post">
                            <fieldset class="col-xs-12 col-sm-12">       
                            <div class="col-xs-2 col-sm-2">
                                <label for="option">Customer Information</label>
                                
                                </div>
                            <div class="col-xs-6 col-sm-6">
                            <?php
                                    
                                          echo"  <select name='data[customerId]' class='form-control' required>";
                                                echo " <option value='".$scustid."' selected>".$scustid." , ".$scustname." CM: ".$scustmobile." NM: ".$scustnmobile."</option>";
                                          echo"</select>";
                             ?>     
                             </div>
                            </fieldset>

                        <input class="form-control" type="hidden" name="data[date]" value="<?php echo date('d-m-Y'); ?>"/>
                        
                        
                        <fieldset class="col-xs-12 col-sm-12">
                            <label class="col-xs-2 col-sm-2"> Call Details </label>
                            <?php echo form_error('data[description]', '<div style="color: rgb(255, 0, 0);">', '</div>'); ?>
                            <textarea name="data[description]" autocomplete="off" class="col-xs-6 col-sm-6" placeholder="Description...." required><?php echo set_value('data[description]',false); ?></textarea>
                                        
                        </fieldset>

                        
                        <div class="clearfix"></div>

                        <div class="form-actions center">
                            <button type="submit" class="btn btn-sm btn-success">
                                 <i class="ace-icon fa fa-check bigger-110"></i>
                                Submit
                                
                            </button>
                            
                            
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div></div></div>



    