|
|
|
@ -187,7 +187,8 @@ $(document).ready(function () {
|
|
|
|
|
assignMaterialId = $(this).data('id'); |
|
|
|
|
materialName = $(this).data('material-name'); |
|
|
|
|
|
|
|
|
|
$("#report_activity_material_title").html(`Report Activity Actual Material ${materialName}`) |
|
|
|
|
$("#report_activity_material_title").html(`Report Activity Actual Material ${materialName}`); |
|
|
|
|
$('#report_activity_material_sub_title').html(`<p style="font-size: 12px; color: #747474">Plan Date ${moment(activityEarlyStart).format('MM-DD-YYYY')} - ${moment(activityEarlyFinish).format('MM-DD-YYYY')}</p>`); |
|
|
|
|
$("#modal_report_activity").hide(); |
|
|
|
|
|
|
|
|
|
$("#form_report_activity_material").show(); |
|
|
|
@ -207,7 +208,8 @@ $(document).ready(function () {
|
|
|
|
|
$("#table_report").on("click", ".btn-lihat-plan", function () { |
|
|
|
|
assignMaterialId = $(this).data('id'); |
|
|
|
|
materialName = $(this).data('material-name'); |
|
|
|
|
$("#report_activity_material_title").html(`Report Activity Plan Material ${materialName}`) |
|
|
|
|
$("#report_activity_material_title").html(`Report Activity Plan Material ${materialName}`); |
|
|
|
|
$('#report_activity_material_sub_title').html(`<p style="font-size: 12px; color: #747474">Plan Date ${moment(activityEarlyStart).format('MM-DD-YYYY')} - ${moment(activityEarlyFinish).format('MM-DD-YYYY')}</p>`); |
|
|
|
|
$("#modal_report_activity").hide(); |
|
|
|
|
$("#activity_material_plan").show(); |
|
|
|
|
$("#activity_material_actual").hide(); |
|
|
|
|