Subversion Repositories SmartDukaan

Rev

Rev 33501 | Rev 33624 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33501 Rev 33551
Line 1728... Line 1728...
1728
        walletAmount = numberToComma($partnerInvestment.getWalletAmount());
1728
        walletAmount = numberToComma($partnerInvestment.getWalletAmount());
1729
        shortAmount = numberToComma($partnerInvestment.getShortInvestment());
1729
        shortAmount = numberToComma($partnerInvestment.getShortInvestment());
1730
        minAmountToBeAdded = numberToComma($partnerInvestment.getMinAmountToBeAdded());
1730
        minAmountToBeAdded = numberToComma($partnerInvestment.getMinAmountToBeAdded());
1731
        isInvestmentOk = $isInvestmentOk;
1731
        isInvestmentOk = $isInvestmentOk;
1732
        starTotal = 5;
1732
        starTotal = 5;
1733
        ratings = {
1733
        /*ratings = {
1734
            current: $currentMonthRating,
1734
            current: $currentMonthRating,
1735
            last: $lastMonthRating,
1735
            last: $lastMonthRating,
1736
            tilldate: $ratingTillDate
1736
            tilldate: $ratingTillDate
1737
        };
1737
        };
1738
        for (const rating in ratings) {
1738
        for (const rating in ratings) {
Line 1740... Line 1740...
1740
            const starPercentage = (ratings[rating] / starTotal) * 100;
1740
            const starPercentage = (ratings[rating] / starTotal) * 100;
1741
            // 3
1741
            // 3
1742
            const starPercentageRounded = `${starPercentage}%`;
1742
            const starPercentageRounded = `${starPercentage}%`;
1743
            // 4
1743
            // 4
1744
            document.querySelector(`.${rating} .stars-inner`).style.width = starPercentageRounded;
1744
            document.querySelector(`.${rating} .stars-inner`).style.width = starPercentageRounded;
1745
        }
1745
        }*/
1746
 
1746
 
1747
        hasGift =$hasGift;
1747
        hasGift =$hasGift;
1748
        giftItemId = $giftItemId;
1748
        giftItemId = $giftItemId;
1749
        monthDays =$monthDays;
1749
        monthDays =$monthDays;
1750
        dayOfMonth = $dayOfMonth;
1750
        dayOfMonth = $dayOfMonth;