Do not show Invoice or Quote Note under guest view if blank

This commit is contained in:
johnnyq 2022-02-21 22:24:41 -05:00
parent 70c5e22fa1
commit 54dc4d4523
2 changed files with 4 additions and 0 deletions

View File

@ -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">

View File

@ -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">