Merge branch 'production' of https://git.rsabhk.co.id/Joko/order_gizi into production
This commit is contained in:
commit
a831b56177
@ -1,4 +1,3 @@
|
||||
|
||||
async function submitOrderToServer(){
|
||||
const totalHarga = hitungTotalHarga();
|
||||
|
||||
@ -137,16 +136,10 @@ async function submitOrderToServer(){
|
||||
</div>
|
||||
`,
|
||||
showConfirmButton: false,
|
||||
showCancelButton: true,
|
||||
cancelButtonText: 'Lewati & Selesai',
|
||||
cancelButtonColor: '#6c757d',
|
||||
customClass: {
|
||||
popup: 'rounded-4',
|
||||
cancelButton: 'px-4 py-2 rounded-3'
|
||||
}
|
||||
}).then(() => {
|
||||
window.location.href = "/success-page"; // kehalaman success
|
||||
});
|
||||
showCancelButton: false,
|
||||
allowOutsideClick: false,
|
||||
allowEscapeKey: false
|
||||
})
|
||||
} else {
|
||||
clearSession()
|
||||
Swal.fire({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user