mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-29 16:17:05 -04:00
Fix employee update (#3239)
This commit is contained in:
@@ -209,9 +209,16 @@ $(document).ready(function()
|
||||
last_name: 'required',
|
||||
username:
|
||||
{
|
||||
<?php
|
||||
if($person_info->person_id == "")
|
||||
{
|
||||
?>
|
||||
remote: "<?php echo site_url($controller_name . '/check_username')?>",
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
required: true,
|
||||
minlength: 5,
|
||||
remote: "<?php echo site_url($controller_name . '/check_username')?>"
|
||||
minlength: 5
|
||||
},
|
||||
password:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user