faktor pendukung support pdf
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
Desc. : JS - Validasi Faktor Pendukung OPD
|
||||
Created By : Siau Pheng ([email protected]).
|
||||
Created Date : December 7th, 2011.
|
||||
Last Modified : September 15th, 2026.
|
||||
Last Modified : September 16th, 2026.
|
||||
|
||||
(c) 2011 - 2026, 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
@@ -91,6 +91,12 @@ var ValidFaktorOPDJS = {
|
||||
dload.download();
|
||||
},
|
||||
|
||||
matrik_open_pdf: function(nfile){
|
||||
var dpdf = new cPDF(nfile);
|
||||
dpdf.set_zoom(100);
|
||||
dpdf.showPDF();
|
||||
},
|
||||
|
||||
data_query: function(tipe, mode){
|
||||
if (tipe=="tabel-opd"){
|
||||
new Request.JSONF({
|
||||
|
||||
Reference in New Issue
Block a user