@@ -424,14 +424,14 @@
minimumFractionDigits: 0,
});
- $('#total').val(formatter.format(total));
+ $('#total2').val(formatter.format(total));
});
// Uncheck all checkboxes when the modal is closed
$('#finalApproveModal').on('hidden.bs.modal', function () {
$('.custom-control-input').prop('checked', false); // Uncheck all checkboxes
- $('#total').val('0'); // Reset total to 0
+ $('#total2').val('0'); // Reset total to 0
});
@endsection
diff --git a/resources/views/backend/pages/forms/upcountry/view.blade.php b/resources/views/backend/pages/forms/upcountry/view.blade.php
index 8da6196..d02c1d4 100644
--- a/resources/views/backend/pages/forms/upcountry/view.blade.php
+++ b/resources/views/backend/pages/forms/upcountry/view.blade.php
@@ -277,8 +277,8 @@
-
-
+
+
@@ -455,14 +455,14 @@
minimumFractionDigits: 0,
});
- $('#total').val(formatter.format(total));
+ $('#total2').val(formatter.format(total));
});
// Uncheck all checkboxes when the modal is closed
$('#finalApproveModal').on('hidden.bs.modal', function () {
$('.custom-control-input').prop('checked', false); // Uncheck all checkboxes
- $('#total').val('0'); // Reset total to 0
+ $('#total2').val('0'); // Reset total to 0
});
@endsection