faktor pendukung support pdf

This commit is contained in:
2026-09-16 14:32:12 +07:00
parent 202c83d7aa
commit d1aefebad0
4 changed files with 18 additions and 7 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
Desc. : JS - Kelola Faktor Pendukung OPD
Created By : Siau Pheng ([email protected]).
Created Date : December 7th, 2011.
Last Modified : September 7th, 2026.
Last Modified : September 16th, 2026.
(c) 2011 - 2026, 3FONIA Software; WWW.3FONIA.COM.
@@ -104,7 +104,7 @@ var FaktorOPDJS = {
.find('#butSimpanFaktor').click((e) => this.faktor_save()).end()
.find('#butMatrikDown').click((e) => this.matrik_download()).end()
.find('#FileMatrik1').off('change').change(() => {
const allow_ext = ['xls', 'xlsx'];
const allow_ext = ['xls', 'xlsx', 'pdf'];
var fd = new FormData(), files = $('#FileMatrik1')[0].files[0];
var filext = files.name.split('.').pop().toLowerCase();
if ($.inArray(filext, allow_ext) === -1) {