function uc_taxes_line_item in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_taxes/uc_taxes.module \uc_taxes_line_item()
Implementation of Übercart's hook_line_item().
File
- uc_taxes/
uc_taxes.module, line 100
Code
function uc_taxes_line_item() {
$items[] = array(
'id' => 'tax',
'title' => t('Tax'),
'callback' => 'uc_line_item_tax',
'weight' => 9,
'stored' => true,
'default' => FALSE,
'calculated' => TRUE,
'display_only' => FALSE,
);
$items[] = array(
'id' => 'tax_subtotal',
'title' => t('Subtotal excluding taxes'),
'callback' => 'uc_line_item_tax_subtotal',
'weight' => 7,
'stored' => false,
'calculated' => false,
);
return $items;
}