Skip to content

Commit

Permalink
add success message
Browse files Browse the repository at this point in the history
  • Loading branch information
faxblaster committed Jul 20, 2021
1 parent 62a6cb0 commit 8a4a096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/js/tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -2871,6 +2871,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
this.deleting = true;

Nova.request().post('/nova-vendor/nova-stripe/stripe/charges/' + this.chargeId + '/refund').then(function (response) {
Nova.success('Charge Successfully Refunded!');
_this.$refs.detail.getCharge();
});

Expand Down
1 change: 1 addition & 0 deletions resources/js/views/Detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default {
'/refund'
)
.then((response) => {
Nova.success('Charge Successfully Refunded!');
this.$refs.detail.getCharge();
});
Expand Down

0 comments on commit 8a4a096

Please sign in to comment.