anchor.diff:              },
   
               endWaterOrder: function (row){
  -                debugger;
                   document.getElementById("modelServerResponse").innerHTML = "";
   
                   $('#waterInfoPanel').block({
  
positive.code:                 {
                      events:function (fetchInfo, successCallback, failureCallback) {
                          if ($animalId == 'undefined' || $animalId == "null" || $animalId == ''){
                              debugger;
                          WebUtils.API.selectRows("study", "waterTotalByDateWithWeight", {
                              "date~gte": fetchInfo.start.format('Y-m-d'),
                              "date~lte": fetchInfo.end.format('Y-m-d'),
  
negative.code:                         }
  
  
                      }, this),
                      method:"POST"
  
                  });
  
  