mirror of https://github.com/itflow-org/itflow
Do not show Invoice or Quote Note under guest view if blank
This commit is contained in:
parent
70c5e22fa1
commit
54dc4d4523
|
|
@ -252,11 +252,13 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){
|
|||
|
||||
<div class="row mb-4">
|
||||
<div class="col-sm-7">
|
||||
<?php if(!empty($invoice_note)){ ?>
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div style="white-space:pre-line"><?php echo $invoice_note; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="col-sm-3 offset-sm-2">
|
||||
<table class="table table-borderless">
|
||||
|
|
|
|||
|
|
@ -206,11 +206,13 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){
|
|||
|
||||
<div class="row mb-4">
|
||||
<div class="col-sm-7">
|
||||
<?php if(!empty($quote_note)){ ?>
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div style="white-space:pre-line"><?php echo $quote_note; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3 offset-sm-2">
|
||||
|
|
|
|||
Loading…
Reference in New Issue