Subversion Repositories SmartDukaan

Rev

Rev 31390 | Rev 34317 | 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>

<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="CATEGORY">Category</option>
                                <option value="TERTIARY">Tertiary</option>
                                <option value="INVESTMENT">Investment</option>
                                <option value="SELLOUT">Sellout</option>
                                <option value="ACTIVATION">Activation</option>
                                <option value="SPECIAL_SUPPORT">Special Support</option>
                            #else
                                <option value="SELLOUT">Sellout</option>
                                <option value="SPECIAL_SUPPORT">Special Support</option>
                                <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>
                <div class="row form-group">
                    <label class="checkbox-inline"><input id="cashbackScheme" type="checkbox" value="" disabled>Cashback
                        Scheme</label>
                </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="col-lg-3">
                        <select class="criteria-regionids form-control" multiple="multiple">
                            #foreach($region in $regionList)
                                <option value="$region.getId()" #if($region.getId()==5)
                                        selected#end>$region.getName()</option>
                            #end
                        </select>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-2">
                        <select class="form-control input-sm" id="category-list" onchange="categoryChanged()"
                                placeholder="Brands">
                            #foreach($category in $categories)
                                <option value="$category.getId()">$category.getLabel()</option>
                            #end
                        </select>
                    </div>

                    <div class="col-lg-2" id="brand-list">
                    </div>
                    <div class="col-lg-2" id="tag-listing-items-description-container">
                        <select class="form-control input-sm" class="catalogItemsDescription"
                                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>
    $('.criteria-regionids').multiselect({
        maxHeight: 400,
        buttonWidth: '240px',
        numberDisplayed: 1,
        nonSelectedText: 'Regions',
        nSelectedText: ' - Regions Selected',
        allSelectedText: 'All Regions Selected',
        enableFiltering: true,
        enableCaseInsensitiveFiltering: true,
    });
</script>