Subversion Repositories SmartDukaan

Rev

Rev 32771 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<style>
    select.income-select > option:disabled {
        color: white !important;
    }
</style>

    <div class="info-box light-salmon-bg" style="height: 145px;">
        <i class="fas fa-coins"></i>
        <h4 style="margin-top:-2px;margin-bottom:12px"><strong class="total-income-calc">#springMessage("dashboard.myincome") :</strong>

            <select id="month-wise-total-income" name="month-wise-total-income" placeholder="months"
                    style="margin:auto;background-color: transparent;color: white;" class="income-select">
                <option value="" disabled selected style="background-color:#4682B4;color: white">Month</option>
                #foreach($mVM in $monthValueMap.entrySet())
                    #if($mVM.getKey()== $month )
                        <option value="$mVM.getKey()" selected
                                style="background-color:#4682B4;color: white">$mVM.getValue()</option>
                    #else
                        <option value="$mVM.getKey()"
                                style="background-color:#4682B4;color: white">$mVM.getValue()</option>
                    #end
                #end
            </select>

        </h4>
        <div class="row total-income-calc">
            <div class="col-lg-2">
                <div style="margin-top:10px" class="count currency">$nf.format($totalIncome)</div>
                <div class="title" style="margin-left:5px;">Total Income</div>
            </div>
            <div class="col-lg-2">
                <i class="fk_more fa fa-angle-double-right flash" style="margin: -6px;"></i>
            </div>
            <div class="col-lg-2">
                <div style="margin-top:8px" class="count currency">$creditedIncome</div>
                <div class="title" style="margin-left:5px; cursor:pointer;">Credited Income</div>
            </div>
            <div class="col-lg-2">
                <div style="margin-top:8px" class="count currency">$pendingTotalIncome</div>
                <div class="title" style="margin-left:5px; cursor:pointer;">Pending Income</div>
            </div>
        </div>
    </div>