/** * _tax_row * * @param EE_Line_Item $line_item * @param array $options * @return mixed */ protected function _tax_row(EE_Line_Item $line_item, $options = array()) { // start of row $html = EEH_HTML::tr('', 'admin-primary-mbox-taxes-tr'); // name th $html .= EEH_HTML::th($line_item->name() . '(' . $line_item->get_pretty('LIN_percent') . '%)', '', 'jst-rght', '', ' colspan="3"'); // total th $html .= EEH_HTML::th(EEH_Template::format_currency($line_item->total(), false, false), '', 'jst-rght'); // end of row $html .= EEH_HTML::trx(); return $html; }