|
From: <os...@us...> - 2011-09-09 14:00:01
|
Revision: 3804
http://oscss.svn.sourceforge.net/oscss/?rev=3804&view=rev
Author: oscim
Date: 2011-09-09 13:59:55 +0000 (Fri, 09 Sep 2011)
Log Message:
-----------
correction coquille
Modified Paths:
--------------
trunk/catalog/admin/includes/gabarit/orders/display_view.edit.gab
trunk/catalog/includes/classes/checkout_process.php
Modified: trunk/catalog/admin/includes/gabarit/orders/display_view.edit.gab
===================================================================
--- trunk/catalog/admin/includes/gabarit/orders/display_view.edit.gab 2011-09-08 21:59:01 UTC (rev 3803)
+++ trunk/catalog/admin/includes/gabarit/orders/display_view.edit.gab 2011-09-09 13:59:55 UTC (rev 3804)
@@ -101,7 +101,7 @@
</td>
<?php endif; ?>
<td class="tleft"><a href="javascript: updateProduct('<?php echo orders::$oID ?> ', '<?php orders::$order->products[$i]['id'] ?> ', 'products_quantity', 'update', '', ' <?php echo orders::$order->products[$i]['qty'] ?> ');"><?php echo orders::$order->products[$i]['qty'] . ' x' ?></a></td>
- <td class="tleft"><?php echo orders::$order->products[$i]['name'].tep_draw_attribute_products(orders::$order,$i).' ' ?></td>
+ <td class="tleft"><span class="fleft"><?php echo orders::$order->products[$i]['name'] ?></span> <?php echo tep_draw_attribute_products(orders::$order,$i).' ' ?></td>
<td class="tcenter"><?php echo orders::$order->products[$i]['model'] ?></td>
<td class="tcenter"><?php echo tep_display_tax_value(orders::$order->products[$i]['tax']) . '%' ?></td>
<td class="tcenter"><?php echo $price->format(orders::$order->products[$i]['final_price'], true, orders::$order->info['currency'], orders::$order->info['currency_value']) ?></td>
Modified: trunk/catalog/includes/classes/checkout_process.php
===================================================================
--- trunk/catalog/includes/classes/checkout_process.php 2011-09-08 21:59:01 UTC (rev 3803)
+++ trunk/catalog/includes/classes/checkout_process.php 2011-09-09 13:59:55 UTC (rev 3804)
@@ -712,11 +712,9 @@
'products_tax' => tep_db_input($order->products[$i]['tax']),
'products_quantity' => (int)$order->products[$i]['qty'],
'products_stock_attributes' => tep_db_input($products_stock_attributes) );
- tep_db_perform(self::$tables['PRODUCTS'], $sql_data_array);
+ $res2=tep_db_perform(self::$tables['PRODUCTS'], $sql_data_array);
+ $order_products_id = tep_db_insert_id($res2);
- $cs_s=tep_db_query("select orders_products_id from " . self::$tables['PRODUCTS'] . " where orders_id='".(int)$this->the_order_id."' and products_id='".tep_get_prid($order->products[$i]['id'])."' and final_price='".tep_db_input($order->products[$i]['final_price'])."' order by orders_products_id DESC LIMIT 1 ");
- $cs=tep_db_fetch_array($cs_s);
- $order_products_id=$cs['orders_products_id'];
return $order_products_id;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|