diff --git a/resources/js/WTD/SenaraiBakiLelong.vue b/resources/js/WTD/SenaraiBakiLelong.vue
index a991e64..b33b963 100644
--- a/resources/js/WTD/SenaraiBakiLelong.vue
+++ b/resources/js/WTD/SenaraiBakiLelong.vue
@@ -11,7 +11,7 @@
-
+
@@ -158,6 +158,32 @@ export default {
}
})
+ },
+ async printwtd() {
+ let cawangan = 'KB2';
+ let ref = this;
+
+ await this.$swal({
+ title: 'Cetak WTD',
+ html:
+ '',
+ text: "cetak wtd ini?",
+ showCloseButton: true,
+ showCancelButton: true,
+ focusConfirm: false,
+ confirmButtonText:
+ 'Ya',
+ cancelButtonText:
+ 'Tidak',
+ }).then((result) => {
+ if (result.isConfirmed) {
+
+ this.blockwtd();
+
+ }
+ })
+
},
proseswtd: function () {
this.axios.post(ref.$hostname + '/admin/wtd/process', {
diff --git a/resources/js/WTD/wtd.vue b/resources/js/WTD/wtd.vue
index bf18397..7f4bb2e 100644
--- a/resources/js/WTD/wtd.vue
+++ b/resources/js/WTD/wtd.vue
@@ -35,6 +35,9 @@