-
@@ -293,18 +376,27 @@ document.addEventListener("DOMContentLoaded", function () {
if (ticketsTable.length) {
ticketsTable.DataTable({
- // scrollX: true,
- dom: "<'row'<'col-sm-6'f><'col-sm-5 text-right'B>>" + // Filter left, buttons right
+ scrollX: true,
+ dom: "<'row'<'col-sm-7'f><'col-sm-5 text-right'B>>" + // Filter left, buttons right
"<'row'<'col-sm-12'tr>>" +
"<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector
- buttons: [{
- extend: 'csv',
- text: 'CSV',
- title: 'Policy-Tranction-Inception-List',
- exportOptions: {
- columns: ':not(:last-child)'
- },
- }, ],
+ buttons: [
+ {
+ extend: 'csv',
+ text: 'CSV',
+ title: 'Policy-Tranction-Inception-List',
+ exportOptions: {
+ columns: ':not(:last-child)'
+ },
+ },
+ {
+ text: 'Add',
+ className: 'buttons-html5 addbtnStyle',
+ action: function (e, dt, node, config) {
+ openLeadTypeAskModal();
+ }
+ }
+ ],
language: {
search: "_INPUT_",
searchPlaceholder: "Search..."
@@ -327,7 +419,8 @@ document.addEventListener("DOMContentLoaded", function () {
console.log('function called')
- let Lead_type = $('#openLeadTypeAskModal').val()
+ // let Lead_type = $('#openLeadTypeAskModal').val()
+ let Lead_type = $('input[name="lead_form_type"]:checked').val();
console.log('Lead_type ', Lead_type)
let url = '=base_url('/util/getLeadNonEB/')?>' + Lead_type
console.log('url ', url)
@@ -346,3 +439,32 @@ document.addEventListener("DOMContentLoaded", function () {
}
+
+
diff --git a/app/Views/leads_non_eb.php b/app/Views/leads_non_eb.php
index 0dc44253..04e0a15d 100644
--- a/app/Views/leads_non_eb.php
+++ b/app/Views/leads_non_eb.php
@@ -363,7 +363,7 @@
diff --git a/app/Views/view_rfq.php b/app/Views/view_rfq.php
index c6f1d3b4..83daa218 100644
--- a/app/Views/view_rfq.php
+++ b/app/Views/view_rfq.php
@@ -42,13 +42,13 @@
#rfqTable th:nth-child(-n+3),
#rfqTable td:nth-child(-n+3) {
- border: 3px solid snow;
+ border: 2px solid #007bff;
}
#rfqTable th:nth-child(n+4),
#rfqTable td:nth-child(n+4) {
border: 2px solid #007bff;
- /* outline: none; */
+ outline: none;
}
#rfqTable thead th {
@@ -59,6 +59,7 @@
#rfqTable_for_calc th,
#rfqTable_for_calc td {
border: 2px solid #007bff;
+
}
/* Remove border from first 2 and last column */
@@ -240,11 +241,26 @@
border: none !important;
}
+ .save-indicator {
+ position: absolute;
+ top: 10px;
+ right: 10px;
+ background: #28a745;
+ color: white;
+ padding: 2px 8px;
+ border-radius: 10px;
+ font-size: 11px;
+ opacity: 0;
+ transition: opacity 0.3s;
+ }
+
+ .save-indicator.show {
+ opacity: 1;
+ }
+
-
-
@@ -277,13 +293,14 @@
+
Saved
- | SnoS.No. |
- Item Key |
- Particulars |
+ SnoS.No. |
+ Item Key |
+ Particulars |
Proposal 1Proposal Coverage 1
@@ -301,14 +318,14 @@
|
- Action |
+ Action |
- | - |
- - |
- - |
+ - |
+ - |
+ - |
Quote AskedQuote Asked |
- - |
+ - |
@@ -446,7 +463,7 @@