mirror of
https://github.com/itflow-org/itflow
synced 2026-03-15 18:24:50 +00:00
Added Border on top of Card headers in Client Top Header
This commit is contained in:
52
clients.php
52
clients.php
@@ -202,25 +202,24 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<h6><a class="font-weight-bold" href="client_overview.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?> <i class="fas fa-fw fa-arrow-circle-right"></i></a></h6>
|
<a class="font-weight-bold" href="client_overview.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?> <i class="fas fa-fw fa-arrow-circle-right"></i></a>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (!empty($client_type)) {
|
if (!empty($client_type)) {
|
||||||
?>
|
?>
|
||||||
<div class="text-secondary">
|
<div class="text-secondary mt-1">
|
||||||
<?php echo $client_type; ?>
|
<?php echo $client_type; ?>
|
||||||
</div>
|
|
||||||
<?php } ?>
|
|
||||||
<?php
|
|
||||||
if (!empty($client_tags_display)) { ?>
|
|
||||||
<div class="mt-1">
|
|
||||||
<?php echo $client_tags_display; ?>
|
|
||||||
</div>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<div class="mt-1 text-secondary">
|
|
||||||
<strong>Created:</strong> <?php echo $client_created_at; ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<?php
|
||||||
|
if (!empty($client_tags_display)) { ?>
|
||||||
|
<div class="mt-1">
|
||||||
|
<?php echo $client_tags_display; ?>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<div class="mt-1 text-secondary">
|
||||||
|
<small><strong>Created:</strong> <?php echo $client_created_at; ?></small>
|
||||||
|
</div>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td><?php echo $location_address_display; ?></td>
|
<td><?php echo $location_address_display; ?></td>
|
||||||
@@ -231,24 +230,29 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($contact_name)) { ?>
|
if (!empty($contact_name)) { ?>
|
||||||
<i class="fa fa-fw fa-user text-secondary mr-2 mb-2"></i><strong><?php echo $contact_name; ?></strong>
|
<div>
|
||||||
<br>
|
<i class="fa fa-fw fa-user text-secondary mr-2 mb-2"></i><?php echo $contact_name; ?>
|
||||||
|
</div>
|
||||||
<?php } else {
|
<?php } else {
|
||||||
echo "-";
|
echo "-";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($contact_phone)) { ?>
|
if (!empty($contact_phone)) { ?>
|
||||||
<i class="fa fa-fw fa-phone text-secondary mr-2 mb-2"></i><?php echo $contact_phone; ?> <?php if (!empty($contact_extension)) { echo "x$contact_extension"; } ?>
|
<div class="mt-1">
|
||||||
<br>
|
<i class="fa fa-fw fa-phone text-secondary mr-2 mb-2"></i><?php echo $contact_phone; ?> <?php if (!empty($contact_extension)) { echo "x$contact_extension"; } ?>
|
||||||
|
</div>
|
||||||
<?php }
|
<?php }
|
||||||
|
|
||||||
if (!empty($contact_mobile)) { ?>
|
if (!empty($contact_mobile)) { ?>
|
||||||
<i class="fa fa-fw fa-mobile-alt text-secondary mr-2"></i><?php echo $contact_mobile; ?>
|
<div class="mt-1">
|
||||||
<br>
|
<i class="fa fa-fw fa-mobile-alt text-secondary mr-2"></i><?php echo $contact_mobile; ?>
|
||||||
|
</div>
|
||||||
<?php }
|
<?php }
|
||||||
|
|
||||||
if (!empty($contact_email)) { ?>
|
if (!empty($contact_email)) { ?>
|
||||||
<i class="fa fa-fw fa-envelope text-secondary mr-2"></i><a href="mailto:<?php echo $contact_email; ?>"><?php echo $contact_email; ?></a><button class='btn btn-sm clipboardjs' data-clipboard-text='<?php echo $contact_email; ?>'><i class='far fa-copy text-secondary'></i></button>
|
<div class="mt-1">
|
||||||
|
<i class="fa fa-fw fa-envelope text-secondary mr-2"></i><a href="mailto:<?php echo $contact_email; ?>"><?php echo $contact_email; ?></a><button class='btn btn-sm clipboardjs' data-clipboard-text='<?php echo $contact_email; ?>'><i class='far fa-copy text-secondary'></i></button>
|
||||||
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|||||||
@@ -31,13 +31,15 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="collapse show" id="Collapse">
|
<div class="collapse show" id="Collapse">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md">
|
<div class="col-md border-top">
|
||||||
<h5 class="text-secondary">Primary Location</h5>
|
<h5 class="text-secondary mt-1">Primary Location</h5>
|
||||||
<?php if (!empty($location_address)) { ?>
|
<?php if (!empty($location_address)) { ?>
|
||||||
<div>
|
<div>
|
||||||
<a href="//maps.<?php echo $session_map_source; ?>.com/?q=<?php echo "$location_address $location_zip"; ?>" target="_blank">
|
<a href="//maps.<?php echo $session_map_source; ?>.com/?q=<?php echo "$location_address $location_zip"; ?>" target="_blank">
|
||||||
@@ -62,8 +64,8 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md border-left">
|
<div class="col-md border-left border-top">
|
||||||
<h5 class="text-secondary">Primary Contact</h5>
|
<h5 class="text-secondary mt-1">Primary Contact</h5>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!empty($contact_name)) { ?>
|
if (!empty($contact_name)) { ?>
|
||||||
@@ -104,8 +106,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if ($session_user_role == 1 || $session_user_role == 3 && $config_module_enable_accounting == 1) { ?>
|
<?php if ($session_user_role == 1 || $session_user_role == 3 && $config_module_enable_accounting == 1) { ?>
|
||||||
<div class="col-md border-left">
|
<div class="col-md border-left border-top">
|
||||||
<h5 class="text-secondary">Billing</h5>
|
<h5 class="text-secondary mt-1">Billing</h5>
|
||||||
<div class="ml-1 text-secondary">Hourly Rate
|
<div class="ml-1 text-secondary">Hourly Rate
|
||||||
<span class="text-dark float-right"> <?php echo numfmt_format_currency($currency_format, $client_rate, $client_currency_code); ?></span>
|
<span class="text-dark float-right"> <?php echo numfmt_format_currency($currency_format, $client_rate, $client_currency_code); ?></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -130,8 +132,8 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md border-left">
|
<div class="col-md border-left border-top">
|
||||||
<h5 class="text-secondary">Support</h5>
|
<h5 class="text-secondary mt-1">Support</h5>
|
||||||
<div class="ml-1 text-secondary">Open Tickets
|
<div class="ml-1 text-secondary">Open Tickets
|
||||||
<span class="text-dark float-right"><?php echo $num_active_tickets; ?></span>
|
<span class="text-dark float-right"><?php echo $num_active_tickets; ?></span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user