00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 $installer = $this;
00028
00029
00030 $installer->getConnection()->addColumn($this->getTable('sales_quote_address'), 'shipping_tax_amount', 'decimal(12,4) NULL');
00031 $installer->getConnection()->addColumn($this->getTable('sales_quote_address'), 'base_shipping_tax_amount', 'decimal(12,4) NULL');
00032
00033 $installer->getConnection()->addColumn($this->getTable('sales_order'), 'shipping_tax_amount', 'decimal(12,4) NULL');
00034 $installer->getConnection()->addColumn($this->getTable('sales_order'), 'base_shipping_tax_amount', 'decimal(12,4) NULL');
00035
00036
00037 $installer->addAttribute('quote_address', 'shipping_tax_amount', array('type'=>'static'));
00038 $installer->addAttribute('quote_address', 'base_shipping_tax_amount', array('type'=>'static'));
00039
00040 $installer->addAttribute('order', 'shipping_tax_amount', array('type'=>'static'));
00041 $installer->addAttribute('order', 'base_shipping_tax_amount', array('type'=>'static'));
00042
00043 $installer->addAttribute('invoice', 'shipping_tax_amount', array('type'=>'decimal'));
00044 $installer->addAttribute('invoice', 'base_shipping_tax_amount', array('type'=>'decimal'));
00045
00046 $installer->addAttribute('creditmemo', 'shipping_tax_amount', array('type'=>'decimal'));
00047 $installer->addAttribute('creditmemo', 'base_shipping_tax_amount', array('type'=>'decimal'));