MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/www/imenso.co/dev/impactify-it/js/projectDetails.js
$(document).on('click','.expressInterest',function(){  
    $.ajax({
        url:path+'user/expressInterest',
        type:"POST",
        data:{_token:token,project_id:project_id,product_name:project_name},
        success:function(data){
          ajax_message(data,'success');
        },
        error:function(data){
          ajax_message(data,'danger');
        },
        dataType:'json',

    });
  })
$(document).on('click','.sdg img',function(){
    $('.sdg').removeClass('active');
    $(this).closest('a').addClass('active');
    var self=$(this);

    $('.bannerSlider1').slick('slickRemove',true);

    var id=self.attr('data-id');
    var token = "{{ csrf_token() }}";
    $.ajax({
          url:path+'site/getSdgProduct',
          type:"POST",
          data:{_token:token,id:id},
          success:function(data){
              $('.bannerSlider1').slick('slickAdd',data.data);
          },
          error:function(data){
          
          },
          dataType:'json',
        });
});



/*funds_utilization open*/
function funds_utilization(totalApproved,totalReceived,totalUtilized)
{
    var chart = new CanvasJS.Chart("chart_funds_utilization", {
      animationEnabled: true,

      title: {
        text: ""
      },
      legend: {
                verticalAlign: "top",
                horizontalAlign: "right",
                dockInsidePlotArea: false,
                fontSize: 12
              },
      axisX: {
        valueFormatString: "MMM YY",
        interval:1,
        intervalType: "month"
      },
      axisY: {
        title: "",
        titleFontColor: "#4F81BC",
        suffix: "",
        valueFormatString: "₹ #,##0,###.#"
      },
      data: [
      {
        indexLabelFontColor: "darkSlateGray",
        name: "Approved",
        type: "splineArea",
        yValueFormatString: "₹ #,##0,###.#",
        showInLegend: true,
        legendMarkerType: "square",
        color: "rgba(0,69,238,.7)",
        xValueType: "dateTime",
        dataPoints: totalApproved
      },
      {
        indexLabelFontColor: "darkSlateGray",
        name: "Disbursed",
        type: "splineArea",
        yValueFormatString: "₹ #,##0,###.#",
        showInLegend: true,
        legendMarkerType: "square",
        color: "rgba(112,173,71,.7)",
        xValueType: "dateTime",
        dataPoints: totalReceived

      },
      {
        indexLabelFontColor: "darkSlateGray",
        name: "Utilized",
        type: "splineArea",
        yValueFormatString: "₹ #,##0,###.#",
        showInLegend: true,
        legendMarkerType: "square",
        color: "rgba(255,192,37,.7)",
        xValueType: "dateTime",
        dataPoints: totalUtilized
      }
      ]
    });
    chart.render();
     // budget_1 end
   }

  

 ;