Subversion Repositories SmartDukaan

Rev

Rev 37427 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37427 Rev 37734
Line 1670... Line 1670...
1670
 
1670
 
1671
        hasGift =$hasGift;
1671
        hasGift =$hasGift;
1672
        giftItemId = $giftItemId;
1672
        giftItemId = $giftItemId;
1673
        monthDays =$monthDays;
1673
        monthDays =$monthDays;
1674
        dayOfMonth = $dayOfMonth;
1674
        dayOfMonth = $dayOfMonth;
1675
        $(function () {
-
 
1676
            $('#links_bar').popover({
-
 
1677
                container: ".notification-row",
-
 
1678
                template: `<div class="popover" style="min-width: 18%;">
-
 
1679
							<div class="arrow"></div>
-
 
1680
							<div class="popover-inner">
-
 
1681
								<h4 class="popover-title">
-
 
1682
								</h4>
-
 
1683
								<div class="popover-content"><p></p></div>
-
 
1684
							</div>
-
 
1685
						</div>`,
-
 
1686
                html: true,
-
 
1687
                content: `<div class="container-fluid">
-
 
1688
		    				<div class="row"><h5 class="page-header" style="color:#333;margin:6px 0 3px">Quick Links</h5></div>
-
 
1689
		    				<div class="row">
-
 
1690
							    <div class="col-lg-3">
-
 
1691
								    <a href="/spicemoney/getToken" target="_blank" href="">
-
 
1692
								    	<img title="Spice Money" src="/resources/images/icons/provider-logos/spicemoney.jpg" style="width:40px"></img>
-
 
1693
								    </a>
-
 
1694
								</div>
-
 
1695
							</div>
-
 
1696
		    			</div>`,
-
 
1697
                placement: "bottom",
-
 
1698
                trigger: "focus"
-
 
1699
            });
-
 
1700
        });
-
 
1701
 
1675
 
1702
        function showAttendanceModal() {
1676
        function showAttendanceModal() {
1703
            var today = new Date().getTime();
1677
            var today = new Date().getTime();
1704
            if ($.cookie("punchIn") == undefined) {
1678
            if ($.cookie("punchIn") == undefined) {
1705
                document.cookie = "punchIn=" + today;
1679
                document.cookie = "punchIn=" + today;