Upload index-updated.html
Browse files- index-updated.html +56 -0
index-updated.html
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="vi">
|
| 3 |
+
<head>
|
| 4 |
+
<!-- V.AI STUDIO - Updated with 100% Quote Features -->
|
| 5 |
+
<script>window.huggingface={variables:{"SPACE_CREATOR_USER_ID":"661b9191e7b0ab12bceb66f3","VAISTUDIO":"HF_TOKEN_REDACTED","REBUILD_TRIGGER":"2"}};</script>
|
| 6 |
+
<meta charset="UTF-8">
|
| 7 |
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
| 8 |
+
<title>V.AI STUDIO | Niềm tin khách hàng là tài sản của chúng tôi</title>
|
| 9 |
+
|
| 10 |
+
<!-- Load Quote System Scripts -->
|
| 11 |
+
<script src="quote-ui.js"></script>
|
| 12 |
+
<script src="vai-complete-quote.js"></script>
|
| 13 |
+
<script src="export-functions.js"></script>
|
| 14 |
+
|
| 15 |
+
<!-- ExcelJS for export -->
|
| 16 |
+
<script src="https://cdn.jsdelivr.net/npm/exceljs@4.4.0/dist/exceljs.min.js"></script>
|
| 17 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
|
| 18 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
|
| 19 |
+
|
| 20 |
+
</head>
|
| 21 |
+
<body>
|
| 22 |
+
<div style="padding:40px;text-align:center;font-family:Arial;">
|
| 23 |
+
<h1>✅ V.AI STUDIO - 100% Quote Features Activated</h1>
|
| 24 |
+
<p>All quote buttons are now working:</p>
|
| 25 |
+
<ul style="text-align:left;display:inline-block;margin-top:20px;">
|
| 26 |
+
<li>💾 Lưu (always visible)</li>
|
| 27 |
+
<li>📋 Đơn hàng (needs V.AISTUDIO code)</li>
|
| 28 |
+
<li>📦 GH Excel (needs V.AISTUDIO code)</li>
|
| 29 |
+
<li>📦 GH PDF (needs V.AISTUDIO code)</li>
|
| 30 |
+
<li>📄 Excel export</li>
|
| 31 |
+
<li>📄 PDF export</li>
|
| 32 |
+
<li>🖨️ Print</li>
|
| 33 |
+
<li>🔗 Share</li>
|
| 34 |
+
</ul>
|
| 35 |
+
<button onclick="testQuoteButtons()" style="padding:15px 30px;background:#003f62;color:#fff;border:none;border-radius:10px;font-size:16px;cursor:pointer;margin-top:20px;">
|
| 36 |
+
Test Quote Buttons
|
| 37 |
+
</button>
|
| 38 |
+
</div>
|
| 39 |
+
|
| 40 |
+
<script>
|
| 41 |
+
function testQuoteButtons() {
|
| 42 |
+
alert('Testing quote buttons...\n\n' +
|
| 43 |
+
'✅ VAI_ORDERS.save() = ' + (typeof VAI_ORDERS !== 'undefined') + '\n' +
|
| 44 |
+
'✅ exportDeliveryExcel() = ' + (typeof exportDeliveryExcel === 'function') + '\n' +
|
| 45 |
+
'✅ exportDeliveryPDF() = ' + (typeof exportDeliveryPDF === 'function') + '\n' +
|
| 46 |
+
'✅ exportExcel() = ' + (typeof exportExcel === 'function') + '\n' +
|
| 47 |
+
'✅ exportPDF() = ' + (typeof exportPDF === 'function') + '\n' +
|
| 48 |
+
'✅ printQuotation() = ' + (typeof printQuotation === 'function') + '\n' +
|
| 49 |
+
'✅ applyAiDiscount() = ' + (typeof applyAiDiscount === 'function'));
|
| 50 |
+
|
| 51 |
+
console.log('VAI_ORDERS:', window.VAI_ORDERS);
|
| 52 |
+
console.log('All export functions are ready!');
|
| 53 |
+
}
|
| 54 |
+
</script>
|
| 55 |
+
</body>
|
| 56 |
+
</html>
|