Rework Top Client Details block, renamed standing to billing, moved net terms to billing, added services sections

This commit is contained in:
Johnny 2020-11-24 23:23:44 -05:00
parent ec474cb80e
commit e68ed632c8
2 changed files with 6 additions and 6 deletions

View File

@ -162,13 +162,13 @@ if(isset($_GET['client_id'])){
?>
</div>
<div class="col-md-3 border-left">
<h4 class="text-secondary">Standings</h4>
<h4 class="text-secondary">Billing</h4>
<h6 class="ml-1">Paid <div class="text-secondary float-right">$<?php echo number_format($amount_paid,2); ?></div></h6>
<h6 class="ml-1">Balance <div class="text-secondary float-right">$<?php echo number_format($balance,2); ?></div></h6>
<h6 class="ml-1">Net Terms <div class="text-secondary float-right"><?php echo $client_net_terms; ?> <small>Days</small></div></h6>
</div>
<div class="col-md-2 border-left">
<h4 class="text-secondary">Net Terms</h4>
<h6 class="ml-1"><?php echo $client_net_terms; ?> <small class="text-secondary">Days</small></h6>
<h4 class="text-secondary">Services</h4>
</div>
<div class="col-md-1 border-left">
<div class="dropdown dropleft text-center">

View File

@ -88,9 +88,9 @@
<span class="input-group-text"><i class="fa fa-fw fa-flag"></i></span>
</div>
<select class="form-control select2" name="state">
<?php foreach($states_array as $state_abbr => $state_name) { ?>
<option <?php if($location_state == $state_abbr) { echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
<?php } ?>
<?php foreach($states_array as $state_abbr => $state_name) { ?>
<option <?php if($location_state == $state_abbr) { echo "selected"; } ?> value="<?php echo $state_abbr; ?>"><?php echo $state_name; ?></option>
<?php } ?>
</select>
</div>
</div>