add label tanggal MCU pre-register

This commit is contained in:
2026-04-28 08:28:37 +07:00
parent a4c1b39a66
commit fe6bbb8d2a

View File

@@ -633,7 +633,11 @@
<code v-if="props.item.uuid_form == ''" class="mb-0 font-weight-bold"
style="font-size: 10px;">kode form : Belum digenerate</code>
</p>
<p v-if="filterDateMCU == ''" class="mb-0" style="font-size: 10px">
Tanggal MCU: {{
formatDate(props.item.Mcu_PreregisterDateCheckinSchedule)
}}
</p>
</td>
<td width="20%" @click="selectMe(props.item)" class="py-1 text-xs-right"
v-bind:class="{ 'amber lighten-4': isSelected(props.item) }"
@@ -655,11 +659,13 @@
print
</v-icon>
</v-btn>
<!-- <v-tooltip right>
<!--
<v-tooltip right>
<template v-slot:activator="{ on }">
</template>
<span>Print Barcode & Qrcode</span>
</v-tooltip> -->
</v-tooltip>
-->
</td>
</template>
<template v-slot:footer>
@@ -2106,7 +2112,7 @@ module.exports = {
},
},
methods: {
formatDate() {
formatDate(date) {
if (!date) return null;
const [year, month, day] = date.split('-');
return `${day}-${month}-${year}`;