|
|
|
@ -136,7 +136,7 @@ $(document).ready(function () {
|
|
|
|
|
|
|
|
|
|
$('#modal_report_activity').on('show.bs.modal', function (event) { |
|
|
|
|
$("#report_activity_title").html(`Report Activity ${activityName}`) |
|
|
|
|
$('#report_activity_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>`); |
|
|
|
|
$('#report_activity_sub_title').html(`<p style="font-size: 12px; color: #747474">Plan Date: ${moment(activityEarlyStart).format('DD MMMM YYYY')} - ${moment(activityEarlyFinish).format('DD MMMM YYYY')}</p>`); |
|
|
|
|
tableRa.draw(); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -188,7 +188,7 @@ $(document).ready(function () {
|
|
|
|
|
materialName = $(this).data('material-name'); |
|
|
|
|
|
|
|
|
|
$("#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>`); |
|
|
|
|
$('#report_activity_material_sub_title').html(`<p style="font-size: 12px; color: #747474">Plan Date ${moment(activityEarlyStart).format('DD, MMMM YYYY')} - ${moment(activityEarlyFinish).format('DD, MMMM YYYY')}</p>`); |
|
|
|
|
$("#modal_report_activity").hide(); |
|
|
|
|
|
|
|
|
|
$("#form_report_activity_material").show(); |
|
|
|
@ -209,7 +209,7 @@ $(document).ready(function () {
|
|
|
|
|
assignMaterialId = $(this).data('id'); |
|
|
|
|
materialName = $(this).data('material-name'); |
|
|
|
|
$("#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>`); |
|
|
|
|
$('#report_activity_material_sub_title').html(`<p style="font-size: 12px; color: #747474">Plan Date ${moment(activityEarlyStart).format('DD, MMMM YYYY')} - ${moment(activityEarlyFinish).format('DD, MMMM YYYY')}</p>`); |
|
|
|
|
$("#modal_report_activity").hide(); |
|
|
|
|
$("#activity_material_plan").show(); |
|
|
|
|
$("#activity_material_actual").hide(); |
|
|
|
|