mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-03 22:13:18 -05:00 
			
		
		
		
	add sweetalert on actions and update icon
This commit is contained in:
		@ -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) => {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user