bep40 commited on
Commit
94de60f
·
verified ·
1 Parent(s): 73099eb

REMOVE: Xóa fallback exportExcel() - chỉ gọi VAI_QR.exportExcel() trực tiếp

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -749,7 +749,7 @@ textarea.form-input{height:120px;resize:vertical}
749
  <div class="quote-actions">
750
  <button class="quote-btn" onclick="shareQuoteImage()" style="background:#25D366"><i class="fas fa-share-alt"></i> Chia sẻ ảnh</button>
751
  <button class="quote-btn" onclick="shareQuoteLink()" style="background:#0068FF"><i class="fas fa-share-alt"></i> Chia sẻ báo giá</button>
752
- <button class="quote-btn quote-btn-excel" onclick="window.VAI_QR && VAI_QR.exportExcel ? VAI_QR.exportExcel() : exportExcel()"><i class="fas fa-file-excel"></i> Xuất Excel</button>
753
  <button class="quote-btn quote-btn-pdf" onclick="exportPDF()"><i class="fas fa-file-pdf"></i> Xuất PDF</button>
754
  <label class="quote-btn" style="background:#fff;color:#111;border:1px solid #111"><input id="vai-bw-export" type="checkbox" style="width:16px;height:16px;margin-right:6px"> Trắng đen</label>
755
  <button class="quote-btn quote-btn-print" onclick="printQuotation()"><i class="fas fa-print"></i> In báo giá</button>
 
749
  <div class="quote-actions">
750
  <button class="quote-btn" onclick="shareQuoteImage()" style="background:#25D366"><i class="fas fa-share-alt"></i> Chia sẻ ảnh</button>
751
  <button class="quote-btn" onclick="shareQuoteLink()" style="background:#0068FF"><i class="fas fa-share-alt"></i> Chia sẻ báo giá</button>
752
+ <button class="quote-btn quote-btn-excel" onclick="VAI_QR.exportExcel()"><i class="fas fa-file-excel"></i> Xuất Excel</button>
753
  <button class="quote-btn quote-btn-pdf" onclick="exportPDF()"><i class="fas fa-file-pdf"></i> Xuất PDF</button>
754
  <label class="quote-btn" style="background:#fff;color:#111;border:1px solid #111"><input id="vai-bw-export" type="checkbox" style="width:16px;height:16px;margin-right:6px"> Trắng đen</label>
755
  <button class="quote-btn quote-btn-print" onclick="printQuotation()"><i class="fas fa-print"></i> In báo giá</button>