Subversion Repositories wpShopGermany4

Rev

Rev 7706 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7706 Rev 7717
Line 7... Line 7...
7
     */
7
     */
8
 
8
 
9
    $view = $this->view['wpsg_mod_printshop'];
9
    $view = $this->view['wpsg_mod_printshop'];
10
 
10
 
11
    // 150,55 m x 1,5 m = 225,83 m²
11
    // 150,55 m x 1,5 m = 225,83 m²
12
    $strOut = wpsg_ff($view['width'], $view['unit_price'], true, 0).' x '.wpsg_ff($view['length'], $view['unit_price'], true, 0).' = '.wpsg_ff($view['area'], $view['unit_price'].'²');
12
    $strOut = wpsg_ff($view['width'], $view['unit_input'], true, 0).' x '.wpsg_ff($view['length'], $view['unit_input'], true, 0).' = '.wpsg_ff($view['area'], $view['unit_price'].'²');
13
 
13
 
14
    // (1 m² ≅ 1,00 EUR)
14
    // (1 m² ≅ 1,00 EUR)
15
    $strOut .= '('.wpsg_ff($view['price_onepice'], $this->get_option('wpsg_currency').' / '.$view['unit_price'].'²').')';
15
    $strOut .= ' ('.wpsg_ff($view['price_onepice'], $this->get_option('wpsg_currency').' / '.$view['unit_price'].'²').')';
16
 
16
 
17
    echo wpsg_pad_left(__('Größe:', 'wpsg').' ', 12); ?><?php echo $strOut; ?>
17
    echo wpsg_pad_left(__('Größe:', 'wpsg').' ', 12); ?><?php echo $strOut; ?>