20a21 > 43c44 < $form['panes']['payment']['shown_total']['#suffix'] = '
'.t('based on current French VAT, round up/down to the nearest cent , applied on total price').'
'; --- > $form['panes']['payment']['shown_total']['#suffix'] = ''.t('VAT is round up/down to the nearest real amount then applied on total price').'
'; 52c53 < --- > 55c56 < --- > 57a59,61 > $option->price = $option->price + ($option->price * _uc_product_taxes_calculate($node)); > $option->price = round($option->price, 2); > 59,63c63,64 < case 'total': < $option->price = $option->price + ($option->price * _uc_product_taxes_calculate($node)); < $option->price = round($option->price, 2); < < $display_price = ', '. uc_currency_format($node->sell_price + $option->price); --- > case 'total': > $display_price = ', '.$node->sell_price.'+'.$option->price.'='. uc_currency_format($node->sell_price + $option->price); 76a78 > 165d166 < $node_type = node_get_types('type', $node); 167c168 < --- > 179a181,239 > > > /****************************************************************************** > * Theme Functions * > ******************************************************************************/ > > function phptemplate_cart_review_table($show_subtotal = TRUE) { > $items = uc_cart_get_contents(); > $subtotal = 0; > > $output = '| '. t('Qty') > .' | '. t('Products') > .' | '. t('Price') > .' |
| ' > . t('!qtyx', array('!qty' => $qty)) .' | ' > . $desc .' | '. uc_currency_format($total) > .' |
| .'colspan="4">'. t('Subtotal')
> .' '. uc_currency_format($subtotal) .' ' > .''. t('VAT:') > .' '. uc_currency_format($vat) .' ' > .''. t('Total:') > .' '. uc_currency_format($subtotal+$vat) .' ' > .' |