Minor changes

Replacing main textareas with fixed divs
This commit is contained in:
WShells
2020-11-19 23:47:16 +02:00
committed by jekkos
parent 5dd340d84c
commit ea64e5bb40

View File

@@ -51,7 +51,7 @@ if (isset($error_message))
if(isset($customer))
{
?>
<textarea id="customer" rows="5" cols="6"><?php echo $customer_info ?></textarea>
<div id="customer"><?php echo nl2br($customer_info) ?></div>
<?php
}
?>
@@ -79,7 +79,7 @@ if (isset($error_message))
</div>
<div id="block2">
<textarea id="company-title" rows="5" cols="35"><?php echo $company_info ?></textarea>
<div id="company-title"><?php echo nl2br($company_info) ?></div>
<table id="meta">
<tr>
<td class="meta-head"><?php echo $this->lang->line('sales_quote_number');?> </td>
@@ -124,12 +124,12 @@ if (isset($error_message))
?>
<tr class="item-row">
<td><?php echo $item['item_number']; ?></td>
<td class="item-name"><textarea rows="4" cols="6"><?php echo $item['name']; ?></textarea></td>
<td class="item-name"><div><?php echo $item['name']; ?></div></td>
<td style='text-align:center;'><textarea rows="5" cols="6"><?php echo to_quantity_decimals($item['quantity']); ?></textarea></td>
<td><textarea rows="4" cols="6"><?php echo to_currency($item['price']); ?></textarea></td>
<td style='text-align:center;'><textarea rows="4" cols="6"><?php echo ($item['discount_type']==FIXED)?to_currency($item['discount']):$item['discount'] . '%';?></textarea></td>
<?php if($discount > 0): ?>
<td style='text-align:center;'><textarea rows="4" cols="6"><?php echo to_currency($item['discounted_total'] / $item['quantity']); ?></textarea></td>
<td style='text-align:center;'><textarea rows="4" cols="6"><?php echo to_currency($item['discounted_total'] / $item['quantity']); ?></textarea></td>
<?php endif; ?>
<td style='border-right: solid 1px; text-align:right;'><textarea rows="4" cols="6"><?php echo to_currency($item['discounted_total']); ?></textarea></td>
</tr>