|
|
@ -164,13 +164,23 @@ $(document).ready(function () { |
|
|
|
results: dataIntegrasiMaterial |
|
|
|
results: dataIntegrasiMaterial |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, error: function (jqXHR, textStatus, errorThrown) { |
|
|
|
}, error: function (jqXHR, textStatus, errorThrown) { |
|
|
|
gantt.alert(`Status: ${textStatus}`); |
|
|
|
if (textStatus != "abort") { |
|
|
|
gantt.alert(`Error thrown: ${errorThrown}`); |
|
|
|
gantt.alert(`Status: ${textStatus}`); |
|
|
|
gantt.alert(`Error accessing URL: ${adwIntegrationUrl}/request-material/get-material-integration`); |
|
|
|
gantt.alert(`Error thrown: ${errorThrown}`); |
|
|
|
|
|
|
|
gantt.alert(`Error accessing URL: ${adwIntegrationUrl}/request-material/get-material-integration`); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
// $('#required-date-req-material').datepicker({
|
|
|
|
|
|
|
|
// format: 'dd-mm-yyyy', // Set the desired format
|
|
|
|
|
|
|
|
// autoclose: true // Close the datepicker when a date is selected
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// $('#required-date-plan-material').datepicker({
|
|
|
|
|
|
|
|
// format: 'dd-mm-yyyy', // Set the desired format
|
|
|
|
|
|
|
|
// autoclose: true // Close the datepicker when a date is selected
|
|
|
|
|
|
|
|
// });
|
|
|
|
$("#form-assign-material").on('submit', function (e) { |
|
|
|
$("#form-assign-material").on('submit', function (e) { |
|
|
|
e.preventDefault(); |
|
|
|
e.preventDefault(); |
|
|
|
|
|
|
|
|
|
|
|