Browse Source

fix: formate date

pull/2/head
wahyun 6 months ago
parent
commit
9c87daaa41
  1. 4
      view-mode/function/reportActivity.js

4
view-mode/function/reportActivity.js

@ -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('DD, MMMM YYYY')} - ${moment(activityEarlyFinish).format('DD, MMMM 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('DD, MMMM YYYY')} - ${moment(activityEarlyFinish).format('DD, MMMM 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();

Loading…
Cancel
Save