update crm
This commit is contained in:
@@ -130,8 +130,10 @@ $(document).on('click',".customer_tr",function(){
|
||||
$('.selectpicker > option[value="'+data.membership_type+'"]').attr('selected','selected');
|
||||
if (data.gender == 'Male') {
|
||||
$('.male').prop( "checked", true )
|
||||
$('.female').prop( "checked", false )
|
||||
}else{
|
||||
$('.female').prop( "checked", true )
|
||||
$('.male').prop( "checked", false )
|
||||
}
|
||||
|
||||
if(data.salutation == 'Mr') {
|
||||
@@ -152,7 +154,6 @@ $(document).on('click',".customer_tr",function(){
|
||||
|
||||
$("#new_customer").attr('class', 'simple_form edit_customer');
|
||||
var id = "edit_customer_"+customer_id;
|
||||
alert(id)
|
||||
$("#new_customer").attr('id', id);
|
||||
|
||||
$(".edit_customer").attr('id', id);
|
||||
|
||||
Reference in New Issue
Block a user