Minor UI cleanups started porting selects from bootstrap-select to select2

This commit is contained in:
johnny@pittpc.com
2019-11-22 20:37:55 -05:00
parent a66e2c7e33
commit 328ac67d5b
165 changed files with 167 additions and 161 deletions

View File

@@ -3106,7 +3106,7 @@ if(isset($_POST['add_note'])){
$client_id = intval($_POST['client_id']);
$subject = strip_tags(mysqli_real_escape_string($mysqli,$_POST['subject']));
$note = strip_tags(mysqli_real_escape_string($mysqli,$_POST['note']));
$note = mysqli_real_escape_string($mysqli,$_POST['note']);
mysqli_query($mysqli,"INSERT INTO notes SET note_subject = '$subject', note_body = '$note', note_created_at = NOW(), client_id = $client_id, company_id = $session_company_id");
@@ -3123,7 +3123,7 @@ if(isset($_POST['edit_note'])){
$note_id = intval($_POST['note_id']);
$subject = strip_tags(mysqli_real_escape_string($mysqli,$_POST['subject']));
$note = strip_tags(mysqli_real_escape_string($mysqli,$_POST['note']));
$note = mysqli_real_escape_string($mysqli,$_POST['note']);
mysqli_query($mysqli,"UPDATE notes SET note_subject = '$subject', note_body = '$note', note_updated_at = NOW() WHERE note_id = $note_id AND company_id = $session_company_id");