-
@@ -7621,18 +7620,18 @@
$('#editpackagingcalmodel').on('hidden.bs.modal', function() {
-$('#EDITCAPITAL').modal('show');
-$('.modal-backdrop').remove();
+ $('#EDITCAPITAL').modal('show');
+ $('.modal-backdrop').remove();
-// console.log($('#edit'+tempUserId));
+ // console.log($('#edit'+tempUserId));
-// $('#edit'+tempUserId).click();
-});
-$('#packagingcalmodel').on('hidden.bs.modal', function() {
-console.log("add form ");
+ // $('#edit'+tempUserId).click();
+ });
+ $('#packagingcalmodel').on('hidden.bs.modal', function() {
+ console.log("add form ");
-$('#CAPITAL').modal('show');
-});
+ $('#CAPITAL').modal('show');
+ });
function calculateFreightlocaddper() {
@@ -7776,20 +7775,20 @@ $('#CAPITAL').modal('show');
var Calculation = document.querySelector('input[name = "editoptPackaging"]:checked').value;
var FreightType = $("#drpFreighteditloc").val();
$('#editpackagingcalmodel').modal('hide');
- $('.modal-backdrop').remove();
+ $('.modal-backdrop').remove();
$('#EDITCAPITAL').modal('show');
if (!document.getElementById('modalScrollCSS')) {
- var style = document.createElement('style');
- style.id = 'modalScrollCSS'; // Assign an ID to the style tag to avoid duplicates
- style.innerHTML = `
+ var style = document.createElement('style');
+ style.id = 'modalScrollCSS'; // Assign an ID to the style tag to avoid duplicates
+ style.innerHTML = `
/* Force scroll by setting a max height */
.modal-body {
max-height: 540px;
overflow-y: auto;
}
`;
- document.head.appendChild(style); // Append the CSS to the head
- }
+ document.head.appendChild(style); // Append the CSS to the head
+ }
if (FreightType == '') {