sent date
This commit is contained in:
@@ -73,7 +73,12 @@ const API = {
|
||||
body: JSON.stringify({ status })
|
||||
}).then(r => r.json()),
|
||||
getPdf: (id) => window.open(`/api/invoices/${id}/pdf`, '_blank'),
|
||||
getHtml: (id) => window.open(`/api/invoices/${id}/html`, '_blank')
|
||||
getHtml: (id) => window.open(`/api/invoices/${id}/html`, '_blank'),
|
||||
updateSentDates: (id, dates) => fetch(`/api/invoices/${id}/sent-dates`, {
|
||||
method: 'PATCH',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ sent_dates: dates })
|
||||
}).then(r => r.json())
|
||||
},
|
||||
|
||||
// Payment API
|
||||
|
||||
Reference in New Issue
Block a user