Added edit notes, and added a bunch of delete functionality, fixed edit categories not showing correct type

This commit is contained in:
root
2019-03-22 01:32:34 -04:00
parent bf5b055ad7
commit 62f86df80e
17 changed files with 218 additions and 16 deletions

View File

@@ -0,0 +1,34 @@
<div class="modal fade" id="editClientNoteModal<?php echo $client_note_id; ?>" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><i class="fa fa-edit"></i> Edit Note</h5>
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">&times;</span>
</button>
</div>
<form action="post.php" method="post" autocomplete="off">
<input type="hidden" name="client_note_id" value="<?php echo $client_note_id; ?>">
<div class="modal-body">
<div class="form-group">
<label>Subject</label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-edit"></i></span>
</div>
<input type="text" class="form-control" name="subject" value="<?php echo $client_note_subject; ?>" required>
</div>
</div>
<div class="form-group">
<label>Note</label>
<textarea rows="8" class="form-control" name="note" required><?php echo $client_note_body; ?></textarea>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
<button type="submit" name="edit_client_note" class="btn btn-primary">Save</button>
</div>
</form>
</div>
</div>
</div>