anchor.diff:              });
   
   
  -            function requiredDays (startDate,Enddate){
  -                    var ONE_DAY = 1000 * 60 * 60 * 24
  -                    var difference_ms = Math.abs(Enddate - startDate)
  -                    return Math.round(difference_ms/ONE_DAY)
  +            function requiredDays(startDate, Enddate) {
  +                var ONE_DAY = 1000 * 60 * 60 * 24;
  +                var difference_ms = Math.abs(Enddate - startDate);
  +                console.log(startDate);
  +                console.log(Enddate);
  +                console.log(difference_ms);
  +                console.log(Math.round(difference_ms / ONE_DAY));
  +                return Math.round(difference_ms / ONE_DAY);
               }
   
           });
  
positive.code:                         }
                      },
                      {
                          "mData": "requiredDay", 'sWidth': '100px',
                          "render": function (data, type, row, id) {
                              if (row.requiredDay != null) return row.requiredDay;
                              return messageResource.get('approve.delivery.day.column.msg', 'configMessageForUI');
                          }
                      },
                      {
                          "mData": "wipStatus",
                          "render": function (data, type, row, id) {
                              if (row.wipStatus == messageResource.get('approval.status.approve.done', 'configMessageForUI')) return messageResource.get('request.status.wait.done', 'configMessageForUI');
                              return " ";
                          }
                      },
                      {
                          "mData": "deliverDate",
                          "render": function (data, type, row, id) {
                              if (row.deliverDate != null && row.status == messageResource.get('approval.status.approve.done', 'configMessageForUI')) return requiredDays(row.deliverDate,row.updatedOn);
                              return  messageResource.get('approve.delivery.day.column.msg', 'configMessageForUI');
                          }
                      },
                      {
                          "mData": "docPath",
                          "render": function (data, type, row, id) {
                              var mainPath = document.origin + "/PG";
                              return '<a href="' + mainPath + row.docPath + '" download>' + 'Download</a>'
  
negative.code:                 "sAjaxDataProp": "",
                  "order": [[0, "asc"]],
                  'aoColumns': [
                      {"mData": "name", 'sWidth': '180px'},
                      {"mData": "description", 'sWidth': '380px'},
                      {"mData": "company.name", 'sWidth': '200px'},
                      {"mData": "product.name", 'sWidth': '200px'},
                      {"mData": "category.name", 'sWidth': '200px'},
                      {
                          "mData": "wipStatus",'sWidth': '380px',
                          "render": function (data, type, row, id) {
                              if (row.wipStatus == messageResource.get('approval.status.approve.type.checkedBy', 'configMessageForUI')) return messageResource.get('request.status.wait.checkedBy.approval', 'configMessageForUI');
                              if (row.wipStatus == messageResource.get('approval.status.approve.type.itCoordinatorBy', 'configMessageForUI')) return messageResource.get('request.status.wait.IT.acknowledgement', 'configMessageForUI');
  