Subversion Repositories SmartDukaan

Rev

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

<style>
.row{
        margin:0 auto;
}
.modal-content{
                background : white;
        }
        .modelHeaderCustom{
                font-size:14px;
                font-weight:bold;
        }
        .border-highlight{
                border : 3px solid red;
        }
        hr{
                background-color:#007aff;
                border:none;
                height:1px;
                background:#007aff;
        }
        .control-label {
                margin-top: 0;
        margin-bottom: 0;
        padding-top: 7px;
        font-weight:bold;
        font-size:14px;
        }
        .form-group{
                border-bottom: 1px solid #eff2f7;
        padding-bottom: 15px;
        margin-bottom: 15px;
        }
        .right{
                float:right;
        }
        .form-control{
                color:black;
        }
.table-align-center{
        text-align:center;
}

</style>

<script type="text/javascript">

        $(document).ready(function() {
        $('#tag-listing-brands').multiselect({
                        includeSelectAllOption: true,
                        multiple:true,
                        maxHeight: 200,
                        buttonWidth: '180px',
                        numberDisplayed: 1,
                        nonSelectedText: 'Brands',
                        nSelectedText: ' - Brands Selected',
                        allSelectedText: 'All Brands Selected',
                        enableFiltering: true,
                        enableCaseInsensitiveFiltering : true
        });
            configureTagListingItemsDescriptionDropDown();
    });
  
        $(function() {
        $('input[name="dateRange"]').daterangepicker(getRangedDatePicker(), dateRangeCallback);
        });
    
        
</script>

<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header"><i class="icon_document_alt"></i>SCHEME</h3>
                        <ol class="breadcrumb">
                                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                                <li><i class="icon_document_alt"></i>CREATE</li>                                                        
                        </ol>
                </div>
        </div>
        <form id="create-scheme-form">
                <div id="customer-details" style="background:white;background-color:white;padding:10px;">
                        <h4 class="modelHeaderCustom" style="font-size:22px;">Scheme Information</h4>
                        <div>
                                <div class = "row">
                                        <div class="col-lg-2 form-group">
                                                <input placeholder="Name" id="schemeName" name="schemeName" type="text" value="" class="form-control input-sm">
                                        </div>
                                        <div class="col-lg-3 form-group">
                                                <input placeholder="Description" id="description" name="description" type="text" value="" class="form-control input-sm">
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <select class="form-control input-sm" id = "schemeType" name = "schemeType" placeholder="Type">
                                                        <option value="" disabled selected>Type</option>
                                                        
                                                        #if($fullAccesss)
                                        <option value="IN">In</option>
                                        <option value="HYGEINE">Hygeine</option>
                                        <option value="ACTIVATION">Activation</option>
                                        <option value="CATEGORY">Category</option>
                                        <option value="TERTIARY">Tertiary</option>
                                        #else
                                         
                                         <option value="ACTIVATION">Activation</option>
                                        
                                        
                                        #end
                                </select>
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <select class="form-control input-sm" id = "amountType" name = "amountType" placeholder="Amount Type">
                                                        <option value="" disabled selected>Amount Type</option>
                                        <option value="PERCENTAGE">Percentage</option>
                                        <option value="FIXED">Fixed</option>
                                </select>
                                        </div>
                                        <div class="col-lg-2 form-group">
                                                <input placeholder = "Amount" id="schemeAmount" name="schemeAmount" type="number" class="form-control input-sm">
                                        </div>
                                        <div class="col-lg-2 form-group checkbox">
                                          <label><input id="cashbackScheme" type="checkbox" value="">Cashback Scheme</label>
                                        </div>
                                        
                                </div>
                                <div class="row">
                                        <div class="col-lg-3 form-inline">
                                                <div class="form-group">
                                                        <label for="schemeDuration">Scheme Duration :</label> 
                                                        <input id="schemeDuration" name="dateRange" type="text" value="" class="form-control input-sm">
                                                </div>
                                        </div>
                                        <div class = "row">
                                        
                                        <div class="col-lg-2">
                                                <select class="form-control input-sm" id ="tag-listing-brands" onchange="selectedbrand()" placeholder="Brands" multiple="multiple">
                                                        #foreach($brand in $brands)
                                                                <option value="$brand">$brand</option>
                                                        #end
                                                </select>
                                        </div>
                                        <div class="col-lg-2" id="tag-listing-items-description-container">
                                                <select class="form-control input-sm" class="tagListingItemsDescription" placeholder="itemsDescription" multiple="multiple" >
                                                </select>
                                        </div>
                                        <div class="col-lg-2">
                                                <select class="form-control input-sm" id = "retailerType" name = "retailerType">
                                                        <option value="" disabled selected>Retailer Type</option>
                                                        #foreach($retailerType in $retailerTypes)
                                                                <option value="$retailerType">$retailerType</option>
                                                        #end
                                </select>
                                        </div>
                                        <div class="col-lg-2">
                                                <input class="btn btn-primary new-scheme" type="submit" value="Create Scheme">  
                                        </div>
                                </div>
                        </div>
                </div>
        </form>
        
</section>
<section>

#if($fullAccesss)
<form style="padding: 14px;">
         <div  style="background:white;background-color:white;padding:12px;">
           <h4 class="modelHeaderCustom" style="font-size:16px;">PROCESS INVESTMENT PAYOUT $month</h4>
                 <div class = "row" style="padding: 24px;">
                 
                   <div class="col-lg-4">
                         <label for="processInvestmentDryRun">Process Investment Dry Run Sheet:</label> 
                                                <input class="btn btn-primary processInvestmentDryRun" type="button" value="Download Sheet">    
                                        </div>
                     
                      <div class="col-lg-4">
                         <label for="monthyInvestment">Partner Wise Monthy Investment Summary:</label> 
                                                <input class="btn btn-primary monthy-investment" type="button" value="Download Sheet">  
                                        </div>
                                        
                                        <div class="col-lg-4">
                                        <label for="processInvestment">Process Investment Payout :</label> 
                                                <input class="btn btn-primary process-investment" type="button" value="Process">        
                                        </div>
                   </div>
                   
               </div>
        </form>
#end
</section>




<script type="text/javascript" src="resources/js/create-scheme.js?v=${version}"></script>