use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{TagGroupName} ||= "Sale";$this->out("\n<table border=0 cellpadding=0 cellspacing=1 class=atkMainTable>\n<tr><td class=atkHeader>$C->{TagGroupName} tag group</td></tr>\n<tr><td><table class=atkInnerTable cellpadding=4 cellspacing=3 width=100\%>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.id}</b></td>\n	<td class=atkEditorRight>Sale ID</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.thankLink}</b></td>\n	<td class=atkEditorRight>\"Thank you\" page link</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.descr}</b></td>\n	<td class=atkEditorRight>Description</td>\n</tr>\n");if ( ! $C->{INPUT}{dsimple} ) {$this->out("<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.specprice_descr}</b></td>\n	<td class=atkEditorRight>Special price description note</td>\n</tr>\n");}$this->out("<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.amount}</b></td>\n	<td class=atkEditorRight>Amount</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.amountMath}</b></td>\n	<td class=atkEditorRight>Amount in format 1234.00</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.amount_prod}</b></td>\n	<td class=atkEditorRight>Cost of the product</td>\n</tr>\n");if ( ! $C->{INPUT}{dsimple} ) {$this->out("<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.amount_discount}</b></td>\n	<td class=atkEditorRight>Discount amount</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.amount_tax}</b></td>\n	<td class=atkEditorRight>Tax amount</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.amount_shipping}</b></td>\n	<td class=atkEditorRight>Shipping amount</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.qty}</b></td>\n	<td class=atkEditorRight>Quantity</td>\n</tr>\n");}$this->out("<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.prod_id}</b></td>\n	<td class=atkEditorRight>Product ID</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.prod_title}</b></td>\n	<td class=atkEditorRight>Product title</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.order_id}</b></td>\n	<td class=atkEditorRight>Order ID</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.user_id}</b></td>\n	<td class=atkEditorRight>Customer ID</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.aff_user_id}</b></td>\n	<td class=atkEditorRight>Affiliate ID</td>\n</tr>\n");if ( ! $C->{INPUT}{dsimple} ) {$this->out("<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.aff_camp_id}</b></td>\n	<td class=atkEditorRight>Affiliate campaign ID</td>\n</tr>\n");}$this->out("<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.remote_ip}</b></td>\n	<td class=atkEditorRight>IP address</td>\n</tr>\n");if ( $C->{Admin}{privs}{master_customers_jvmsubs} ) {$this->out("<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.subscr_id}</b></td>\n	<td class=atkEditorRight>Subscription ID</td>\n</tr>\n");}$this->out("");if ( ! $C->{INPUT}{dsimple} ) {$this->out("");if ( $C->{Admin}{privs}{master_tools_coupons} ) {$this->out("<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.coupon_code}</b></td>\n	<td class=atkEditorRight>Coupon used (if any)</td>\n</tr>\n<tr>\n	<td class=atkEditorLeft><b>#{</b><b>$C->{TagGroupName}</b><b>.coupon_discount}</b></td>\n	<td class=atkEditorRight>Coupon discount (if any)</td>\n</tr>\n");}$this->out("");}$this->out("</table></td></tr>\n<tr><td class=atkEditorControl>&nbsp;</td></tr>\n</table>  \n");}