Subversion Repositories SmartDukaan

Rev

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

Rev 37533 Rev 37561
Line 1894... Line 1894...
1894
    #rdrrPmWrap {
1894
    #rdrrPmWrap {
1895
      overflow: hidden
1895
      overflow: hidden
1896
    }
1896
    }
1897
 
1897
 
1898
    #rdrrPmWrap .pm-grid-wrap {
1898
    #rdrrPmWrap .pm-grid-wrap {
1899
      overflow: hidden;
1899
      overflow: auto;
-
 
1900
      max-height: 720px;
1900
      border: 1px solid var(--line);
1901
      border: 1px solid var(--line);
1901
      border-radius: 10px;
1902
      border-radius: 10px;
1902
      background: #fff
1903
      background: #fff
1903
    }
1904
    }
1904
 
1905
 
1905
    #rdrrPmWrap .pm-grid {
1906
    #rdrrPmWrap .pm-grid {
1906
      border-collapse: separate;
1907
      border-collapse: separate;
1907
      border-spacing: 0;
1908
      border-spacing: 0;
1908
      width: 100%;
-
 
1909
      table-layout: fixed;
-
 
1910
      font-size: 12px;
1909
      font-size: 13px;
1911
      background: #fff
1910
      background: #fff
1912
    }
1911
    }
1913
 
1912
 
1914
    /* --- header (brand strip) --- */
1913
    /* --- header (brand strip) --- */
1915
    #rdrrPmWrap .pm-grid thead th {
1914
    #rdrrPmWrap .pm-grid thead th {
-
 
1915
      position: sticky;
-
 
1916
      top: 0;
-
 
1917
      z-index: 3;
1916
      padding: 8px 6px;
1918
      padding: 10px 14px;
-
 
1919
      min-width: 140px;
1917
      color: #fff;
1920
      color: #fff;
1918
      font-weight: 700;
1921
      font-weight: 700;
1919
      letter-spacing: .05em;
1922
      letter-spacing: .05em;
1920
      font-size: 10.5px;
1923
      font-size: 11px;
1921
      text-transform: uppercase;
1924
      text-transform: uppercase;
1922
      text-align: center;
1925
      text-align: center;
1923
      white-space: nowrap;
1926
      white-space: nowrap;
1924
      background: linear-gradient(180deg, var(--brand2), var(--brand));
1927
      background: linear-gradient(180deg, var(--brand2), var(--brand));
1925
      border-bottom: 2px solid rgba(0, 0, 0, .08)
1928
      border-bottom: 2px solid rgba(0, 0, 0, .08)
1926
    }
1929
    }
1927
 
1930
 
1928
    #rdrrPmWrap .pm-grid thead th.pm-corner {
1931
    #rdrrPmWrap .pm-grid thead th.pm-corner {
-
 
1932
      position: sticky;
-
 
1933
      left: 0;
-
 
1934
      z-index: 5;
1929
      width: 150px;
1935
      min-width: 170px;
1930
      background: #fff;
1936
      background: #fff;
1931
      color: var(--ink);
1937
      color: var(--ink);
1932
      text-align: left;
1938
      text-align: left;
1933
      border-right: 1px solid var(--line);
1939
      border-right: 1px solid var(--line);
1934
      padding: 8px 12px
1940
      padding: 10px 14px
1935
    }
1941
    }
1936
 
1942
 
1937
    #rdrrPmWrap .pm-corner-lbl {
1943
    #rdrrPmWrap .pm-corner-lbl {
1938
      font-size: 11.5px;
1944
      font-size: 11.5px;
1939
      font-weight: 700;
1945
      font-weight: 700;
Line 1950... Line 1956...
1950
      margin-top: 1px
1956
      margin-top: 1px
1951
    }
1957
    }
1952
 
1958
 
1953
    /* --- name column --- */
1959
    /* --- name column --- */
1954
    #rdrrPmWrap .pm-name {
1960
    #rdrrPmWrap .pm-name {
-
 
1961
      position: sticky;
-
 
1962
      left: 0;
-
 
1963
      z-index: 2;
1955
      width: 150px;
1964
      min-width: 170px;
1956
      background: #fff;
1965
      background: #fff;
1957
      padding: 8px 12px;
1966
      padding: 10px 14px;
1958
      border-right: 1px solid var(--line);
1967
      border-right: 1px solid var(--line);
1959
      vertical-align: middle
1968
      vertical-align: middle
1960
    }
1969
    }
1961
 
1970
 
1962
    #rdrrPmWrap .pm-name-txt {
1971
    #rdrrPmWrap .pm-name-txt {
1963
      font-weight: 650;
1972
      font-weight: 650;
1964
      font-size: 12.5px;
1973
      font-size: 13px;
1965
      color: var(--ink);
1974
      color: var(--ink);
1966
      line-height: 1.2;
