update sentence term yang belum tukar

This commit is contained in:
Ain Izazi
2024-11-09 14:05:46 +08:00
parent f3bdd84330
commit e7ed6d7fa5
21 changed files with 334 additions and 336 deletions
+1 -1
View File
@@ -90,7 +90,7 @@
<div class="bg-white ml-2 shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer">
<router-link to="/akaunhome/upah">
<h2 class="mx-auto text-center font-bold text-2xl uppercase">Upah</h2>
<h2 class="mx-auto text-center font-bold text-2xl uppercase">Keuntungan</h2>
</router-link>
</div>
+9 -9
View File
@@ -3,12 +3,12 @@
<div class="flex w-full">
<div class="xl:w-2/3 2xl:w-1/2 p-8 mx-auto">
<div class="bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg">
<div class="bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg">
<router-link to="/akaunhome">
<i class="fas fa-backspace text-white"></i>
</router-link>
<span class="text-center mx-auto text-white font-bold">Laporan Upah</span>
<span class="text-center mx-auto text-white font-bold">Laporan Keuntungan</span>
</div>
<form method="get" id="formupah" :action="Urlredirect()" target="_blank">
<div class="rounded bg-white shadow p-6">
@@ -22,7 +22,7 @@
<span style="background-color: #F9FAFB" class="text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap">Hingga</span>
<input id="tarikhhingga" name="datehingga" class="border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2" type="date" />
</div>
</div>
</div>
<div class="flex justify-end mt-10">
<button @click.prevent="generatepdf" class=" mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300"><i class="fas fa-file-pdf mr-2"></i>PDF</button>
@@ -47,7 +47,7 @@ export default {
async generatepdf(){
await this.setJenis('pdf');
Vue.swal({
title: 'Memuatkan...',
allowEscapeKey : false,
@@ -62,7 +62,7 @@ export default {
async generateview(){
await this.setJenis('view');
Vue.swal({
title: 'Memuatkan...',
allowEscapeKey : false,
@@ -71,7 +71,7 @@ export default {
showConfirmButton: false,
timer: 8000,
});
document.getElementById("formupah").submit();
},
Urlredirect: function() {
@@ -81,6 +81,6 @@ export default {
return this.jenisgenerate = value;
}
}
}
</script>
</script>
+2 -2
View File
@@ -6,7 +6,7 @@
<button class="bg-yellow-500 p-4 rounded text-white mr-4">Keuntungan Sebenar</button>
</router-link>
<router-link to="/wtd/tambah">
<button class="bg-yellow-500 p-4 rounded text-white">Upah Simpan</button>
<button class="bg-yellow-500 p-4 rounded text-white">Keuntungan Simpan</button>
</router-link>
</div>
</div>
@@ -20,4 +20,4 @@ export default {
<style>
</style>
</style>
+2 -2
View File
@@ -6,7 +6,7 @@
<button class="bg-yellow-500 p-4 rounded text-white mr-4">Keuntungan Sebenar</button>
</router-link>
<router-link to="">
<button class="bg-yellow-200 p-4 rounded text-white">Upah Simpan</button>
<button class="bg-yellow-200 p-4 rounded text-white">Keuntungan Simpan</button>
</router-link>
</div>
</div>
@@ -20,4 +20,4 @@ export default {
<style>
</style>
</style>
+7 -7
View File
@@ -1,15 +1,15 @@
<template>
<div class="container">
<div class="flex w-full">
<div class="xl:w-2/3 2xl:w-1/2 p-8 mx-auto">
<div class="bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg">
<div class="bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg">
<router-link to="/audit">
<i class="fas fa-backspace text-white"></i>
</router-link>
<span class="text-center mx-auto text-white font-bold">Laporan Upah Simpan</span>
<span class="text-center mx-auto text-white font-bold">Laporan Keuntungan Simpan</span>
</div>
<form method="get" id="formpenebusan" target="_blank">
<input :value="$kodcaw" name="kodcaw" hidden/>
@@ -25,7 +25,7 @@
<button @click.prevent="generatepdf" class=" mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300"><i class="fas fa-file-pdf mr-2"></i>PDF</button>
<button @click.prevent="generateview" class="border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300"><i class="fas fa-eye mr-2"></i>View</button>
</div>
</div>
</div>
</div>
</form>
</div>
@@ -50,7 +50,7 @@ export default {
dateFormat: "m-Y", //defaults to "F Y"
altFormat: "F Y", //defaults to "F Y"
})
]
]
},
}
},
@@ -59,4 +59,4 @@ export default {
<style>
</style>
</style>
@@ -1,6 +1,6 @@
<template>
<div>
<transition name="modal-fade">
<div v-if="showModal" class=" overflow-x-hidden overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex">
<div class="relative w-full my-6 mx-auto max-w-6xl">
@@ -21,10 +21,10 @@
<input type="radio" id="bayaran" name="radpendser" value="bayaran" class="hidden focus:bg-gray-500" v-model="selected">
<label for="bayaran" class="cursor-pointer text-gray-500 focus:bg-gray-500 hover:bg-gray-200 focus:outline-none border px-10 py-4 border-solid border-gray-500 rounded">Bayaran</label>
</div>
<div class="mx-2 radio cursor-pointer">
<input type="radio" id="upah" name="radpendser" value="upah" class="hidden focus:bg-gray-500" v-model="selected">
<label for="upah" class="cursor-pointer text-gray-500 focus:bg-gray-500 hover:bg-gray-200 focus:outline-none border px-10 py-4 border-solid border-gray-500 rounded">Upah</label>
<label for="upah" class="cursor-pointer text-gray-500 focus:bg-gray-500 hover:bg-gray-200 focus:outline-none border px-10 py-4 border-solid border-gray-500 rounded">Keuntungan</label>
</div>
<div class="mx-2 radio cursor-pointer">
@@ -101,7 +101,7 @@
</div>
</td>
</tr>
</tbody>
</tbody>
</table>
</div>
<div v-if="selected=='upah'">
@@ -115,10 +115,10 @@
Tarikh
</th>
<th class="px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider">
Upah
Keuntungan
</th>
<th class="px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider">
Action
Tindakan
</th>
</tr>
</thead>
@@ -279,7 +279,7 @@
</tbody>
</table>
</div>
</div>
<!--footer-->
<div class="flex items-center justify-end p-6 border-t border-solid border-blueGray-200 rounded-b">
@@ -395,7 +395,7 @@ export default {
</script>
<style>
.modal-fade-enter,
.modal-fade-leave-to {
opacity: 0;
@@ -405,4 +405,4 @@ export default {
.modal-fade-leave-active {
transition: opacity .5s ease;
}
</style>
</style>