You are here

function uc_taxes_save_line_item in Ubercart 5

Preserve each tax line item for future use.

1 string reference to 'uc_taxes_save_line_item'
uc_taxes_entity_info in uc_taxes/uc_taxes_workflow.inc
Implementation of hook_entity_info().

File

uc_taxes/uc_taxes_workflow.inc, line 173
This file contains the Workflow-ng hooks and functions necessary to make the tax related entity, conditions, events, and actions work.

Code

function uc_taxes_save_line_item($line_item) {
  $_SESSION['taxes'][$line_item['id']] = (array) $line_item;
}