1975
      line-height: 1.2;
1967
      white-space: nowrap;
1976
      white-space: nowrap;
1968
      overflow: hidden;
1977
      overflow: hidden;
1969
      text-overflow: ellipsis
1978
      text-overflow: ellipsis
Line 1978... Line 1987...
1978
      font-weight: 600
1987
      font-weight: 600
1979
    }
1988
    }
1980
 
1989
 
1981
    /* --- data cells --- */
1990
    /* --- data cells --- */
1982
    #rdrrPmWrap .pm-cell {
1991
    #rdrrPmWrap .pm-cell {
1983
      padding: 6px 8px;
1992
      padding: 8px 14px;
-
 
1993
      min-width: 140px;
1984
      text-align: right;
1994
      text-align: right;
1985
      vertical-align: middle;
1995
      vertical-align: middle;
1986
      font-variant-numeric: tabular-nums;
1996
      font-variant-numeric: tabular-nums;
1987
      color: var(--ink);
1997
      color: var(--ink)
1988
      overflow: hidden
-
 
1989
    }
1998
    }
1990
 
1999
 
1991
    #rdrrPmWrap .pm-cell-zero {
2000
    #rdrrPmWrap .pm-cell-zero {
1992
      color: #cbd0d9;
2001
      color: #cbd0d9;
1993
      font-size: 14px;
2002
      font-size: 15px;
1994
      font-weight: 500;
2003
      font-weight: 500;
1995
      text-align: center
2004
      text-align: center
1996
    }
2005
    }
1997
 
2006
 
1998
    #rdrrPmWrap .pm-billed {
2007
    #rdrrPmWrap .pm-billed {
1999
      font-weight: 700;
2008
      font-weight: 700;
2000
      font-size: 12.5px;
2009
      font-size: 14px;
2001
      line-height: 1.1;
2010
      line-height: 1.15;
2002
      color: var(--ink);
2011
      color: var(--ink);
2003
      white-space: nowrap
2012
      white-space: nowrap
2004
    }
2013
    }
2005
 
2014
 
2006
    #rdrrPmWrap .pm-meta {
2015
    #rdrrPmWrap .pm-meta {
2007
      margin-top: 2px;
2016
      margin-top: 3px;
2008
      font-size: 9.5px;
2017
      font-size: 11px;
2009
      color: var(--soft);
2018
      color: var(--soft);
2010
      font-weight: 500;
2019
      font-weight: 500;
2011
      line-height: 1.1;
2020
      line-height: 1.15;
2012
      white-space: nowrap;
2021
      white-space: nowrap
2013
      overflow: hidden;
-
 
2014
      text-overflow: ellipsis
-
 
2015
    }
2022
    }
2016
 
2023
 
2017
    #rdrrPmWrap .pm-partners {
2024
    #rdrrPmWrap .pm-partners {
2018
      color: #177a3a
2025
      color: #177a3a
2019
    }
2026
    }
Line 3302... Line 3309...
3302
          var style = (!row.isTotal && intensity > 0)
3309
          var style = (!row.isTotal && intensity > 0)
3303
                  ? ' style="background: rgba(59,91,219,' + bgAlpha + ')"' : '';
3310
                  ? ' style="background: rgba(59,91,219,' + bgAlpha + ')"' : '';
3304
          if (isZero) {
3311
          if (isZero) {
3305
            html.push('<td class="pm-cell pm-cell-zero">&mdash;</td>');
3312
            html.push('<td class="pm-cell pm-cell-zero">&mdash;</td>');
3306
          } else {
3313
          } else {
3307
            var billedTxt = pmCompactCurrency(c.billed, true);
3314
            var billedTxt = numberToIndianCurrency(Math.round(c.billed));
3308
            var poTxt = c.po > 0 ? pmCompactCurrency(c.po, true) : '';
3315
            var poTxt = c.po > 0 ? numberToIndianCurrency(Math.round(c.po)) : '';
3309
            var partnerTxt = c.count > 0 ? (c.count + 'p') : '';
3316
            var partnerTxt = c.count > 0 ? (c.count + 'p') : '';
3310
            var metaBits = [];
3317
            var metaBits = [];
3311
            if (partnerTxt) metaBits.push('<span class="pm-partners">' + partnerTxt + '</span>');
3318
            if (partnerTxt) metaBits.push('<span class="pm-partners">' + partnerTxt + '</span>');
3312
            if (poTxt) metaBits.push('<span class="pm-po">' + poTxt + '</span>');
3319
            if (poTxt) metaBits.push('<span class="pm-po">' + poTxt + '</span>');
3313
            html.push('<td class="pm-cell' + (row.isTotal ? ' pm-cell-total' : '') + '"' + style + '>' +
3320
            html.push('<td class="pm-cell' + (row.isTotal ? ' pm-cell-total' : '') + '"' + style + '>' +