Skip to content

Commit

Permalink
Update VoucherSetMerchantTeamApproval.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
ok200manami committed Sep 17, 2024
1 parent b801035 commit b960b9f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ function getVoucherSetMerchantTeamApprovalRequest() {
}
function save() {
let string = 'Approve'
if (!approved.value) {
string = 'Reject'
}
Swal.fire({
title: approved.value ? "Are you sure approving?" : "Are you sure rejecting?",
text: "This action cannot be undone. Please confirm if you wish to proceed.",
text: "You are selecting '" + string + "' - any previous approvals or rejections will be overwritten. Sure?",
icon: "warning",
confirmButtonColor: "#3085d6",
confirmButtonText: approved.value ? "Approve voucher set" : "Reject voucher set",
Expand Down

0 comments on commit b960b9f

Please sign in to comment.