Laravel Vapor - New UI and date filter for long qeury report download

This commit is contained in:
Dillon Ngo
2024-10-26 04:32:17 +08:00
parent 153338704b
commit d7ddd47ef1
@@ -109,7 +109,7 @@ export default {
if (this.validateDateRange()) {
const formattedStartDate = this.formatDate(new Date(this.startDate.split('-').reverse().join('-')));
const formattedEndDate = this.formatDate(new Date(this.endDate.split('-').reverse().join('-')));
const url = `https://exchange.cief-malaysia.com/show-white-form-transactions-in-date-range/${formattedStartDate}/${formattedEndDate}`;
const url = `/show-white-form-transactions-in-date-range/${formattedStartDate}/${formattedEndDate}`;
window.open(url, '_blank');
}
}