From ffcb49d46de2de26d2de03cc0ba8615d44219cbf Mon Sep 17 00:00:00 2001 From: Wikzyy Date: Sun, 18 May 2025 14:42:07 +0700 Subject: [PATCH] update template batch upload disbursement --- ...upload-batch.xlsx => upload-batch-template.xlsx} | Bin .../history-transaction/blocks/ListToolbar.tsx | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename public/media/file-templates/{template-of-upload-batch.xlsx => upload-batch-template.xlsx} (100%) diff --git a/public/media/file-templates/template-of-upload-batch.xlsx b/public/media/file-templates/upload-batch-template.xlsx similarity index 100% rename from public/media/file-templates/template-of-upload-batch.xlsx rename to public/media/file-templates/upload-batch-template.xlsx diff --git a/src/pages/disbursement/history-transaction/blocks/ListToolbar.tsx b/src/pages/disbursement/history-transaction/blocks/ListToolbar.tsx index a4c2495..3ad1afd 100644 --- a/src/pages/disbursement/history-transaction/blocks/ListToolbar.tsx +++ b/src/pages/disbursement/history-transaction/blocks/ListToolbar.tsx @@ -22,7 +22,7 @@ const ListToolbar = () => { settrxDate({ from: formatDate(today), - to: formatDate(nextWeek) + to: formatDate(nextWeek) }); }, []); @@ -37,7 +37,7 @@ const ListToolbar = () => { const handleExportData = () => { const link = document.createElement('a'); - link.href = toAbsoluteUrl('/media/file-templates/template-of-upload-batch.xlsx'); + link.href = toAbsoluteUrl('/media/file-templates/upload-batch-template.xlsx'); link.download = 'upload-batch-template.xlsx'; document.body.appendChild(link); link.click();