Community Add-Ons
| Maintainers: | shindakun |
Financial Reporting v.01
for osCommerce Online Merchant v2.2
Based on an idea started in the forums: http://forums.oscommerce.com/index.php?showtopic=184127 See the forum topic for more information.
v.01a Change Log
Fix for auto updating Cash Margin Text Box (left out of v.01)
--- .v.01categories.php 2005-12-12 13:11:06.000000000 +0000
+++ .v.01acategories.php 2005-12-13 10:03:06.000000000 +0000
@@ -587,7 +587,7 @@
<?php/* financial reporting start */?>
<tr bgcolor="#ebebff">
<td class="main"><?php echo TEXT_PRODUCTS_COST; ?></td>
- <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_cost', $pInfo->products_cost); ?></td>
+ <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_cost', $pInfo->products_cost, 'OnKeyUp="updateMargin()"'); ?></td>
</tr>
<tr bgcolor="#ebebff">
<td class="main"><?php echo TEXT_PRODUCTS_MARGIN; ?></td>
