add sweetalert on actions and update icon

This commit is contained in:
bansarishukla
2019-11-12 17:55:51 +05:30
parent 0fbc26bbe1
commit 1d08b3d47e
19 changed files with 222 additions and 71 deletions

View File

@ -130,7 +130,7 @@ export const markAsRejected = ({ commit, dispatch, state }, data) => {
export const markAsSent = ({ commit, dispatch, state }, data) => {
return new Promise((resolve, reject) => {
window.axios.post(`/api/estimates/sent`, data).then((response) => {
window.axios.post(`/api/estimates/mark-as-sent`, data).then((response) => {
// commit(types.UPDATE_INVOICE, response.data)
resolve(response)
}).catch((err) => {