mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 23:35:45 +00:00
refactor(FE): Remove unused params argument from
generateReportExpensePDF
This commit is contained in:
@@ -30,8 +30,7 @@ const getStatusColor = (action?: string): [number, number, number] => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const generateReportExpensePDF = async (
|
export const generateReportExpensePDF = async (
|
||||||
data: ReportExpense[],
|
data: ReportExpense[]
|
||||||
params: PDFParams
|
|
||||||
): Promise<void> => {
|
): Promise<void> => {
|
||||||
// Inisialisasi dokumen dengan tipe yang sudah diekstensi
|
// Inisialisasi dokumen dengan tipe yang sudah diekstensi
|
||||||
const doc = new jsPDF('l', 'mm', 'a4') as jsPDFWithAutoTable;
|
const doc = new jsPDF('l', 'mm', 'a4') as jsPDFWithAutoTable;
|
||||||
|
|||||||
Reference in New Issue
Block a user