Subversion Repositories SmartDukaan

Rev

Rev 30601 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<script>


    $(function () {
        $('input[name="dateTime"]').daterangepicker(getSingleDatePicker());
        var object = {timePicker: true, locale: {format: 'DD/MM/YYYY hh A'}};
        $('input[name="scheduleTime"]').daterangepicker($.extend(getSingleDatePicker(), object));

    });

</script>


<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">&times;</button>
    <h4 class="modal-title">Customer Detail</h4>
</div>
<div class="modal-body">

    <div id="hygiene-table">
        <div class="row">
            <div class="col-lg-12">
                <table class="table table-striped table-advance table-hover">
                    <tbody>
                    <tr>
                        <th>Partner Name</th>
                        <th>Date of Purchase</th>
                        <th>Customer Name</th>
                        <th>Customer Mobile</th>
                        <th>Customer City</th>


                    </tr>
                        #if($fofoOrder)
                        <tr class="hygiene-data-table" data="">
                            <td>$customRetailer.getBusinessName()</td>
                            <td>$fofoOrder.getCreateTimestamp().format($dateTimeFormatter)</td>
                            <td>$customerAddress.getName()</td>
                            <td>$customerAddress.getPhoneNumber()</td>
                            <td>$customerAddress.getCity()</td>


                        </tr>

                        #else
                        <tr>
                            <td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
                        </tr>
                        #end


                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-12">
            <table class="table table-striped table-advance table-hover">
                <tbody>
                <tr>
                    <th>Description</th>
                    <th>Quantity</th>

                </tr>
                    #if(!$fofoOrderItems.isEmpty())
                        #foreach( $request in $fofoOrderItems  )
                        <tr class="hygiene-data-table" data="">
                            <td>$request.getBrand() $request.getModelName() $request.getModelNumber() $request.getColor()</td>
                            <td>$request.getQuantity()</td>


                        </tr>

                        #end
                    #else
                    <tr>
                        <td colspan="12" style="text-align:center;">NO MATCHING DATA FOUND FOR CRITERIA</td>
                    </tr>
                    #end
                </tbody>
            </table>
        </div>
    </div>

    <div class="row">


        <div class="col-lg-3 form-group">
            <label for="status"> Status</label>
            <select class="form-control input-sm" id="status" name="status" placeholder="Status"
                    onchange="statusChange()">
                <option value="" disabled selected>Status</option>
                <option value="connected">Connected</option>
                <option value="Not connected">Not Connected</option>
                <option value="Not Connected Closed">Not Connected Closed</option>
            </select>
        </div>

        <div class="col-lg-3 form-group">
            <label for="remark"> Remark</label>
            <select class="form-control input-sm" id="remark" name="remark" onchange="changeRemark()"
                    placeholder="Remark">
                <option value="" disabled selected>Remark</option>
                <option value="done">Done</option>
                <option value="Not Reachable">Not Reachable</option>
                <option value="Out of Service">Out of Service</option>
                <option value="Ringing">Ringing</option>
                <option value="Busy">Busy</option>
                <option value="Switch off">Switch off</option>
                <option value="Not Interested">Not Interested</option>
                <option value="disconnected">Disconnected</option>
                <option value="Duplicate number">Duplicate number</option>
                <option value="Partner number">Partner number</option>
                <option value="Misbehaved">Misbehaved</option>
                <option value="other">Other</option>
            </select>

            <br>
            <input placeholder="Remark" id="textRemark" name="textRemark" type="text" value=""
                   class="form-control input-sm">

        </div>

        <div class="col-lg-3 form-group">
            <label for="hygieneRating"> Hygiene Rating</label>
            <select class="form-control input-sm" id="hygieneRating" placeholder="hygieneRating">
                <option value="" disabled selected>Hygiene Rating</option>
                <option value="false">False</option>
                <option value="true">True</option>
            </select>

        </div>

        <div class="col-lg-3  form-group" id="schedule">
            <label for="scheduleTime"> Schedule Time </label>
            <input id="scheduleTime" name="scheduleTime" placeholder="Schedule" type="text" value=""
                   class="form-control input-sm">
        </div>


    </div>


    <div id="hygiene-detail">
        <div class="row">


            <div class="col-lg-3 form-group">
                <label for="quest1"> Did you get your phone/color of your choice</label>
                <select class="form-control input-sm" id="quest1" name="quest1" placeholder="">
                    <option value="" disabled selected></option>
                    <option value="Yes">Yes</option>
                    <option value="No">No</option>
                </select>
            </div>

            <div class="col-lg-3 form-group">
                <label for="quest2">Did you get proper information of the phone</label>
                <select class="form-control input-sm" id="quest2" name="quest2" placeholder="">
                    <option value="" disabled selected></option>
                    <option value="Yes">Yes</option>
                    <option value="No">No</option>
                </select>
            </div>

            <div class="col-lg-3 form-group">
                <label for="quest3">Did you get System generated Invoice?</label>
                <select class="form-control input-sm" id="quest3" name="quest3" placeholder="">
                    <option value="" disabled selected></option>
                    <option value="Yes">Yes</option>
                    <option value="No">No</option>
                </select>
            </div>

            <div class="col-lg-3  form-group">
                <label for="DOP"> Date of Purchase</label>
                <input id="dop" name="dateTime" placeholder="DOP" type="text" value="" class="form-control input-sm">
            </div>


        </div>


        <div class="row">


            <div class="col-lg-3 form-group">
                <label for="rating"> Rating</label>
                <input placeholder="Rating" id="rating" name="rating" type="text" value=""
                       class="form-control input-sm">
            </div>


            <div class="col-lg-3 form-group">
                <label for="feedback"> Feedback</label>
                <input placeholder="feedback" id="feedback" name="feedback" type="text" value=""
                       class="form-control input-sm">
            </div>


            <div class="col-lg-3 form-group">
                <label for="action"> Action </label>
                <input placeholder="action" id="action" name="action" type="text" value=""
                       class="form-control input-sm">
            </div>

        </div>


    </div>

    <div class="modal-footer">
        <button type="button" data-dismiss="modal" class="btn btn-default request-cancel">Cancel</button>
        <button type="button" class="btn btn-default add-customer-feedback" data-orderid="$fofoOrder.getId()">Submit
        </button>

    </div>