|
|
@ -588,6 +588,10 @@ $(document).ready(function () { |
|
|
|
assignMaterialId = $(this).data('id'); |
|
|
|
assignMaterialId = $(this).data('id'); |
|
|
|
materialName = $(this).data('material-name'); |
|
|
|
materialName = $(this).data('material-name'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var attributeString = this.outerHTML; |
|
|
|
|
|
|
|
if (attributeString.includes('"=""')) { |
|
|
|
|
|
|
|
materialName = materialName + '"'; |
|
|
|
|
|
|
|
} |
|
|
|
// console.log(" okeee ",{ assignMaterialId, activityId, materialName });
|
|
|
|
// console.log(" okeee ",{ assignMaterialId, activityId, materialName });
|
|
|
|
$("#report_activity_material_title").html(`Report Activity Actual ${materialName}`) |
|
|
|
$("#report_activity_material_title").html(`Report Activity Actual ${materialName}`) |
|
|
|
$("#modal_report_activity").hide(); |
|
|
|
$("#modal_report_activity").hide(); |
|
|
@ -619,6 +623,10 @@ $(document).ready(function () { |
|
|
|
$("#table_report").on("click", ".btn-lihat-plan", function () { |
|
|
|
$("#table_report").on("click", ".btn-lihat-plan", function () { |
|
|
|
assignMaterialId = $(this).data('id'); |
|
|
|
assignMaterialId = $(this).data('id'); |
|
|
|
materialName = $(this).data('material-name'); |
|
|
|
materialName = $(this).data('material-name'); |
|
|
|
|
|
|
|
var attributeString = this.outerHTML; |
|
|
|
|
|
|
|
if (attributeString.includes('"=""')) { |
|
|
|
|
|
|
|
materialName = materialName + '"'; |
|
|
|
|
|
|
|
} |
|
|
|
// console.log(" okeee ",{ assignMaterialId, activityId, materialName });
|
|
|
|
// console.log(" okeee ",{ assignMaterialId, activityId, materialName });
|
|
|
|
$("#report_activity_material_title").html(`Report Activity Plan ${materialName}`) |
|
|
|
$("#report_activity_material_title").html(`Report Activity Plan ${materialName}`) |
|
|
|
$("#modal_report_activity").hide(); |
|
|
|
$("#modal_report_activity").hide(); |
|
|
|