If no contact selected give option to add one under ticket details
This commit is contained in:
+10
-5
@@ -476,10 +476,13 @@ if (isset($_GET['ticket_id'])) {
|
||||
</div>
|
||||
|
||||
<!-- Client contact card -->
|
||||
<?php if (!empty($contact_id)) { ?>
|
||||
|
||||
<div class="card card-body card-outline card-dark mb-3">
|
||||
<div>
|
||||
<h4 class="text-secondary">Contact</h4>
|
||||
|
||||
<?php if (!empty($contact_id)) { ?>
|
||||
|
||||
<span class="">
|
||||
<i class="fa fa-fw fa-user text-secondary ml-1 mr-2 mb-2"></i><a href="#" data-toggle="modal" data-target="#editTicketContactModal<?php echo $ticket_id; ?>"><strong><?php echo $contact_name; ?></strong></a>
|
||||
</span>
|
||||
@@ -551,11 +554,13 @@ if (isset($_GET['ticket_id'])) {
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
<div><a href="#" data-toggle="modal" data-target="#editTicketContactModal<?php echo $ticket_id; ?>"><i class="fa fa-fw fa-plus mr-2"></i>Add a Contact</a></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Ticket watchers card -->
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user