Invoice/Quote/Recurring now render Item Description and Notes with new lines if when a new line is formed during entry

This commit is contained in:
johnnyq
2022-01-19 13:07:05 -05:00
parent 9c7a87aa23
commit 4a8f399dc4
5 changed files with 10 additions and 10 deletions

View File

@@ -243,7 +243,7 @@ if(isset($_GET['quote_id'])){
<a class="text-danger" href="post.php?delete_quote_item=<?php echo $item_id; ?>"><i class="fa fa-fw fa-trash-alt"></i></a>
</td>
<td><?php echo $item_name; ?></td>
<td><?php echo $item_description; ?></td>
<td><div style="white-space:pre-line"><?php echo $item_description; ?></div></td>
<td class="text-center"><?php echo $item_quantity; ?></td>
<td class="text-right"><?php echo $client_currency_symbol; ?> <?php echo number_format($item_price,2); ?></td>
<td class="text-right"><?php echo $client_currency_symbol; ?> <?php echo number_format($item_tax,2); ?></td>
@@ -310,7 +310,7 @@ if(isset($_GET['quote_id'])){
</div>
</div>
<div class="card-body">
<?php echo $quote_note; ?>
<div style="white-space:pre-line"><?php echo $quote_note; ?></div>
</div>
</div>
</div>