mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 20:51:09 -04:00
fix report download & payments delete issue
This commit is contained in:
@ -234,11 +234,8 @@ export default {
|
||||
if (!this.getReports()) {
|
||||
return false
|
||||
}
|
||||
if (navigator.appVersion.indexOf('Mac') !== -1) {
|
||||
this.url += '&download=true'
|
||||
} else {
|
||||
window.open(this.getReportUrl + '&download=true')
|
||||
}
|
||||
|
||||
window.open(this.getReportUrl + '&download=true')
|
||||
setTimeout(() => {
|
||||
if (this.selectedType === 'By Customer') {
|
||||
this.url = `${this.customerSiteURL}?from_date=${moment(this.formData.from_date).format('DD/MM/YYYY')}&to_date=${moment(this.formData.to_date).format('DD/MM/YYYY')}`
|
||||
|
||||
Reference in New Issue
Block a user