Fix #216 Updated Currency codes everywhere not just in a few places

This commit is contained in:
johnnyq
2021-12-14 13:00:24 -05:00
parent f2763476a3
commit 78f1e75eda
25 changed files with 134 additions and 134 deletions

View File

@@ -182,9 +182,9 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){
<td><?php echo $item_name; ?></td>
<td><?php echo $item_description; ?></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>
<td class="text-right"><?php echo $client_currency_symbol; ?><?php echo number_format($item_total,2); ?></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>
<td class="text-right"><?php echo $client_currency_symbol; ?> <?php echo number_format($item_total,2); ?></td>
</tr>
<?php
@@ -214,23 +214,23 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){
<tbody>
<tr class="border-bottom">
<td>Subtotal</td>
<td class="text-right"><?php echo $client_currency_symbol; ?><?php echo number_format($sub_total,2); ?></td>
<td class="text-right"><?php echo $client_currency_symbol; ?> <?php echo number_format($sub_total,2); ?></td>
</tr>
<?php if($discount > 0){ ?>
<tr class="border-bottom">
<td>Discount</td>
<td class="text-right"><?php echo $client_currency_symbol; ?><?php echo number_format($quote_discount,2); ?></td>
<td class="text-right"><?php echo $client_currency_symbol; ?> <?php echo number_format($quote_discount,2); ?></td>
</tr>
<?php } ?>
<?php if($total_tax > 0){ ?>
<tr class="border-bottom">
<td>Tax</td>
<td class="text-right"><?php echo $client_currency_symbol; ?><?php echo number_format($total_tax,2); ?></td>
<td class="text-right"><?php echo $client_currency_symbol; ?> <?php echo number_format($total_tax,2); ?></td>
</tr>
<?php } ?>
<tr class="border-bottom">
<td><strong>Total</strong></td>
<td class="text-right"><strong><?php echo $client_currency_symbol; ?><?php echo number_format($quote_amount,2); ?></strong></td>
<td class="text-right"><strong><?php echo $client_currency_symbol; ?> <?php echo number_format($quote_amount,2); ?></strong></td>
</tr>
</tbody>
</table>
@@ -418,15 +418,15 @@ var docDefinition = {
style:'itemQty'
},
{
text:'<?php echo $client_currency_symbol; ?><?php echo number_format($item_price,2); ?>',
text:'<?php echo $client_currency_symbol; ?> <?php echo number_format($item_price,2); ?>',
style:'itemNumber'
},
{
text:'<?php echo $client_currency_symbol; ?><?php echo number_format($item_tax,2); ?>',
text:'<?php echo $client_currency_symbol; ?> <?php echo number_format($item_tax,2); ?>',
style:'itemNumber'
},
{
text: '<?php echo $client_currency_symbol; ?><?php echo number_format($item_total,2); ?>',
text: '<?php echo $client_currency_symbol; ?> <?php echo number_format($item_total,2); ?>',
style:'itemNumber'
}
],
@@ -468,7 +468,7 @@ var docDefinition = {
style:'itemsFooterSubTitle'
},
{
text:'<?php echo $client_currency_symbol; ?><?php echo number_format($sub_total,2); ?>',
text:'<?php echo $client_currency_symbol; ?> <?php echo number_format($sub_total,2); ?>',
style:'itemsFooterSubValue'
}
],
@@ -479,7 +479,7 @@ var docDefinition = {
style:'itemsFooterSubTitle'
},
{
text: '<?php echo $client_currency_symbol; ?><?php echo number_format($total_tax,2); ?>',
text: '<?php echo $client_currency_symbol; ?> <?php echo number_format($total_tax,2); ?>',
style:'itemsFooterSubValue'
}
],
@@ -490,7 +490,7 @@ var docDefinition = {
style:'itemsFooterSubTitle'
},
{
text: '<?php echo $client_currency_symbol; ?><?php echo number_format($quote_amount,2); ?>',
text: '<?php echo $client_currency_symbol; ?> <?php echo number_format($quote_amount,2); ?>',
style:'itemsFooterSubValue'
}
],