-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Contact Notes / Interactions - Create an Add Model and displ…
…ay cpontact notes under contact details
- Loading branch information
Showing
4 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<div class="modal" id="createContactNoteModal<?php echo $contact_id; ?>" tabindex="-1"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content bg-dark"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title"><i class="fa fa-fw fa-sticky-note mr-2"></i>Creating note: <strong><?php echo $contact_name; ?></strong></h5> | ||
<button type="button" class="close text-white" data-dismiss="modal"> | ||
<span>×</span> | ||
</button> | ||
</div> | ||
<form action="post.php" method="post" autocomplete="off"> | ||
<input type="hidden" name="contact_id" value="<?php echo $contact_id; ?>"> | ||
|
||
<div class="modal-body bg-white"> | ||
|
||
<div class="form-group"> | ||
<label>Type</label> | ||
<div class="input-group"> | ||
<div class="input-group-prepend"> | ||
<span class="input-group-text"><i class="fa fa-fw fa-comment"></i></span> | ||
</div> | ||
<select class="form-control select2" name="type"> | ||
<option>Call</option> | ||
<option>Email</option> | ||
<option>Meeting</option> | ||
<option>In Person</option> | ||
<option>Note</option> | ||
</select> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<textarea class="form-control" rows="6" name="note" placeholder="Notes, eg Personal tidbits to spark convo, temperment, etc"></textarea> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="modal-footer bg-white"> | ||
<button type="submit" name="add_contact_note" class="btn btn-primary text-bold"><i class="fas fa-check mr-2"></i>Create</button> | ||
<button type="button" class="btn btn-light" data-dismiss="modal"><i class="fa fa-times mr-2"></i>Cancel</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters