mirror of https://github.com/itflow-org/itflow
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:
parent
9c7a87aa23
commit
4a8f399dc4
|
|
@ -226,7 +226,7 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){
|
|||
|
||||
<tr>
|
||||
<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>
|
||||
|
|
@ -250,7 +250,7 @@ if(isset($_GET['invoice_id'], $_GET['url_key'])){
|
|||
<div class="col-sm-7">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<?php echo $invoice_note; ?>
|
||||
<div style="white-space:pre-line"><?php echo $invoice_note; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){
|
|||
|
||||
<tr>
|
||||
<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>
|
||||
|
|
@ -204,7 +204,7 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){
|
|||
<div class="col-sm-7">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<?php echo $quote_note; ?>
|
||||
<div style="white-space:pre-line"><?php echo $quote_note; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ if(isset($_GET['invoice_id'])){
|
|||
<a class="text-danger" href="post.php?delete_invoice_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>
|
||||
|
|
@ -345,7 +345,7 @@ if(isset($_GET['invoice_id'])){
|
|||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<?php echo $invoice_note; ?>
|
||||
<div style="white-space:pre-line"><?php echo $invoice_note; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ if(isset($_GET['recurring_id'])){
|
|||
<a class="text-danger" href="post.php?delete_recurring_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 get_currency_symbol($client_currency_code); ?> <?php echo number_format($item_price,2); ?></td>
|
||||
<td class="text-right"><?php echo get_currency_symbol($client_currency_code); ?> <?php echo number_format($item_tax,2); ?></td>
|
||||
|
|
@ -278,7 +278,7 @@ if(isset($_GET['recurring_id'])){
|
|||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<?php echo $recurring_note; ?>
|
||||
<div style="white-space:pre-line"><?php echo $recurring_note; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue