tracker issue fixed
This commit is contained in:
parent
d06f6752a7
commit
58029bb5c7
10
.gitignore
vendored
10
.gitignore
vendored
@ -9,6 +9,12 @@ application/logs/*
|
|||||||
!application/logs/index.html
|
!application/logs/index.html
|
||||||
!application/logs/.htaccess
|
!application/logs/.htaccess
|
||||||
vendor
|
vendor
|
||||||
assets/uploads
|
#assets/uploads/*
|
||||||
assets/uploads/Expence_Bill
|
#assets/uploads/Expence_Bill
|
||||||
|
assets/uploads/Expence_Bill/*
|
||||||
|
assets/uploads/profile_picture/*
|
||||||
|
!assets/uploads/profile_picture/.gitkeep
|
||||||
|
!assets/uploads/Expence_Bill/.gitkeep
|
||||||
|
assets/uploads/logo/*
|
||||||
|
!assets/uploads/logo/.gitkeep
|
||||||
|
|
||||||
|
|||||||
@ -640,3 +640,15 @@ function check_if_exists(id, value, name) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<script>
|
||||||
|
document.getElementById('city').addEventListener('input', function(event) {
|
||||||
|
var cityInput = event.target.value;
|
||||||
|
var regex = /^[A-Za-z\s]+$/; // Allows only letters and spaces
|
||||||
|
|
||||||
|
if (!regex.test(cityInput)) {
|
||||||
|
// Remove any special characters or numbers
|
||||||
|
event.target.value = cityInput.replace(/[^A-Za-z\s]/g, '');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|||||||
@ -132,7 +132,7 @@ public function rise_expence_request()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$error = $this->upload->display_errors();
|
$error = $this->upload->display_errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
$table="expense_child";
|
$table="expense_child";
|
||||||
$create_expence_list = $this->MY_Model->insert($data2,$table);
|
$create_expence_list = $this->MY_Model->insert($data2,$table);
|
||||||
|
|||||||
@ -334,10 +334,11 @@ function matchnum(event)
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
|
$('#user_dropdown').append(response);
|
||||||
$('#user_dropdown').append(response);
|
$('#user_dropdown').prop('required', true);
|
||||||
|
|
||||||
$('#user_dropdown').prop('disabled', false);
|
$('#user_dropdown').prop('disabled', false);
|
||||||
$('#user_dropdown').prop('required', true);
|
|
||||||
},
|
},
|
||||||
error: function(xhr, status, error) {
|
error: function(xhr, status, error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|||||||
@ -47,8 +47,8 @@
|
|||||||
<img style="width: 100%;height: 100%; display: block;"
|
<img style="width: 100%;height: 100%; display: block;"
|
||||||
src="<?php echo base_url(); ?>/assets/uploads/profile_picture/profile.jpg"
|
src="<?php echo base_url(); ?>/assets/uploads/profile_picture/profile.jpg"
|
||||||
alt="Avatar" title="Change the avatar">
|
alt="Avatar" title="Change the avatar">
|
||||||
<input id="file_profile" name="profile_image" class="typeFile1" type="file"
|
<input id="file_profile" name="profile_image" class="typeFile1" type="file" accept=".png, .jpg, .jpeg" hidden />
|
||||||
hidden />
|
|
||||||
<div class="profilepic__content">
|
<div class="profilepic__content">
|
||||||
<span class="profilepic__icon"><i class="fa fa-camera"
|
<span class="profilepic__icon"><i class="fa fa-camera"
|
||||||
style="font-size:25px;color:black"></i></span>
|
style="font-size:25px;color:black"></i></span>
|
||||||
@ -64,7 +64,7 @@
|
|||||||
src="<?php echo base_url();?>/assets/uploads/profile_picture/<?php echo $userData->profile_image ?>"
|
src="<?php echo base_url();?>/assets/uploads/profile_picture/<?php echo $userData->profile_image ?>"
|
||||||
alt="Avatar" title="Change the avatar">
|
alt="Avatar" title="Change the avatar">
|
||||||
<input id="file_profile" name="profile_image" class="typeFile1" type="file"
|
<input id="file_profile" name="profile_image" class="typeFile1" type="file"
|
||||||
hidden />
|
accept=".png, .jpg, .jpeg" hidden />
|
||||||
<div class="profilepic__content">
|
<div class="profilepic__content">
|
||||||
<span class="profilepic__icon"><i class="fa fa-camera"
|
<span class="profilepic__icon"><i class="fa fa-camera"
|
||||||
style="font-size:25px;color:black"></i></span>
|
style="font-size:25px;color:black"></i></span>
|
||||||
|
|||||||
0
assets/uploads/Expence_Bill/.gitkeep
Normal file
0
assets/uploads/Expence_Bill/.gitkeep
Normal file
0
assets/uploads/logo/.gitkeep
Normal file
0
assets/uploads/logo/.gitkeep
Normal file
0
assets/uploads/profile_picture/.gitkeep
Normal file
0
assets/uploads/profile_picture/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user