mirror of https://github.com/itflow-org/itflow
fix missing client extension var in client details page
This commit is contained in:
parent
e80135df3e
commit
35ad7f08d9
|
|
@ -116,14 +116,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php if(!empty($config_smtp_host)){ ?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Email Receipt</label>
|
<label>Email Receipt</label>
|
||||||
<div class="custom-control custom-checkbox">
|
<div class="custom-control custom-checkbox">
|
||||||
<input type="checkbox" class="custom-control-input" id="customControlAutosizing" name="email_receipt" value="1" <?php if(!empty($config_smtp_host)) echo "checked"; ?>>
|
<input type="checkbox" class="custom-control-input" id="customControlAutosizing" name="email_receipt" value="1" checked>
|
||||||
<label class="custom-control-label" for="customControlAutosizing"><?php echo $client_email; ?></label>
|
<label class="custom-control-label" for="customControlAutosizing"><?php echo $client_email; ?></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-footer bg-white">
|
<div class="modal-footer bg-white">
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ if(isset($_GET['client_id'])){
|
||||||
if(strlen($client_phone)>2){
|
if(strlen($client_phone)>2){
|
||||||
$client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4);
|
$client_phone = substr($row['client_phone'],0,3)."-".substr($row['client_phone'],3,3)."-".substr($row['client_phone'],6,4);
|
||||||
}
|
}
|
||||||
|
$client_extension = $row['client_extension'];
|
||||||
$client_mobile = $row['client_mobile'];
|
$client_mobile = $row['client_mobile'];
|
||||||
if(strlen($client_mobile)>2){
|
if(strlen($client_mobile)>2){
|
||||||
$client_mobile = substr($row['client_mobile'],0,3)."-".substr($row['client_mobile'],3,3)."-".substr($row['client_mobile'],6,4);
|
$client_mobile = substr($row['client_mobile'],0,3)."-".substr($row['client_mobile'],3,3)."-".substr($row['client_mobile'],6,4);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue