Commit e8e4cdb0 by Kang Donghun

always display pdfprint button on reportForm

parent f5a1e637
......@@ -5,7 +5,6 @@
var RF = {};
RF.isQuickReport;
RF.addReportFlg;
/**
......@@ -16,7 +15,6 @@ RF.init = function () {
COMMON.checkAuth(false);
COMMON.checkQuickReport(function (result) {
if (result) {
RF.isQuickReport = result.isQuickReport;
RF.addReportFlg = result.addReportFlg;
}
});
......@@ -122,12 +120,10 @@ RF.initBreadcrumb = function () {
*/
RF.loadMainTitleCallback = function () {
//add dashboard setting item
if (RF.isQuickReport) {
var elmA = $('<div class="quickReportBtn" id="quickReportBtn" onclick="submitForm();">');
let elmImg = $('<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdfPrint">');
elmA.append(elmImg);
$('#mainTitleHeader').after(elmA);
}
var elmA = $('<div class="quickReportBtn" id="quickReportBtn" onclick="submitForm();">');
let elmImg = $('<img src="../common/img/icon_pdf.svg" alt="pdf出力" class="p-1 w-40px" data-toggle="tooltip" data-placement="bottom" title="pdfPrint">');
elmA.append(elmImg);
$('#mainTitleHeader').after(elmA);
};
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment