Compare commits

...

2 Commits

Author SHA1 Message Date
Ravi Gulhane f6c6df340c Merge branch 'main' of http://192.168.1.200:3000/Stratawiz/Rapport-Laravel
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m42s Details
Keep doctor-attribute autofill for absi_camp and drop the duplicate rtm_dr handler.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 11:40:05 +05:30
Ravi Gulhane 12b98afc35 Zenova Changes 2026-09-21 11:38:41 +05:30
2 changed files with 5 additions and 5 deletions

View File

@ -1138,12 +1138,14 @@ class FormController extends Controller
'fb_live_dr',
'ecme_dr',
'rtm_dr',
'absi_camp',
];
foreach ($contactAttributes as $attr) {
if (isset($post[$attr]) && $post[$attr] !== '') {
$contactdata[$attr] = $post[$attr];
}
}
if (count($contactdata) > 4) {
LambdaRequest::postrequest('contact', 'contact/update', $contactdata, $token[0]->access_token);
}

View File

@ -275,12 +275,10 @@
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
})
/*$('#field-contact_id').change(function() {
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
})*/
$('#field-contact_id').change(function() {
$('#field-absi_camp').val($('option:selected', this).attr('absi_camp'));
$('#field-absi_camp').val(
$('option:selected', this).attr('absi_camp') || ''
);
});