mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Convert CSS to nl2br() functions where nessesessaery to interept new lines into html code, Tidy Code remove depreciated <center> Tags
This commit is contained in:
@@ -293,7 +293,7 @@ if (isset($_GET['quote_id'])) {
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td><?php echo $item_name; ?></td>
|
||||
<td><div style="white-space:pre-line"><?php echo $item_description; ?></div></td>
|
||||
<td><?php echo nl2br($item_description); ?></td>
|
||||
<td class="text-center"><?php echo $item_quantity; ?></td>
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $item_price, $quote_currency_code); ?></td>
|
||||
<td class="text-right"><?php echo numfmt_format_currency($currency_format, $item_tax, $quote_currency_code); ?></td>
|
||||
@@ -362,7 +362,7 @@ if (isset($_GET['quote_id'])) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div style="white-space:pre-line"><?php echo $quote_note; ?></div>
|
||||
<?php echo nl2br($quote_note); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -391,7 +391,7 @@ if (isset($_GET['quote_id'])) {
|
||||
|
||||
<hr class="d-none d-print-block mt-5">
|
||||
|
||||
<center class="d-none d-print-block" style="white-space:pre-line"><?php echo htmlentities($config_quote_footer); ?></center>
|
||||
<div class="d-none d-print-block text-center"><?php echo nl2br(htmlentities($config_quote_footer)); ?></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user